How to solve the error "Fatal error- Failed to read CPUID for Cortex device" for MK60FN1M0VLQ12 controller ?

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

How to solve the error "Fatal error- Failed to read CPUID for Cortex device" for MK60FN1M0VLQ12 controller ?

2,075 Views
rajkumar_yerraj
Contributor II

Hi,

I am getting an error "Fatal error- Failed to read CPUID for Cortex device" when i try to program the controller using IAR embedded work bench. Before programming, i erased the controller memory by clicking Erase Memory in IAR Workbench.

IAR Embedded Workbench -> Project Settings -> Download ->Erase Memory.

After this erase, i am unable to program anything in to the controller. if i try to program, i am getting this error like "Failed to read CPUID for Cortex device."

Tools I am using

IDE: IAR Embedded Workbench

Debugger: Segger J-Link Base

Controller: MK60FN1M0VLQ12

Please let me know, how to solve this issue as early as possible.

Thank you.

-Rajkumar

Labels (1)
Tags (1)
2 Replies

2,007 Views
FelipeGarcia
NXP Employee
NXP Employee

Hello Rajkumar,

 

Could you please try to unlock the device by using J-Link commander? Please refer to the following link.

https://community.nxp.com/thread/458914 

 

Best regards,

Felipe

2,007 Views
rajkumar_yerraj
Contributor II

Hi Felipe,

Thanks alot. It worked by unlocking it.

-Rajkumar

0 Kudos