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/TMS320F28069: Code works with debugger !

Part Number: TMS320F28069

Tool/software: Code Composer Studio

We have a curious issue. When using the debugger, things are as expected. When not using the debugger, it appears like SCI characters are not being received.

SCI characters are being transmitted, as we can see responses from the DSP..

Any suggestions? Thanks,

  • The golden rule when booting stand-alone (i.e. from Flash) is to ensure that the program does not require anything pre-loaded/initialized in RAM for it to function. Any initialized data in RAM should be coming from flash and the runtime C libraries will take care of this before program reaches main(). Inspect your map file for all the sections that are being loaded into RAM and see if there are initialized locations for program to function. If yes, then they need to be moved to flash into a .cinit section. Similar to the RAMFUNCS sections for which the main code does a memcpy(), which is for any function that need to be run from RAM, there will be a copy for the initialized data as well. The following post gives more insights: e2e.ti.com/.../2408221
  • Outstanding. Thanks !