I need help urgently.
while I was playing with the TWR board of K60, I was stuck on "SECURE".
Now when I try to erase the flash tells me he can not remove the "secure".
How can I fix it
Maurizio
try to ulock using the j-link command line
thanks lukas,
I'm with CodeWarrior multilink
Where are the j-link command and how future use.
Must be used with j-tag?
Maurizio
i unlock it by the IAR j-link.
I dont know how to unlock it with your tool.
possible that there is no way to unlock the micro with CodeWarrior
Maurizio
Hi,
there is a way to unlock it.
Refering to a service request from me:
"If chip secured, there need to use mass erase way to unsecure this chip."
1. Download
"CW_MCU_V10_1_EXAMPLES: CodeWarrior MCU 10.1 Software Examples.. "
2. open "Hello World" example in Codewarrior
3. Click on the Bolt icon - "Flash File to Target"
4. choose your target and configuration
5. Erase Device
Best Regards, Philip
--
and yes...only with JTAG / OSJTAG
This method of erasing worked very well to erase the device, but the PE Micro driver with CW still seems to say that the device is secure. Oddly enough, IAR has no problems writing to the device.
What I can't understand is why CW isn't implementing my flash programmer task even when I have it set to execute!
In the end, I hooked a Kwikstik up as a Jlink programmer (removing R113 to prevent the reset line being pulled down) and unsecured the device that way. The Jlink offers many more available options than the PE Micro.
thanks,
but unfortunately does not work.
Always ask me to remove the block, but then fails.
Maurizio
Dear Microfelix,
The Kinetis devices have an option to be permanently secured ie. It is not possible to unsecure the device even with a mass erase Depending on how you secured the device it is possible that this is the situation. It depends on what value is programmed to the security locations.
Refer to this post for some more description:
https://community.freescale.com/thread/77368
or search the forums for "secured kinetis" for some more discussion.
You can also try the following but it will only work if you have not permanently secured the device:
If this doesn't work I suspect the device is permanently secured.
Bye
Hello
Thanks for the reply.
He had read the posts around the forum where they said that it was necessary to replace the micro provable.
What worries me is how I came to lock it.
I have absolutely no set, I just (wrongly) that the flash programmed via the "flash files to target" thinking that it would do so. Since then, it did not work anymore.
In fact I did not think that is absolutely irreversible Kinetis had this feature.
Now I know.
Then I read some 'documentation around and I figured out how to program the Task Kinetis through.
Maurizio
yes, It was also very strange for me to solve this problem - it is splodge on Kinetis
okay so the Freescale service request has failed
I haven't testet this solution, it was another problem on my side.
So perhaps the only way is a J-Link from Segger or this one below.
I hope my K60 will never fall into this state, I dont have those tools either
My advice: Try a Service Request @Freescale
Regards