How to debug MCUXpresso for VScode application with daplink(cmsis-dap) probes or using pyocd?

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

How to debug MCUXpresso for VScode application with daplink(cmsis-dap) probes or using pyocd?

418 Views
Ahmadh
Contributor I

I'm using the MCUXpresso for vscode to build application for imxrt micro-controller and want to use DAPLink (cmsis-dap) opensource probes to debug and flash the firmware. I can see the support for segger/Linkserver/PE only. Can the MCUXpresso plugin support DAPlink or pyocd directly ?

0 Kudos
1 Reply

402 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @Ahmadh ,

   Thank  you for your interest in the NXP MIMXRT product, I would like to provide service for you.

  Yes, the VScode can use the CMSIS DAP to debug the code.

   But, you need to install the MCUXPresso installer at first, then your board CMSIS DAP can be supported, and in the VScode project, you can find the CMSIS DAP debug interface, in fact, normally, we are using the CMSIS DAP, as the RT board is using the CMSIS DAP in default.

kerryzhou_0-1699443968030.png

Please go to this linker, find the mcuxpresso installer:

https://github.com/nxp-mcuxpresso/vscode-for-mcux/wiki/Dependency-Installation

https://www.nxp.com/lgfiles/updates/mcuxpresso/MCUXpressoInstaller.exe

This is the vscode cmsis dap interface after you add it in the mcuxpresso installer:

kerryzhou_1-1699444167799.png

 

Wish it helps you!

If you still have issues about it, please kindly let me know.

If your question is solved, please help to mark the correct answer, just to close this case.

Any new issues, welcome to create the new question post, thanks.

Best Regards,

Kerry

 

0 Kudos