Unsecuring the S12X device using Softec's InDart debugger

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Unsecuring the S12X device using Softec's InDart debugger

2,057 Views
RChapman
Contributor I
This message contains an entire topic ported from a separate forum. The original message and all replies are in this single message. We have seeded this new forum with selected information that we expect will be of value to you as you search for answers to your questions.
 
Posted: Mon Sep 19, 2005 7:31 am    
 
Hello,

Using the BDM programmer (Softec's InDart HCS12 tooling) , my S12X device arrived in secured state, probably due to a supply dip during the programming sequence.
Consequently we cannot download code anymore to its internal flash.
Does anyone know if there is an easy way to unsecure the device using the debugger ?

many thanks in advance.

Posted: Mon Sep 19, 2005 9:41 am    
 
There is a utility describing this in the download area
 
Posted: Thu Sep 22, 2005 9:56 am    
 
The device protection is controlled by the FLASH location $7F_FF0F which determines the MCU secure state at reset. The first two ls-bits of that byte must be set to "10" (binary) to leave the protection off. If the protection gets activated, the only possible BDM command is a MASS-ERASE. inDART always programs this location to "0xFE" as long as the user leaves it empty.

Regards,
Labels (1)
0 Kudos
0 Replies