我在Ubuntu下使用Eclipse来处理STM32F7发现,我已经将系统设置为向Discovery闪现我的闪烁项目。在构建项目后,我转到Run-> External Tools并点击Run将代码下载到flash中,但我在控制台窗口中得到以下消息:
invalid command line
stlinkv1 command line: ./st-flash [--debug] [--reset] {read|write} /dev/sgX path addr <size>
stlinkv1 command line: ./st-flash [--debug] /dev/sgX erase
stlinkv2 command line: ./st-flash [--debug] [--reset] {read|write} path addr <size>
stlinkv2 command line: ./st-flash [--debug] erase
use hex format for addr and <size>我使用的外部工具配置如下:
Main-> Location /usr/local/bin/st-flash Main -> Working Directory ${project_loc}/Release Main -> Arguments:write${project_name}.bin 0x8000000发布于 2017-07-24 18:25:37
您没有给出串行端口的路径。命令行的输出显示了语法。
https://stackoverflow.com/questions/45236856
复制相似问题