MC56F8323: "Unable to debug.Flash security is enabled."Message?

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

MC56F8323: "Unable to debug.Flash security is enabled."Message?

5,790 Views
DoktorLekar
Contributor I

When I run debug in processor expert this message appears.
"Unable to debug.Flash security is enabled."
MCU MC56F8323...
How to fix this problem?

Thanks!

(Alban put device in subject)

Message Edited by Alban on 2006-12-14 04:34 PM

Labels (1)
Tags (1)
0 Kudos
8 Replies

1,080 Views
fairy
Contributor I

remote debugging->JTAG clock speed->500(factory setting is 8000)

0 Kudos

1,080 Views
vic_elec
Contributor I

Hello everyone, Although I follow all the methods, the problem still remains, Can any one tell me why

0 Kudos

1,080 Views
fairy
Contributor I

I have the same problem. accodoring to above method, i still have other problems.

so, I logout my computer, and it's ok!!

who can explain this phenomenon?

0 Kudos

1,080 Views
DannyM83
Contributor III
The MCU’s Flash Security seems to have been enabled, this is done to prevent unauthorised access to the contents of flash. There are two ways to unsecure the flash: using Back Door Access or by performing a mass erase. The latter requires an 8byte password to be set before the device is secured and since this is unlikely in this case, the only option is to mass erase the flash.

To do so you should use the enable the recovery command “unlock_flash_on_connect 1” in CodeWarrior in the memory configuration (.cfg) file.

More info can be found on page 100 of the Data Sheet:

Link

Danny
0 Kudos

1,080 Views
DoktorLekar
Contributor I
Thanks man for your support , but the problem was hardware related...
 

 

Message Edited by Doktor Lekar on 2006-10-1712:57 PM

0 Kudos

1,080 Views
admin
Specialist II

I have the same problem. If i uncomment "unlock_flash_on_connect" line in .cfg file i have following message - CCSProtocolPlugin : Failed to erase flash. It seems like MCU's core doesn't respond to a debugger. But there is activities on all lines of JTAG - TDI, TDO, etc. Is there documents where i can see timing diagram JTAG exchange? Or maybe there are any ideas.

 

(Alban put device in subject)

Message Edited by Alban on 2006-12-14 04:35 PM

0 Kudos

1,080 Views
cimbom
Contributor I


now I know how to fix it (see Attachment)

 

flash_unlock.jpg

Message Edited by t.dowe on 2009-09-04 12:34 PM
0 Kudos

1,080 Views
cimbom
Contributor I
does anybody have a solution for this problem?

please help :smileysad:
0 Kudos