i am stuck..
I am trying to program a TWR-K60F120M, but something is wrong
the program has worked on the board, but now i can't flash program it..
when i try to program it i get this error:
Error: Program with Verify failed. Flash driver reports the following error(s): Irreversible secure detected
I can erase the board and blank check it,
The error comes after this:
Downloading 0x0000073F bytes to be programmed at 0x00000000
Executing program ....
It is CW 10.2 i am using..
I really hope someone have an idea to solve this problem
Hello,
please have a look if you enabled secure and mass erase disable in your program/application. Here is a post about this for the KL25Z, but applies to any Kinetis (the addresses might be different, check your microcontroller manual):
Everything indicates the mcu has been blocked and you will not be able to erase / program it. This might have happened if you programmed a wrong value in the flash security byte from the flash configuration field (address 0x40C), however CodeWarrior 10.2 it will warn you if you try to program a value at this address that would secure the flash irreversibly.
There is a chance you can still unlock it but I cannot assure it will work, the process is performed using a J link segger programming interface, and the J link commander software utility, you can download the J link commander from the following link:
http://www.segger.com/jlink-software.html
Hello,
have a look at Unsecuring the KL25Z Freedom Board | MCU on Eclipse
Maybe this is your problem? The above page contains as well a link to a patch which should solve your problem.
unfortunately i still get the error after trying the link Unsecuring the KL25Z Freedom Board | MCU on Eclipse, maybe it is because i am using CW10.2.
It looks like it is address 0x40C where the problem is because when i try to flash program a larger program errors occur: Error: Program with Verify failed. Flash driver reports the following error(s): Irreversible secure detected, and
Error: Program with Verify failed. Flash driver reports the following error(s): Chip reported error during program. Pleasecheck that the sector you are programming is erased.
I allways erase before program.
Thanks