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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

2,125 次查看
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

标签 (1)
标记 (1)
2 回复数

2,057 次查看
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,057 次查看
rajkumar_yerraj
Contributor II

Hi Felipe,

Thanks alot. It worked by unlocking it.

-Rajkumar

0 项奖励