-
Notifications
You must be signed in to change notification settings - Fork 132
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
new version of "openocd-esp32" never works (OCD-718) #276
Comments
Could you please check, what is the value of OPENOCD_SCRIPTS variable when you are launching |
Yes, sorry, I have this: -s ${openocd_path}/share/openocd/scripts -f board/esp32s3-builtin.cfg |
@EduardShaid some questions;
|
The question is different: I just change the location of openocd-esp32 (Workspace OpyenOCD Path) from the old, working path C:\Espressif\tools\openocd-esp32\v0.11.0-esp32-20221026\openocd-esp32\bin on a new path C:\Espressif\tools\openocd-esp32\v0.12.0-esp32-20230221\openocd-esp32\bin and openocd-esp32 stops working. |
But the new OpenOCD is running as I can see from the log you shared. So to understand what is the issue with the new version, I need some answers. Our internal tests have passed with the idf 4.4, 5.0, 5.1 and we believe we didn't break anything. But can be some cases that we missed. e.g. Looking at the release notes, directly related to S3, we have fixed the flasher stub PSRAM issue. Now I would like to be sure if this fix is related to your case or not. |
@EduardShaid Unfortunately we are still unable to reproduce your problem. Could you give us some hints? |
It is rather strange that this simple problem does not reproduce for you. |
I just wanted leave a comment since I ran into what looks like the same issue, locally. I was also overriding the workspace OpenOCD path to the new version. However I found that the environment variable OPENOCD_SCRIPTS (which can be set via workspace preferences > C++ > Build > Environment) was still pointing to the old copy of OpenOCD, and OpenOCD was loading some of the .cfg files from that copy. After removing OPENOCD_SCRIPTS variable from C++ > Build > Environment, closing Eclipse and reopening the workspace, I was able to start a debugging session with the latest OpenOCD release. |
Thanks a lot for the advice! |
@EduardShaid thanks for your support. Closing this issue. |
OpenOCD version
v0.12.0-esp32-20230221
Operating System
Win 10
Using an IDE ?
Yes
OpenOCD command line
openocd -f board/esp32s3-builtin.cfg
ESP-IDF version
v4.4.4
Problem Description
Can someone explain why when I install in Espressif-IDE a new version of "openocd-esp32", for example, I now installed version v0.12.0-esp32-20230221 instead of v0.11.0-esp32-20221026, then it never works?
Debug Logs
Expected behavior
no
Screenshots
no
The text was updated successfully, but these errors were encountered: