How to use an External Debugger with FRDM-KW38

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to use an External Debugger with FRDM-KW38

ソリューションへジャンプ
2,083件の閲覧回数
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 解決策
2,021件の閲覧回数
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,069件の閲覧回数
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,066件の閲覧回数
nidhintomy
Contributor IV

Hi @Julián_AragónM 

Can i use PEMicro debugger?

Is there any guide how to setup?

Best Regards,
Nidhin

0 件の賞賛
返信
2,037件の閲覧回数
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 件の賞賛
返信
2,032件の閲覧回数
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 件の賞賛
返信
2,022件の閲覧回数
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 件の賞賛
返信