2026-01-06 12:00 AM
Hi ST Team,
I am working with STM32MP257F-EV1 board and facing an issue while trying to connect the ST-Link interface using STM32CubeProgrammer.
Connection setup:
An external ST-LINK/V2 programmer is connected to the CN22 (ST-LINK header) on the STM32MP257F-EV1 board.
Behaviour:
1) Tried connecting with both SWD and JTAG modes, but the connection fails in both the cases.
2) The board is detected only when connecting USB to connector CN15(USB_DRD) in DFU Mode.
For your reference ,I have attached the STM32CubeProgrammer configuration screenshots and connection logs.
Additionally, while reviewing the ST Community forum, I found the following discussion related to this issue.
link: https://community.st.com/t5/stm32-mpus-software-development/debug-authentication-on-the-stm32mp2257f-ev1-for-st-link/td-p/708255
Could you please confirm whether this behavior is expected for the STM32MP257F-EV1 and any configuration or steps to enable and validate CN22 (ST-LINK header) on STM32MP257F-EV1 board ?
Thanks and Regards,
Kaviya M
2026-01-06 12:48 AM
Hi @Kaviya_M
Unlike other STM32 MCUs, the STM32MPx MPUs cannot be flashed with JTAG/SWD.
Only USB (and to a certain extend, UART) should be used with CubeProgrammer.
https://wiki.st.com/stm32mpu/wiki/STM32CubeProgrammer
JTAG/SWD (and so, STLINK) is only used for debug purposes.
https://wiki.st.com/stm32mpu/wiki/STM32_MPU_Platform_trace_and_debug_environment_overview
Regards.