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

Error west flash #21240

Closed
pankaj18 opened this issue Dec 9, 2019 · 4 comments
Closed

Error west flash #21240

pankaj18 opened this issue Dec 9, 2019 · 4 comments
Labels
area: West West utility

Comments

@pankaj18
Copy link

pankaj18 commented Dec 9, 2019

Open On-Chip Debugger 0.10.0
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
/Users/pankajjadhav/zephyrproject/zephyr/boards/arm/stm32_min_dev/support/openocd.cfg:1: Error: Can't find interface/stlink.cfg
in procedure 'script'
at file "embedded:startup.tcl", line 60
at file "/Users/pankajjadhav/zephyrproject/zephyr/boards/arm/stm32_min_dev/support/openocd.cfg", line 1
ERROR: command exited with status 1: /usr/local/bin/openocd -f /Users/pankajjadhav/zephyrproject/zephyr/boards/arm/stm32_min_dev/support/openocd.cfg -c init -c targets -c 'reset halt' -c 'flash write_image erase /Users/pankajjadhav/zephyrproject/zephyr/build/zephyr/zephyr.hex' -c 'reset halt' -c 'verify_image /Users/pankajjadhav/zephyrproject/zephyr/build/zephyr/zephyr.hex' -c 'reset run' -c shutdown

@aescolar aescolar added the area: West West utility label Dec 9, 2019
@aescolar
Copy link
Member

aescolar commented Dec 9, 2019

cc @mbolivar

@chrta
Copy link
Collaborator

chrta commented Dec 9, 2019

Was an stlink programmer properly connected?

I believe there is no on-board programmer, but this is not clearly documented in the board documentation of zephyr.

@mbolivar mbolivar added question and removed question labels Dec 9, 2019
@mbolivar
Copy link
Contributor

mbolivar commented Dec 9, 2019

I believe there is no on-board programmer, but this is not clearly documented in the board documentation of zephyr.

Looks like you're right: https://embedjournal.com/iot-rtos-zephyr-stm32-minimum-system-development-board/#hardware-setup

@pankaj18 can you please answer @chrta 's question?

Was an stlink programmer properly connected?

Please also read the embedjournal link above if you need more information.

@yhyuan
Copy link

yhyuan commented Jul 17, 2020

I am having the same issue. It seems openocd fails to find the stlink.cfg. I am not sure how to fix it.

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

No branches or pull requests

6 participants