Dear sir
I want to encrypt the MCU of 56f84789 in PE of codewarrior 10.4, if 56f84789 is locked and I want to reload program to it, what can I do? how can I encrypt and decrypt 56f84789 in PE of codewarrior 10.4? thank you very much.
Best regards.
guo chunhua
Hello guo
You can unlock the flash by mass erase operation by CodeWarrior.
CodeWarrior 10.4 is an old version, please update to v10.6.4.
In Eclipse CodeWarrior v10.6.4, please create a target task for DSC Flash Programmer, and add the mass erase operation as below:
Or just download a new program into the MCU, and select ‘yes’ when debugger asks whether erase to unsecure.
In the CodeWarrior project with PE, to disable the flash security, please open CPU component, and go to ‘Internal peripheral ->Flash configuration field”.
Best Regards
Fiona Kuang
TIC - Technical Information Center
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Mark Correct button. Thank you!
-----------------------------------------------------------------------------------------------------------------------