Associate
August 9, 2026
Question
unable to debug STM32MP257F-EV1 Cortex-M33 core (standalone) over STLINK
- August 9, 2026
- 2 replies
- 40 views
I am working with an STM32MP257F-EV1 Evaluation board (board reference MB1936, target STM32MP257FAI3) and am unable to debug the Cortex-M33 core independently over SWD.
Setup:
- Board: STM32MP257F-EV1
- Tools: STM32CubeIDE and STM32CubeProgrammer.
- Boot switches (SW1) set to Development boot: Boot0=1, Boot1=1, Boot2=0, Boot3=0
- JP3: no jumper fitted (STLINK-V3EC active)
- CubeIDE debug configuration: Load Mode = "thru JTAG/SWD link (Engineering mode)", Access port = "8 - Cortex-M33", SWD interface
i have attached debug error screenshot.
i want to debug a standalone (bare-metal) application running on the Cortex-M33 over SWD.
Could you help with the following:
- Is it possible to debug the Cortex-M33 via SWD/JTAG on the STM32MP257F-EV1 without booting from SD card, eMMC, or QSPI.
- What is the recommended/supported procedure for attaching a debugger (SWD) to the M33 core when running a standalone bare-metal application.
- Are there specific boot configuration or provisioning steps required (e.g., boot mode, RDP/TZEN state) to enable SWD debug access to the M33 for a bare-metal use case on this board?
- Are there any application notes or reference documentation specifically covering M33 bare-metal debugging on the STM32MP2 series (STM32MP257F-EV1 in particular) that you can point me to?

