FelipeMdeO opened a new issue, #12905:
URL: https://github.com/apache/nuttx/issues/12905

   ### 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](url)
    
   `openocd -c 'set ESP_RTOS hwthread; set ESP_FLASH_SIZE 0' -f 
board/esp32c6-builtin.cfg`
   
   ```
   Open On-Chip Debugger v0.12.0-esp32-20240726 (2024-08-13-15:00)
   Licensed under GNU GPL v2
   For bug reports, read
        http://openocd.org/doc/doxygen/bugs.html
   0
   Info : only one transport option; autoselecting 'jtag'
   Info : esp_usb_jtag: VID set to 0x303a and PID to 0x1001
   Info : esp_usb_jtag: capabilities descriptor set to 0x2000
   Info : Hardware thread awareness created
   WARNING: ESP flash support is disabled!
   force hard breakpoints
   Info : Listening on port 6666 for tcl connections
   Info : Listening on port 4444 for telnet connections
   Error: esp_usb_jtag: could not find or open device!
   /usr/local/bin/../share/openocd/scripts/target/esp_common.cfg:9: Error: 
   at file "/usr/local/bin/../share/openocd/scripts/target/esp_common.cfg", 
line 9
   Error: [esp32c6] Unsupported DTM version: -1
   Error: [esp32c6] Could not identify target type.
   ```
   Do you have any idea what's happen?
   
   ### Verification
   
   - [X] I have verified before submitting the report.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to