Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tools:stlink [2022/10/20 16:22] – darron | tools:stlink [2022/12/16 10:11] (current) – [Install] darron | ||
---|---|---|---|
Line 7: | Line 7: | ||
=== Install === | === Install === | ||
+ | |||
+ | ==Linux== | ||
+ | |||
< | < | ||
cd /opt/src/ | cd /opt/src/ | ||
- | apt-get install cmake libusb-1.0-0-dev | + | apt-get install |
+ | rehash | ||
git clone https:// | git clone https:// | ||
cd stlink | cd stlink | ||
- | rehash | ||
cmake . | cmake . | ||
make | make | ||
make install | make install | ||
+ | ldconfig | ||
cp config/ | cp config/ | ||
cp config/ | cp config/ | ||
Line 21: | Line 25: | ||
udevadm trigger | udevadm trigger | ||
</ | </ | ||
+ | |||
+ | On linux we can disable the built in mass storage devices STLINK compatible boards contain, see [[: | ||
+ | |||
+ | ==Windows== | ||
+ | |||
+ | [[https:// | ||
+ | |||
=== Test === | === Test === | ||
- | A simple way to test a device is to read and discard the data from it. | + | A simple way to test a device is to read nothing |
< | < | ||
- | st-flash read /dev/null 0 | + | st-flash read / |
</ | </ | ||