Skip to main content
yang hong
Associate III
November 6, 2024
Question

Using Nucleo Board ST-Link for external STM32

  • November 6, 2024
  • 4 replies
  • 1107 views

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

Tesla DeLorean
Guru
November 6, 2024

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 VenmoUp vote any posts that you find helpful, it shows what's working..
Andrew Neil
Super User
November 6, 2024

@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.

 

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
AlexWEI
ST Employee
November 13, 2024

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.

Associate
November 13, 2024

Yes you can use 3.3V pin