How to use an External Debugger with FRDM-KW38

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

How to use an External Debugger with FRDM-KW38

跳至解决方案
2,028 次查看
nidhintomy
Contributor IV

I wold like to know how to debug FRDM-KW38 EVK with an external debugger.

I search for a guide. But didn't get any result.

Anyone please help

Best Regards
Nidhin

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
1,966 次查看
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @nidhintomy,

Yes, your understanding is correct.

I hope you find this helpful!

Best regards, Julian.

在原帖中查看解决方案

0 项奖励
回复
5 回复数
2,014 次查看
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @nidhintomy,

The KW38 can be externally debugged by using MCU-Link Debug Probe (or MCU-Link Pro Debug Probe) and connecting through the SWD connectors.

For a general guide, please take a look into the Getting Started for the MCU-Link, installing the firmware and connecting it to MCUXpresso.

For more information about the OpenSDA serial and debug, please look into chapter 2.3 (OpenSDA serial and debug) of the FRDM-KW38's User's Guide, which can be found under "Documentation" in its page (Freedom Development Kit for KW39/38/37 MCUs).

It is also needed to cut the trace at the bottom of the PCB that connects J15 Pin 2 to J12 Pin 4. This will disconnect the SWD_CLK pin to the KW38 so that it will not interfere with the communications to an offboard MCU connected to J15.

Julin_AragnM_0-1667926798527.png

If any other doubt comes up, do not hesitate to ask. I hope you find this helpful!

Best regards, Julián

0 项奖励
回复
2,011 次查看
nidhintomy
Contributor IV

Hi @Julián_AragónM 

Can i use PEMicro debugger?

Is there any guide how to setup?

Best Regards,
Nidhin

0 项奖励
回复
1,982 次查看
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @nidhintomy,

Yes, PEMicro supports the KW38. You can look into this guide to get started with debugging with PEMicro devices and tools in MCUXpresso.

I hope you find this helpful! Don't hesitate to ask if any other doubts come up!

Best regards, Julian

0 项奖励
回复
1,977 次查看
nidhintomy
Contributor IV

Hi @Julián_AragónM 

It is also needed to cut the trace at the bottom of the PCB that connects J15 Pin 2 to J12 Pin 4. This will disconnect the SWD_CLK pin to the KW38 so that it will not interfere with the communications to an offboard MCU connected to J15.

Now my understanding is with this hardware setup and the guide we can debug FRDM-KW38 with PEMicro.
Is my understanding right ?

Thank you for your support.
Nidhin

0 项奖励
回复
1,967 次查看
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @nidhintomy,

Yes, your understanding is correct.

I hope you find this helpful!

Best regards, Julian.

0 项奖励
回复