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.

TMS320F280025C: code run well in emulation mode but fail in standalone mode

Part Number: TMS320F280025C


Hi Team,

My customer got an issue that the code can run well in emulation mode but fail to work in standalone mode, the hardware are using F28002c controlcard, and in software there is a led blinking to indicate whether the code run well.

when debug connecting to CCS, then everything is ok, but when disconnect the ccs and run from flash, sometimes it did not work and the led is not blinking.

when fail to work in standalone mode, reconnect to CCS, and find the code run to unknow region:

in the code, there is an array TraData[TRA_INFORMATION_NO] defined, if TRA_INFORMATION_NO =100, then it have this issue, but if set TRA_INFORMATION_NO to 10, then there is no this issue even run from flash without connecting CCS.

Also, in the main function call a DEVICE_DELAY_US(10) function, if remove this function, then everything is ok even TRA_INFORMATION_NO =100.

in the memory map it seem there is no conflict between the code DEVICE_DELAY_US and the array TraData, I attached the code below, Could you help take a look at and suggest how to fix, Thankshttps://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/171/led_5F00_ex1_5F00_blinky.7z