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.

TMS320F28335: Using CCS to download the program failed

Part Number: TMS320F28335
Other Parts Discussed in Thread: C2000WARE, TMDSCNCD28335

Tool/software:

Hi E2E,
When we use XDS100V3 to burn the F28335 program, we can compile and burn successfully at first.
Later, after modifying some code, there was no problem in compiling, but when burning to IC, it always reported an error, prompting the following figure:

Please help to see what is the reason?

  • Hi Tommy,

    What version of CCS are you using? Can you also let us know what version of C2000Ware you are using. 

    Can you confirm if you can program other examples from C2000Ware.

    Please also confirm that the correct pins and switches have been configured for your application. See the c2000ware\boards\controlCARDs\TMDSCNCD28335\F28335_controlCARD_InfoSheet.pdf document that your device is configured correctly.

    Regards,

    Ozino

  • Hi ,

    I checked the CCS software and it says V10.0.1 

    And I have launched this Emupack:

    software-dl.ti.com/.../full

    By the way, where can I get the F28335_controlCARD_InfoSheet.pdf document you mentioned?

    Thanks

  • Hi Tommy, 

    You can get the document in our C2000Ware SDK. https://www.ti.com/tool/C2000WARE 

    If you are able to I would recommend updating to our latest CCS installation for up-to-date device support.

    Can you confirm what EMU pack you have launched? I'm not able to access the link in your previous post.

    Did you have a change to see if you can program and debug one of our many examples in C2000Ware?

    Regards,

    Ozino

  • Hi E2E:

    Thanks for the support. We went over the tests a few more times and found nothing wrong.

    We tried to reset the FLASH content and state, then try re-burning succeed.

    We suspected that it was caused by the program interruption when debugging the chip online before.

    By the way, our CCS version is V10.1.1.

    We ran into a new problem that : during debug, we discovered that we could only set two free debug breakpoints.

    Does this version of CCS and XDS100V3 support setting more than two debug breakpoints when debugging F28335? How do you change this breakpoint setting?

    At the same time, when we set a new breakpoint combination, we need to reset the MCU core state to execute it. Is this correct? Is there another way to do this directly?

    BR

  • Hi Tommy,

    Thanks for your patience over the holidays.

    With regards to the number of breakpoint available, it should be noted that 

    C28x devices have two analysis resources available at a time. One resource can be used as a hardware breakpoint, watchpoint, or counter. The other one can be used as a hardware breakpoint or watchpoint.

    So when working with hardware breakpoints, there is a limit of 2 hardware breakpoints. See the below document for more information on breakpoints/wathcpoints.

    https://software-dl.ti.com/ccs/esd/documents/ccs_breakpoint_watchpoint_c2000.html 

    Regards,

    Ozino