1957647_en-US

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

1957647_en-US

1957647_en-US

I can't start debug on VSCode for M33 core in iMX8ULP

I try to start debug session for Cortex M33 core inside iMX8ULP processor. I follow the instructions AN14120: Debugging Cortex-M with VS Code on i.MX 8ULP and I stuck on step Attach to J-Link debugger for i.MX 8ULP.  After attach the panel with debug buttons apeared but debug doesn't stop on breakpoints and pause button doesn't stop code execution. Also I've got running Linux on Cortex A35. Debug console output and .vscode files are attached.

Re: I can't start debug on VSCode for M33 core in iMX8ULP

I flashed and it worked, thanks.

Re: I can't start debug on VSCode for M33 core in iMX8ULP

Hi @dzmitry!

Thank you for contacting NXP Support!


Do you create and flash the flash.bin image using your M33 image?

For i.MX 8ULP, due to the Upower unit, build the flash.bin using m33_image in our "VSCode" repo
first. The M33 image can be found in {CURRENT REPO}\armgcc\debug\sdk20-app.bin. Refer to
Section 6 from the Getting Started with MCUXpresso SDK for EVK-MIMX8ULP and EVK9-MIMX8ULP in the
SDK_2_xx_x_EVK-MIMX8ULP/docs on how to build the flash.bin image.
Note: Use the M33 image in the active VSCode repo. Otherwise, the program does not attach properly.
Right-click and choose "Attach"


Best regards!

Chavira


Tags (1)
No ratings
Version history
Last update:
‎11-22-2025 05:59 AM
Updated by: