cancel
Showing results for 
Search instead for 
Did you mean: 

Using Nucleo Board ST-Link for external STM32

yang hong
Associate II

I am using nucleo board, however, I try to use debugger on board for external board or stm32 microcontroller. I notice 6pin swd (cn6) on debugger. the first pin is VDD_targert. I followed up the wiring and connect to external target board. When I connect usb to pc, I found out pin 1(VDD_target) on CN6 doesn't have 3.3V. So If I would like to use this debugger for external target, I need power on target board or microcontroller to get this pin to have 3.3VDC, right?

Thank you for any help

4 REPLIES 4

You'd need to disconnect the local target.

You can use the 3.3V / GND to power a secondary board, providing it's not drawing a lot of current.

Connect the SWDIO / SWCLK to the External target.

What external board, using what STM32? Perhaps you can attach a schematic.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Andrew Neil
Evangelist III

@yang hong wrote:

I am using nucleo board, however, I try to use debugger on board for external board or stm32 microcontroller


Did you follow the directions for this in the Nucleo Board's User Manual?

 


@yang hong wrote:

the first pin is VDD_targert.lp


This is an input to the debugger: it senses the target's supply voltage - it does not supply power to the target.

 

AWEI.2
ST Employee

HI this pin is vdd from target application,  it has a diode in the main path. it should be powered from outside the nucleo board.

DineshBisen
Associate II

Yes you can use 3.3V pin