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.

CCS/TMS320F28379D: Project based upon adc_epwm in C2000 example projects no longer allows for debugging

Part Number: TMS320F28379D

Tool/software: Code Composer Studio

Hello,

I am having a difficult problem.  I had used the adc_epwm project to create a custom project that allowed for both RAM and Flash-based debugging.  Everything seemed to be working just fine last week; however, a co-worker of mine reported that he was having trouble running the code.

When I connected to the development board to try to help, I found that I could not JTAG.  The error I am getting states:

Error connecting to the target:
(Error -2131 @ 0x0)
Unable to access device register. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK).
(Emulation package 7.0.188.0)

And, there is just a solid green light on the development board (D4).  It's as if the development board is "bricked".  What am I doing or did I do wrong?  

Thank you,


Noah

  • Hi Noah,
    Assuming he gets this error immediately when trying to connect to the target, this is likely a symptom of some low level (HW) connectivity issue. Please see the below link for more details and suggestions:
    software-dl.ti.com/.../ccsv7_debugging_jtag_connectivity_issues.html

    Thanks
    ki
  • Ki,

    Thank you for getting back with me!

    I have verified all of the hardware connectivity, and my Windows driver see the enumeration of the JTAG as "XDS100 Class". I strongly suspect that this has to do with my attempting to debug in Flash.

    The Boot switches on the board are all set to the ON position. Is there a way to erase the Flash and try a fresh load. This may return me to where I am presently, but at least I could eliminate some of the error-causing possibilities.

    Thank you,

    Noah
  • What is the result of the JTAG connectivity test?
    dev.ti.com/.../
  • This is so strange.  I let the board sit overnight, unplugged, and now things seem to be working.  

    Yesterday, while trying to figure this out, I would unplug the board, change the S1 switch configuration, plug the power back in.  Would this have anything to do with it?  

  • Noah Madinger16 said:
    Yesterday, while trying to figure this out, I would unplug the board, change the S1 switch configuration, plug the power back in.  Would this have anything to do with it?  

    Good ol' "unplug it and plug it back in" :) 

    This can help. Perhaps it was not initially enumerated and an unplug/replug would let it re-enumerate. 

    Also regarding S1 - you would need to make sure it is in emulation boot mode setting to connect with the debug probe 

    Thanks

    ki