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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

5,845 次查看
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

标签 (1)
标记 (1)
0 项奖励
8 回复数

1,135 次查看
fairy
Contributor I

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

0 项奖励

1,135 次查看
vic_elec
Contributor I

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

0 项奖励

1,135 次查看
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 项奖励

1,135 次查看
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 项奖励

1,135 次查看
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 项奖励

1,135 次查看
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 项奖励

1,135 次查看
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 项奖励

1,135 次查看
cimbom
Contributor I
does anybody have a solution for this problem?

please help :smileysad:
0 项奖励