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.

TMS320F28P650SK: Global variable offset wrong

Part Number: TMS320F28P650SK
Other Parts Discussed in Thread: C2000WARE

Tool/software:

Hi Expert

Customer uses SCI boot to program the firmware into flash, the issue happens sometimes when they use Fapi to write the RAM data into flash:

He claims 2 variables U16_CodeBuffer (global variable address 0xEACD) tempBuf (local variable).

When he uses Flash_programUsingAutoECC(uxWriteFlashAddr, U16_CodeBuffer, usBlockLen), he find the U16_CodeBuffer address is 0xEACD but the first flash address 0x80000 is programed with  0xEACC address data.

When he uses Flash_programUsingAutoECC(uxWriteFlashAddr, tempBuf , usBlockLen), the issue won't happen.

I cannot reproduce the issue with C2000ware demo. Is there anything I need to check for this issue?

Thanks

Joe