cancel
Showing results for 
Search instead for 
Did you mean: 

Legacy Microcontrollers

ToVa_1580951
New Contributor

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

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
New Contributor

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

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

0 Likes