USE Security Flash Magic Programing Error

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

USE Security Flash Magic Programing Error

1,067 Views
xiabin
Contributor II

I USE Cyclone LC  Program the flash.  The MCU is KEAZ128,  when i use the  Security function.

 
 

新建位图图像 (2).bmp

the security data = 0xBF;

the program is error , Cyclone LC display the 4003 err  As shown below:

新建位图图像.bmp

 

 

 

 

'

 

If i don't use the security function(security data = 0xBE), The program is ok.

 

I  Set the Cyclone LC , delete the verify checksum.the program is ok.

1602150378(1).png

 

I want to know if my operation is correct and if there is a risk,?

I use the MCU S9KEAZN32 also use the security function, but it don't have the Error. why?

thank you!

 

 

 

0 Kudos
7 Replies

1,005 Views
Alexis_A
NXP TechSupport
NXP TechSupport

Hello @xiabin,

I think the reason of this error is this section right here:

Alexis_A_0-1602786454565.png

The left one is the KEA128 and the right is the KEA32.

This command mention that will unsecure the device but the 4002000B address doesn't match with the protection register. Try changing it for the one in the KEA32.

Best Regards,

Alexis Andalon

 

0 Kudos

990 Views
xiabin
Contributor II

 新建位图图像.bmp

 

HI:

      I edite the s9keaz128's arp file  like the picture.   but the error is same

0 Kudos

958 Views
Alexis_A
NXP TechSupport
NXP TechSupport

Hello @xiabin,

Could you try using any of the other two algorithms?

freescale_keaz128m4_pflash.arp

freescale_ke06z128m4_pflash.arp

Best Regards,

Alexis Adnalon

0 Kudos

952 Views
xiabin
Contributor II

I USE freescale_keaz128m4_pflash.arp ,The Error is same

0 Kudos

942 Views
Alexis_A
NXP TechSupport
NXP TechSupport

Hello  @xiabin ,

I will suggest contacting PEMicro support to check if they have some insight into this issue.

Best Regards,

Alexis Andalon

0 Kudos

1,028 Views
Alexis_A
NXP TechSupport
NXP TechSupport

Hello @xiabin,

I think this last instruction is trying to access the memory when is secured so that's the reason this command is failing, the error code mention that the operation failed or was canceled.

Alexis_A_0-1602692171146.png

The strange thing is the SKEA32 pass this instruction correctly, are you using the same script?

Best Regards,

Alexis Andalon

0 Kudos

1,016 Views
xiabin
Contributor II

KEAZ.bmpkeazn.bmp

the clclone  lc  setting in  S9KEAZ128 and S9KEAZN32 .  the other setting is same 

0 Kudos