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/TMS320F28377S: tms320f28377s

Part Number: TMS320F28377S

Tool/software: Code Composer Studio

Hello,

 i am working in embedded flash update of application. I create a bin file from the generated coff file in code composer. the binary file is limited to flash sectors from L to N. it works well. flash operation is successful and restart of the program also. to ensure robustness of the process, i corrupted the file by changing one byte in the binary file (at the end of the file). the changed data is where there is nothing written and "normal" data should be FF. when I download this corrupted file, the application falls in illegal isr when restarting. I do not see any error in flashing, ECC or something else...

can someone help on this issue?

regards,

Olivier

  • Olivier,

    ITRAP occurs when an illegal instruction is fetched. Make sure you are corrupting an unused location.
    May be you can try it in another unused sector since you are using only sectors L to N.

    Thanks and regards,
    Vamsi
  • Hi Vamsi,

    thank you very much for your answer. your idea was good and it helped me to solve the problem. I tried same test on another sector and the situation was safe (as I expected). I found I make a stupid mistake... I corrupted a file already corrupted that trapped the illegal isr even without the wrong data in the flash memory!

    now I can corrupt my file and the software is safe.

    thank you very much for your help.