MSPBSL_Scripter编译

The BSL Scripter is a PC application that is available for Windows, Linux and Mac OS X. It is a user interface which allows to easily communicate with the BSL on MSP430 and MSP432 devices to modify the device’s memory via UART, I2C, SPI or USB. Supported programming adapters are the MSP-BSL programmer (‘BSL Rocket’) and the MSP-FET

1. boost
下载http://www.boost.org
编译

# ./bootstrap.sh
Bootstrapping is done. To build, run:
./b2
# ./b2

如需交叉编译http://blog.csdn.net/zhangxuechao_/article/details/73527784

2. hidapi
下载https://github.com/signal11/hidapi/releases
编译

# ./bootstrap 
# ./configure
checking for libudev... no

  Library libudev was not found on this system.
  Please install it and re-run ./configure

# sudo apt-get install libudev-dev libusb-1.0-0-dev libfox-1.6-dev

如需libusb移植http://blog.csdn.net/zhangxuechao_/article/details/73551395

3. MSPBSL_Scripter
需要手动拷贝hidapi编译出的.o和.h文件到当前路径下。但是源码README里面写的真的不怎么样,各种错误,还需要自己去猜。而且makefile写的也有很多毛病
下载
http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/MSPBSL_Scripter/latest/index_FDS.html
准备

# cd /MSPBSL_Scripter_linux32/SourceCode
# mkdir ThirdParty
# cd ThirdParty
# mkdir include lib
# cp /hidapi-hidapi-0.8.0-rc1/hidapi/hidapi.h ./include/
# cp /hidapi-hidapi-0.8.0-rc1/libusb/hid.o ./lib/hid-libusb.o

Makefile

# export BIT32=1    //环境变量
#CXXFLAGS += -static    //注释
LIBS += -ludev      //添加
posted @   thomas_blog  阅读(211)  评论(0编辑  收藏  举报
编辑推荐:
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
阅读排行:
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 【自荐】一款简洁、开源的在线白板工具 Drawnix
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· Docker 太简单,K8s 太复杂?w7panel 让容器管理更轻松!
点击右上角即可分享
微信分享提示