-
Notifications
You must be signed in to change notification settings - Fork 82
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 running interface picoprobe and target nrf52 #37
Comments
I suspect this may be the wrong place to be asking for help about the nrf52 parts of openocd? 🤷♂️ |
I've worked around this by editing nrf52.cfg and chaning line 27 like this
Got this log when running with the changed file (which I think is a success):
The picoprobe-pinetime is same as picoprobe.cfg just with adapter speed set to 8000. This is my first day working with openocd and swd, so what I tried here might be incredibly stupid and not work at all. Edit: I just tried connecting to openocd over telnet and issuing a |
@ionspin I can confirm your workaround (deleting the argument to -expected-id) works for me too. I am using the target/stm32l4x.cfg for my device and faced the same issue. However, the workaround needs to be undone if you use a different interface. Many thanks. |
The problem seems to be in the src/jtag/tcl.c which I have changed as below in order to fix the bug.
|
Again this is not relevant for this repo. So this should be closed as well. |
Closing - bug is in unmodified upstream code. |
I've compiled openocd from github branch picoprobe. When I execute
openocd --file picoprobe.cfg --file nrf52.cfg
I see the following error:Both
.cfg
files are form the installedscripts
folder.The text was updated successfully, but these errors were encountered: