28377D在线dubug的时候出错

用的CCS6.1.3,仿真器用的是XDS100V3,第一次点击connect时,提示如下:

IcePick_C_0: Error connecting to the target: (Error -151 @ 0x0) One of the FTDI driver functions used during the connect returned bad status or an error. The cause may be one or more of: no XDS100 is plugged in, invalid XDS100 serial number, blank XDS100 EEPROM, missing FTDI drivers, faulty USB cable. Use the xds100serial command-line utility in the 'common/uscif' folder to verify the XDS100 can be located. (Emulation package 6.0.222.0) 

拔掉和PCB板连接的插头,再插上,连接正确,可以烧写程序,然后运行,过一会就自动断开,提示如下:

C28xx_CPU1: GEL Output:
Memory Map Initialization Complete
C28xx_CPU1: Error: (Error -154 @ 0x0) One of the FTDI driver functions used to write data returned bad status or an error. (Emulation package 6.0.222.0)
C28xx_CPU1: Unable to determine target status after 20 attempts
C28xx_CPU1: Failed to remove the debug state from the target before disconnecting. There may still be breakpoint op-codes embedded in program memory. It is recommended that you reset the emulator before you connect and reload your program before you continue debugging

请问下,这是什么问题呢?需要怎么改善呢?谢谢了!

8 个回复