How to use an External Debugger with FRDM-KW38

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to use an External Debugger with FRDM-KW38

Jump to solution
1,195 Views
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

Labels (1)
Tags (1)
0 Kudos
Reply
1 Solution
1,133 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @nidhintomy,

Yes, your understanding is correct.

I hope you find this helpful!

Best regards, Julian.

View solution in original post

0 Kudos
Reply
5 Replies
1,181 Views
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 Kudos
Reply
1,178 Views
nidhintomy
Contributor IV

Hi @Julián_AragónM 

Can i use PEMicro debugger?

Is there any guide how to setup?

Best Regards,
Nidhin

0 Kudos
Reply
1,149 Views
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 Kudos
Reply
1,144 Views
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 Kudos
Reply
1,134 Views
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 Kudos
Reply