cancel
Showing results for 
Search instead for 
Did you mean: 

Debugging STM32F446ZE Nucleo SWD with external ST-Link v2

HMSEdinburge
Associate II

Hello... I'm learning to use an external ST-Link to debug the F446ZE Nucleo using SDW. Can anyone advise on how to connect the SDIO, SDW pin on the Nucleo board to the external ST-Link v2? Additionally, what settings should I configure in CubeIDE to use the ST-Link v2? I also have an ST-Link v3. Any advice on ST-Link v3 is also welcome, thank you. 

 

https://www.amazon.sg/SFCPI-Programmer-Microcontroller-Interface-Simulatio/dp/B09Q22M9CK/ref=sr_1_36?crid=16YO1JU6U2RWK&dib=eyJ2IjoiMSJ9.qqFD5Om07FWVxJ7mURnZvAnBXRCvJLAQA211deD1kNya9Js-DqO4-cRn32AtBIWEjDRlPpe_iywzItiqexRhb4j0qY49XkVoXA0n89ljKBoRFXV6OtPfcvENRcc6aJKyvUjyjVMDuYCSStnxmpRokAql1UFr0zT4LqA...

12 REPLIES 12

On the Nucleo-H743 the MIPI connector for external ST-LINK V3 is documented in the user manual for the board UM2407, table 5.

The connector is called "STDC14". A suitable cable usually comes with the ST-LINK V3 MINIE.

It is extension of "MIPI10" debugger cable/connector: it has two extra pins on each side, two of them are for the target UART (TTL RX & TX), other two are NC. You can use a MIPI10 cable but won't have the UART connection.

Enjoy.

 

 

 

yes i saw an extra 2-pin on the STLINK v3, if that's for UART Tx and Rx then i probably don't need it, cos i m using for flashing and debugging the program. 

What are the configurations needed on the CubeIDE? 

What are the configurations needed on the CubeIDE? 

In the Cube, Pinout view: Trace and debug-> Debug-> Serial Wire. 

This will reserve the pins used by the debugger.