Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tools:stlink [2020/08/07 04:04] – [Install] darron | tools:stlink [2022/12/16 10:11] (current) – [Install] darron | ||
---|---|---|---|
Line 7: | Line 7: | ||
=== Install === | === Install === | ||
+ | |||
+ | ==Linux== | ||
+ | |||
< | < | ||
- | sudo apt-get install libusb-1.0-0-dev | + | cd /opt/src/ |
+ | apt-get install | ||
+ | rehash | ||
git clone https:// | git clone https:// | ||
cd stlink | cd stlink | ||
cmake . | cmake . | ||
make | make | ||
- | sudo make install | + | make install |
- | sudo cp config/ | + | ldconfig |
- | sudo cp config/ | + | cp config/ |
+ | cp config/ | ||
+ | udevadm control --reload-rules | ||
+ | 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 / |
</ | </ | ||