This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28379D: Cannot be Flashed or Debugged with XDS110

Part Number: TMS320F28379D


Hello,

I am having significant issues trying to flash my code from CCS to my device using the XDS110 JTAG probe. My configuration matches that of the datasheet (page 71, figure 8-9) except for a few minor changes which I have marked in red in the schematic at the bottom of this post.

RAM:
When I try to program RAM, the code appears to be loaded onto RAM at first, I get the messages:  , and I see pop up messages that flash has been erased and program loaded. I can step through most of the code, but at some point (not the same line in the code every time, and sometimes when I am just halted on a breakpoint), the debug session aborts and I get this message from the debug probe:  . Note that this program is just for CPU1. 

FLASH:

When I try to load the program to flash, I get a whole slew of errors:

Note that boot pins 72 and 84 are left floating. This shouldn't matter since I'm using JTAG.

I have probed TRST; it is being pulled high, and when I'm in debug mode I have some initial success with pulling a GPIO high; however once the debug probe reports the error I have seen erratic behavior on this pin -- sometimes it stays high, other times it goes low, other times it ends up somewhere in between. I have also tried a different debug probe and had similar issues. Additionally, I have tried loading this program onto multiple boards, so I can confirm it is not a singule defective chip issue.

Any help would be greatly appreciated.

  • Hi,

    however once the debug probe reports the error I have seen erratic behavior on this pin -- sometimes it stays high, other times it goes low

    This is not good. TRST pin need to be high all the time. I suspect there is some noise coupling on this pin due to other signal on the board. You need to review the schematic for the same and make appropriate correction to resolve this.

    Regards,

    Vivek Singh