MC56F8323: "Unable to debug.Flash security is enabled."解决办法
(1)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
2)
3)
remote debugging->JTAG clock speed->500(factory setting is 8000)
文章评论(0条评论)
登录后参与讨论