STlink的安装

1.libusb-1.0
• sudo apt-get install libusb-dev
• sudo apt-get install libusb-1.0-0-dev
2.cmake
• sudo apt-get install cmake
3.stlink
• git clone https://github.com/texane/stlink.git
• cd stlink
• make
• cd build/Release && make install DESTDIR=_install
• sudo cp st-flash /usr/bin
4.USE!
• sudo st-flash write xxx.bin 0x08000000

ST-link includes:
• a communication library (libstlink.a),
• a GDB server (st-util),
• a flash manipulation tool (st-flash).
• a programmer and chip information tool (st-info)

展开阅读全文

没有更多推荐了,返回首页