I got a problem about the flash programming.
I made a test project referred from a FLASH_Example of EAR SDK 0.8.2 and then I executed debug mode on step by step procedure to verify an operation I expected.
After finishing debugging, an error message is displayed whenever I download new .elf to the EVB.
I think that I made a mistake when I use a flash command for partition or program with secure key...
you can refer to below error message I saw. please let me know how can I solve this problem.
Verifying object file CRC-16 to device ranges ...
block 00000000-0000610F ...
Error! CRC Command Timed Out
Command is inactive for this .ARP file.
Error Erasing flash of device
Error occured during Flash programming.
This is a know issue of the Flash example and it will secure the device.
To make the board usable you need to perform a mass erase of the chip. Open the PEMicro debug configuration and select "Emergency Kinetis Recovery using mass erase" in Debugger tab. This will perform the required mass erase and will make the board flashable again.
This method is working for re-program, and if for Bootloader , how to fix the issue, when update application successful 1st time and found update failure for the rest time?
Do you have solved this issue? I am in the same situation. I am using the bootloader described in AN12218. When I send via UART and load for the first time the application then it works, but when I send via UART the new updated application then it does not work. I verified that the program counter is always correctly inizialized with the adress of the application to run.
How can I solve this issue?
Thank you to who can help me.
I have the same problem after an unlucky erase block command in my code.
The chip can't be programmed or erased.
Check the emergency option doesn't work.
I don't know how an erase command can stuck the chip.
Indeed, 0b11 on FSEC->SEC protect the chip but 0b11 on FSEC->MEEN enable the mass erase.
Because mistakes never happen alone, i stuck two boards like this. I need help!