Unlocking flash after security is enabled.

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
ToVa_1580951
Level 1
Level 1
5 replies posted 5 questions asked First reply posted

Hi,

   

I need to re-flash devices which have the security activated. How can I erase the flash of an MB9BF321K after I have set the security to active (0x00100000 to 0x0001)? 

   

Segger J-Link isn't capable of erasing it. The SWD interface seems to be blocked completely by this security feature.

   

The USBDirect software has the erase functions disabled. From older screenshots it seemed that this function was available before but now has been removed for some reason...

   

Any ideas?

0 Likes
3 Replies
HolgerW_56
Employee
Employee
25 solutions authored 10 sign-ins 5 sign-ins

A secured device cannot be accessed via JTAG. Otherwise this would be a security hole.

   

You have to use the Burn-In ROM bootloader features, by using the tools USB direct programmer or MCU Flash Programmer.

   

On both, you have to connect first (button download) and then Erase. After Erase you have to perform Erase.

   

If you do not see enabled the erase button, then you have not connected by using the download buton (download referes to downloading a kernel that is needed)

   

regards,

   

Holger

0 Likes
ToVa_1580951
Level 1
Level 1
5 replies posted 5 questions asked First reply posted

Hi Holger,

   

thanks for the info. I've figured it out what I was doing wrong. Reseting the device during this process seemed crucial. This while leaving the power on the module and the bootloader activated.

   

 

   

Gr.

   

Tom

0 Likes
HolgerW_56
Employee
Employee
25 solutions authored 10 sign-ins 5 sign-ins

Thanks for the feedback. Happy to read that it works now. #Holger

0 Likes