Difference between revisions of "ST-Link"

From Stm32World Wiki
Jump to navigation Jump to search
imported>Lth
imported>Lth
Line 1: Line 1:
 
There's a number of different ways to flash [[STM32]] devices.  One of these is to use [[ST]]'s own [[STLink]] devices.
 
There's a number of different ways to flash [[STM32]] devices.  One of these is to use [[ST]]'s own [[STLink]] devices.
 +
 +
[[File:STLink.jpg|400px]]
 +
 +
There are multiple benefits of using one of these [[STLink]] devices rather than a plain serial dongle:
 +
 +
# The device need not be restarted in flash mode ([[Boot0]])
 +
# Programs can be debugged on the device
 +
 +
The official [[STLink]] as seen above are relatively cheap (< $20) and there are Chinese copies available (haven't tried those).
 +
 +
The most common option are these:
  
 
[[File:STLink-v2 (Chinese knock off).jpg|400px]]
 
[[File:STLink-v2 (Chinese knock off).jpg|400px]]
 +
 +
They are Chinese knock offs and they run the official [[STLink]] firmware.

Revision as of 02:04, 31 October 2020

There's a number of different ways to flash STM32 devices. One of these is to use ST's own STLink devices.

STLink.jpg

There are multiple benefits of using one of these STLink devices rather than a plain serial dongle:

  1. The device need not be restarted in flash mode (Boot0)
  2. Programs can be debugged on the device

The official STLink as seen above are relatively cheap (< $20) and there are Chinese copies available (haven't tried those).

The most common option are these:

STLink-v2 (Chinese knock off).jpg

They are Chinese knock offs and they run the official STLink firmware.