在Ubuntu 12.04

安装时提示错误,Your 64-bit Linux host is missing the 32-bit libraries requied to install and use Sourcery CodeBench

这时需要安装32位模拟器

sudo apt-get install ia32-libs

继续安装codesourcery(在运行之前需把arm-2013.11-xxx.bin添加运行属性,用命令 chmod +x arm-2013.11-xxx.bin ,这样它的名字变成绿色的了)

这样就可以了。

安装完之后如果需要再安装JLINK调试什么的就继续

1. openocd

sudo apt-get install openocd

2. Jlink Linux驱动

去SEGGER官网下载deb包双击安装就可以咯

或者3.STLINK驱动

按这个地址上写的去做即可了:https://github.com/texane/stlink

$ ./autogen.sh
$ ./configure
$ make

see?

安装了segger jlink驱动后

安装了stlinkv2驱动后

原文地址:https://www.cnblogs.com/tfanalysis/p/3529237.html