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