Can I use an Stlink of a Nucleo-mini board to program another ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-16 5:49 AM
I have a Nucleo-l432kc board that I actually fried by accident touching one of the pins with my power supply probes while they shared the same ground during a risky test of mine
anyway the problem now is I can't find a replacement at the moment in my region and a shipment of Aliexpress would take some time I have some Blackpills and Clone stlinks lying around but using those clones have no mass storage or Virtual com port feature
My Question is can I use the stlink on my fried board somehow ? I think the stlink circuitry itself is working fine since the mass storage and the openocd commands are working fine except that the cpu won't respond to uploading any code
Solved! Go to Solution.
- Labels:
-
STM32L4 series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-16 6:40 AM
In principle, you could use an ST-LINK - however, this requires the separation of some tracks, because unlike NUCLEO-64, for example, there is no space for solder bridges. You would have to disconnect and connect with the external ST-LINK:
- TCK - SWCLK
- TMS - SWDIO
- SWO - T_SWO (if needed)
- SB9 (NRST)
- VCP_TX - STLK_RX
- VCP_RX - STLK_TX
In addition, you may have to put X1, C12, C13 and SB5/SB7 and to remove SB4 if you need a stable clock, as MCO from the built-in ST-LINK will probably also no longer work.
All in all, quite complex - but perhaps feasible. For more details, I recommend studying the schematics of this NUCLEO-32 (MB1180).
Good luck!
/Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-16 6:40 AM
In principle, you could use an ST-LINK - however, this requires the separation of some tracks, because unlike NUCLEO-64, for example, there is no space for solder bridges. You would have to disconnect and connect with the external ST-LINK:
- TCK - SWCLK
- TMS - SWDIO
- SWO - T_SWO (if needed)
- SB9 (NRST)
- VCP_TX - STLK_RX
- VCP_RX - STLK_TX
In addition, you may have to put X1, C12, C13 and SB5/SB7 and to remove SB4 if you need a stable clock, as MCO from the built-in ST-LINK will probably also no longer work.
All in all, quite complex - but perhaps feasible. For more details, I recommend studying the schematics of this NUCLEO-32 (MB1180).
Good luck!
/Peter
