Skip to main content
Visitor II
November 6, 2024
Question

Using Nucleo Board ST-Link for external STM32

  • November 6, 2024
  • 4 replies
  • 1106 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

    This topic has been closed for replies.

    4 replies

    Graduate II
    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.

    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.

     

    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.

    Visitor II
    November 13, 2024

    Yes you can use 3.3V pin