-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[HELP] Cannot debug esp32c6 using open ocd #12905
Comments
@fdcavalcanti @tmedicci please take a look! @FelipeMdeO seems similar to this issue: espressif/openocd-esp32#315 |
Hi @FelipeMdeO , Considering the message You should expected something like that on your
|
Hello @tmedicci , Yes, USB/JTAG port is connected, please look image below: PS: I am using esp32c6 devkit m |
@FelipeMdeO see the LIBUSB_ERROR_ACCESS, please try the same command with "sudo" |
@FelipeMdeO Hi Felipe, what OS are you using? Did you check udev rules? |
Hello @fdcavalcant. I am using Ubuntu 20 .04 noble. @acassis Thank you very much, running with sudo it worked. |
Hi @FelipeMdeO , you can set the udev rules too to avoid this kind of error: https://docs.espressif.com/projects/esp-idf/en/latest/esp32c6/api-guides/jtag-debugging/configure-builtin-jtag.html#configure-usb-drivers |
Thanks for reporting. We will update the documentation to make it clearer... |
Description
Description
Hello All,
I am trying debug esp32c6 using open ocd, I followed tutorial in link:
[https://nuttx.incubator.apache.org/docs/latest/platforms/risc-v/esp32c6/index.html#debugging-with-openocd
openocd -c 'set ESP_RTOS hwthread; set ESP_FLASH_SIZE 0' -f board/esp32c6-builtin.cfg
Do you have any idea what's happen?
Verification
The text was updated successfully, but these errors were encountered: