Advertisement

修复闪存错误

阅读量:

环境配置为ubuntu16.04与STM32平台,ROS版本采用kinetic。在ROS系统与STM32设备进行通信及程序烧录过程中,出现了如下错误提示。执行命令st-flash --reset write main.bin 0x8000000时,系统反馈错误信息:st-flash: error while loading shared libraries: libstlink.so.1: cannot open shared object file: No such file or directory。随后Makefile.include文件第128行对应的flash目标构建失败,make命令返回错误代码127。

复制代码
 dhy@Deng:~/stm32_project/src/stm32f103rc_rosserial$ make flash

    
 st-flash --reset write main.bin 0x8000000
    
 st-flash: error while loading shared libraries: libstlink.so.1: cannot open shared object file: No such file or directory
    
 Makefile.include:128: recipe for tar

全部评论 (0)

还没有任何评论哟~