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.

LAUNCHXL-F28P55X: ECC Error.

Part Number: LAUNCHXL-F28P55X

Hello Everyone,

I am working on custom bootloader development in TMS320F28P55x MCU. I developed bootloader code & load Application code using that bootloader code. I cross verify the flash memory location where the code is load. Now the issue is that even code flashed at correct location it not executing. 

but when i flashed same application using CCS & jump to that application address using vector offset & reset handler. It jumps & start executing normally.

when i flashed same code using custom bootloader & jump to that same application address using same vector offset & reset handler it is not working. I don't know why.

 

I also checked ECC in both case. ECC found almost simmilar except last  four words of ECC data for an example Case: 1 when flashed by CCS --> ECC (last 4 words)  FFBB FFFF FFFF FFFF 

when flashed by custom bootloader --> ECC(last 4 words)    14BB FFFF FFFF FFFF

 

does a small mismatch in ECC could lead to error and do not run the application code. 

I used Fapi_issueAutoEcc512ProgrammingCommand () to program flash

  • Hello,

    does a small mismatch in ECC could lead to error and do not run the application code. 

    Yes, a double bit ECC error is uncorrectable will result in an NMI.

    When flashing your application, are the last 64 main array flash bits corresponding to the erroneous ECC bits correctly programmed? Are you always passing a 512-bit aligned address to the Flash API program command?

    Best,

    Alex