MCUXPresso debugging issues

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

MCUXPresso debugging issues

跳至解决方案
2,775 次查看
nxf53819
NXP Employee
NXP Employee

Hi,

 I have encountered some issues while debugging in MCUXPresso with the LPC Link 2.

The problems occurred on Windows 10 with the MCUXPresso versions 11.0.0 and 11.0.1.

This is the error I get: "Em(01). Cannot find MEM-AP selected by core index (check target power)"

The complete error log is below:

error.PNG

I have got the same result with different LPC Link 2 debuggers and different boards.

Sometimes a reset (Windows restart, disconnect board and LPC-Link2, importing the project again in a new workspace) helps but most of the time it does not. And even if it works, after 1 debugging process it is back to the same issue again.

BR,

Simon

0 项奖励
回复
1 解答
2,597 次查看
Alexis_A
NXP TechSupport
NXP TechSupport

Dear Simon,

I will suggest to change the LPC-Link2 firmware from CMSIS-DAP to J-Link. After this use the J-Link console and try to connect to your MCU using this console. Check the commands bellow:

pastedImage_1.png

Best Regards,

Alexis Andalon

在原帖中查看解决方案

4 回复数
2,597 次查看
nxf53819
NXP Employee
NXP Employee

Hi,

The number on my MCU is: MKL28Z512VLL7 1N52N

Regards,

Simon

0 项奖励
回复
2,598 次查看
Alexis_A
NXP TechSupport
NXP TechSupport

Dear Simon,

I will suggest to change the LPC-Link2 firmware from CMSIS-DAP to J-Link. After this use the J-Link console and try to connect to your MCU using this console. Check the commands bellow:

pastedImage_1.png

Best Regards,

Alexis Andalon

2,597 次查看
nxf53819
NXP Employee
NXP Employee

Dear Alexis,

I have programed the J-Link firmware onto my LPC-Link 2 and now everything seems to work again.

Thank you very much.

Best Regards,

Simon

0 项奖励
回复
2,597 次查看
lpcxpresso_supp
NXP Employee
NXP Employee

Hi Simon,

Sorry for the inconvenience. One detail you left missing is the Kinetis MCU part number and revision.

Thanks and regards,

MCUXpresso Support

0 项奖励
回复