Skip to main content
Visitor II
February 21, 2019
Question

Nucleo as ST Link ?

  • February 21, 2019
  • 5 replies
  • 1663 views

Dear Members,

How can I make my Nucleo L011 K4 as ST link ?

I want to read another STM32L0152 but it detects L011 always, how can I change it ?

Thanks

    This topic has been closed for replies.

    5 replies

    Visitor II
    February 21, 2019

    Isn't this covered in the user manual for said Nucleo board ?

    Usually by removing some solder bridges, connecting the SWD lines to the target.

    antoniusAuthor
    Visitor II
    February 21, 2019

    What's the pin for ST- LINK ? SWDIO, SWCLK and NRST ?

    I have connected them but it's still detecting the chip on the board not external chip ?

    What's SB combination do I need ? Disconnect VSS of on board chip ?

    I tried pulling out IDD but, still not detecting external MCU

    Thanks

    Visitor II
    February 21, 2019

    It seems Nucleo-32 boards (as opposed to Nucleo-64 and Nucleo-144 boards) do not support programming external MCUs using their on-board ST-Link.

    antoniusAuthor
    Visitor II
    February 21, 2019

    is it ? here's the schematic I saw

    0690X000006Dl79QAC.jpg

    Visitor II
    February 21, 2019

    Yeah, the ST-Link is directly connected to the on-bard MCU, without jumpers to route it to a SWD connector.

    For example, you can see in Nucleo-64 user manual (see below) there is a section "Using ST-LINK/V2-1 to program and debug an externalSTM32 application". [Click Show More]

    https://www.st.com/resource/en/user_manual/dm00105823.pdf

    In Nucleo-32 user manual there is no such section.

    https://www.st.com/resource/en/user_manual/dm00231744.pdf

    antoniusAuthor
    Visitor II
    February 21, 2019

    from schematic I can see a possibility using Nucleo 32 for external debugger , any clues ?

    antoniusAuthor
    Visitor II
    February 21, 2019

    That's from Nucleo 32 Schematic, I should be able to use SWDIO , SWCLK and NRST for programming external board, if it can not , probably a software compatibility ?? 0690X000006DlIgQAK.jpg