2019-02-21 12:13 AM
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
2019-02-21 12:48 AM
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.
2019-02-21 04:21 AM
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
2019-02-21 04:32 AM
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.
2019-02-21 04:40 AM
is it ? here's the schematic I saw
2019-02-21 04:45 AM
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.
2019-02-21 06:17 AM
from schematic I can see a possibility using Nucleo 32 for external debugger , any clues ?
2019-02-21 06:29 AM
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 ??
2019-02-21 06:35 AM
I don't have all Nucleo boards.
But you can still try to cut the PCB tracks, and add your own connector.
Or get another Nucleo board with solder bridges.
My department afforded a Lauterbach debug pod recently, for about 3k bucks. Compared to such professional tools, ST-Links and Nucleos are dirt-cheap.