Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenOcd 下载时错误 #45

Closed
Suvian-wy opened this issue Aug 27, 2020 · 2 comments
Closed

OpenOcd 下载时错误 #45

Suvian-wy opened this issue Aug 27, 2020 · 2 comments

Comments

@Suvian-wy
Copy link

Suvian-wy commented Aug 27, 2020

在下载时,点击下载按钮之后,调用OpenOCD的命令错误,导致OpenOcd无法识别 .hex 文件的目录
D:\Environment\openocd-0.10.0\bin\openocd.exe -f interface/stlink-v2.cfg -f target/stm32f4x.cfg -c "init" -c "reset init" -c "program "d:\\WorkSpace\\EIDEProject\\BootLoader\\out\Release\\BootLoader.hex\"

指令修改之后是可以的
D:\Environment\openocd-0.10.0\bin\openocd.exe -f interface/stlink-v2.cfg -f target/stm32f4x.cfg -c "init" -c "reset init" -c "program "d:/WorkSpace/EIDEProject/BootLoader/out/AC5/BootLoader.hex\" verify reset exit"

@github0null
Copy link
Owner

没有发现问题


截图20200827220739

@github0null
Copy link
Owner

已经打算将传递给 openocd 的路径调整为 unix 格式来避免这种问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants