Device is secure,erase to unsecure

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

Device is secure,erase to unsecure

1,969 Views
jefryjohn
Contributor I

I'm using KM34Z128CLL5 controller and working on IAR workbench ,While dumping code I'm getting an error "Device is Secure,Erase to unsecure" for few brand new controllers ,but in most others with the same circuitry and controller its getting dumped perfectly.What do you say the problem might be?The Hardware and connections are perfectly alright. Please help me in sorting out this problem.

0 Kudos
Reply
1 Reply

1,656 Views
MarMi
NXP Employee
NXP Employee

Hello John,

I have tried with MKM34Z256 MCU using Multilink Universal & IAR 7.50.1 seeing no issue. Note however that debug window asked also for entering an exact device so perhaps that might be root-cause of your problem.

debug.jpg   

In bare-metal drivers for MKM device family you can enable security by defining BOOT_FLASH_SECURE constant in an appconfig.h header file. This definition has no impact if code is flashed to the device for the first time.

Kind regards,

Martin M.

0 Kudos
Reply