Skip to main content
antonius
Associate III
February 21, 2019
Question

Nucleo as ST Link ?

  • February 21, 2019
  • 8 replies
  • 1684 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.

8 replies

AvaTar
Senior III
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.

antonius
antoniusAuthor
Associate III
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

After Forever
Senior III
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.

antonius
antoniusAuthor
Associate III
February 21, 2019

is it ? here's the schematic I saw

0690X000006Dl79QAC.jpg

After Forever
Senior III
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

antonius
antoniusAuthor
Associate III
February 21, 2019

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

antonius
antoniusAuthor
Associate III
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