Debugging with P&E micro on a K66F

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

Debugging with P&E micro on a K66F

跳至解决方案
4,667 次查看
PJay
Contributor II

Hello,

I am trying to use a P&E Micro Multilink Universal to debug on a K66F target utilizing a Windows 10 PC and MCUXpresso. I have successfully debugged using the JLink debugger through the USB to this target.

Unfortunately, I have not been successful debugging with the P&E Micro.

I am using the shell example to debug. 

I updated the P&E Micro Universal firmware. It is a Rev B. 

In MCUXpresso IDE v11.3.0 [Build 5222] [2021-01-11], I added the P&E Micro software with Help>Install New Software option. It is up to date.

I created a Launch Configuration for the PE Debug, see pictures. When I select Debug, the first time, I the debug console states "Could not connect to semihosting port due to connection timeout. Please check that the correct port number is configured."

And a window is shown that states "pegdbserver_console.exe has stopped working". Any subsequent attempts to debug shows this window, but not the message on the debug console.

I have not cut any traces on the K66F. I was under the impression I would be able to debug with the P&E Micro connected to the 10 pin J9 without doing so.

I am attaching photos of the debug configuration and board connection with lights on the P&E Micro Universal.

Any suggestions on things to try or clarifications would be greatly appreciated.

Thanks,

PJ

0 项奖励
回复
1 解答
4,627 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi,

I find you connect to K20 jtag port, not k66 jtage port. If you want to debug K66, please connect to J9.

 

Regards,

Jing

在原帖中查看解决方案

0 项奖励
回复
3 回复数
4,636 次查看
PJay
Contributor II

Thank you for your reply.

I cut trace J8 and J12 as you suggested. No difference was seen with the results.

The Console prints:

"Could not connect to semihosting port due to connection timeout. Please check that the correct port number is configured."

Then a window pops up with "pegdbserver_console.exe has stopped working".

I noticed in the stack list messages shown in MCUXpresso for Console from <terminated, exit value: -1> pegdbserver_console.

I have attached the Console output.

Any suggestions why the I would get the error regarding the port number configuration?

Thanks,

PJ

 

0 项奖励
回复
4,628 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi,

I find you connect to K20 jtag port, not k66 jtage port. If you want to debug K66, please connect to J9.

 

Regards,

Jing

0 项奖励
回复
4,657 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi PJay,

You can try to disconnect J12 and J8. This is SWDIO and SWDCLK controlled by openSDA. It may cause conflict.

Regards,

Jing

0 项奖励
回复