Skip to main content
TZhou.2
Associate II
September 30, 2021
Solved

As I want to use the st-link of NUCLEO-L476RG board to program my other ARM-CortexM0 board and use SWD to program it. But it cannot successful on Keil? Errors show below

0693W00000FB1aMQAT.jpg0693W00000FB1a7QAD.png0693W00000FB1ZxQAL.png0693W00000FB1ZsQAL.png0693W00000FB1ZiQAL.png

This topic has been closed for replies.
Peter BENSCH
Peter BENSCHBest answer
ST Technical Moderator
September 30, 2021

First of all, you can use the ST-LINK to program or delete with it, but not any Cortex-M based target. Only STM32 from STMicroelectronics are supported, not e.g. your TN2115 from FusensMicro.

But even if you want to program / delete an STM32 as a target, you can only use the ST-LINK for one target at a time, in this case either for the main STM32 on the NUCLEO, or for an external STM32. In the latter case you have to remove the double jumper (named ST-LINK, directly next to the crystal) on the ST-LINK so that the SWD connection to the main STM32 does not interfere with the one to the external STM32.

Regards

/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

1 reply

Peter BENSCH
Peter BENSCHBest answer
ST Technical Moderator
September 30, 2021

First of all, you can use the ST-LINK to program or delete with it, but not any Cortex-M based target. Only STM32 from STMicroelectronics are supported, not e.g. your TN2115 from FusensMicro.

But even if you want to program / delete an STM32 as a target, you can only use the ST-LINK for one target at a time, in this case either for the main STM32 on the NUCLEO, or for an external STM32. In the latter case you have to remove the double jumper (named ST-LINK, directly next to the crystal) on the ST-LINK so that the SWD connection to the main STM32 does not interfere with the one to the external STM32.

Regards

/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.