Questions about west flash
and west debug
on NXP RT1060 platforms
#83793
-
Hi, I managed to successfully run Here is the full console output:
Has anyone encountered this issue before on these platforms and managed to resolve it? Another question: Is it possible to run these commands on these boards using the USB connector instead of the JLink probe? Best Regards. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi @ofirshe ,
A debug probe is required to debug. The NXP development boards like MIMXRT1060-EVK have a debug probe on the board, connected through USB. Most custom boards do not include a debug probe, and then an external debug probe like JLink must be connected by the SWD interface to the target MCU to debug. If using an on-board debug probe on a development board, you can update the firmware to act as a JLink or CMSIS-DAP probe. It was not clear to me what you meant by debugging through the USB connector, but hopefully this clarifies for you. |
Beta Was this translation helpful? Give feedback.
Hi @ofirshe ,
For the GDB error, do you see the same error debugging one of the Zephyr samples on the same board? Using a Zephyr sample available to all and providing all the details required for someone else to replicate can help others investigate. That includes the Zephyr revision, the Zephyr SDK release, and in this case the JLink release. And then if the sample debugs without the same error, you can compare the two applications to understand what is different.
For the debug probe, no. As I shared earlier, using a debugger requires a debug probe (like JLink) connected to the SWD interface. If you remove the SWD header from your board, then it is recommended to still have a hardware op…