encryption

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

encryption

651 Views
guochunhua
Contributor II

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

Labels (1)
0 Kudos
1 Reply

525 Views
TICS_Fiona
NXP Employee
NXP Employee

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:

FP_mass erase.png

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”.

flash security.png

Best Regards

Fiona Kuang

TIC - Technical Information Center

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Mark Correct button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos