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.

Error occurs trying to erase Flash sector N using TI's example project on concerto F28M35

Hi everyone,

I am trying to erase flash and rewrite it to do program field upgrade. I start with TI's example code named "flash_programming_m3" on my custom board of F28M35 and the IDE is CCS6.1.3. 

In the example, It erase sector L and sector K with no problem. But I need to start with sector N which lie in the front of flash memory to get my code running there. 

I modified the example project to erase sector N and got the error below.

"Cortex_M3_0: Can't Run Target CPU: (Error -1268 @ 0x1090001) Device is locked up in Hard Fault or in NMI. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 6.0.222.0) "

It also stopped in some file as shown in the picture below


Could you give me some advise about how to fix the problem? Should I copy some code in sector N to run in RAM? I turn around here for many days.

Regards

/*here is the project I used to test*/

M3_online_upgrade.zip