What exactly is the ST Link in-circuit programmer gadget/dongle?

danadak

Joined Mar 10, 2018
4,057
This is how Software Development system interface to processor or FPGA
type boards to do debug and programming of the boards/chips. Very
common interface these says, SWD.



Regards, Dana.
 

Thread Starter

ApacheKid

Joined Jan 12, 2015
157
This is how Software Development system interface to processor or FPGA
type boards to do debug and programming of the boards/chips. Very
common interface these says, SWD.



Regards, Dana.
Thanks, this is still not quite clear.

I can debug and program my Nucleo or Discovery boards without this gadget, so why is it needed?

Is it because these development boards have an inbuilt equivalent of that gadget that is ordinarily absent from non-development versions of the boards?
 

mckenney

Joined Nov 10, 2018
81
From the Nucleo-64 User Manual (UM1724, rev 10) page 1:
"The STM32 Nucleo board does not require any separate probe as it integrates the ST-LINK/V2-1 debugger/programmer."

See if the User Manual for your board has the same sentence in it.
 

MrChips

Joined Oct 2, 2009
21,143
Your IDE (programming platform) communicates by sending flashing and debugging commands. The target MCU itself does not understand these commands. A separate MCU is used to interrogate these commands and then relay them in between the PC and target MCU. That is what the ST-LINK programmer/debugger does.

Every STM Discovery or Nucleo kit has this MCU on board. You can find it in a smaller package right next to the mini-USB connector.

ST-LINK.jpg

You do not need to purchase the ST-LINK programmer/debugger.
I can show you how to program/debug your MCU in-circuit.
 
Top