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

eps32p4 debugging issuie #10934

Closed
engineerarea opened this issue Feb 4, 2025 · 1 comment
Closed

eps32p4 debugging issuie #10934

engineerarea opened this issue Feb 4, 2025 · 1 comment

Comments

@engineerarea
Copy link

Hello,

I am working with an Esp32p4-Function-EV-Board and the tool is Espress if IDE(v5.3.2). I am successfully flashing the code into Esp32p4 device but when I strat the debugging it is not entering into debug mode instead of it is showing errors like which are mentioned below:


Open On-Chip Debugger v0.12.0-esp32-20241016 (2024-10-16-14:17)

Licensed under GNU GPL v2

For bug reports, read

http://openocd.org/doc/doxygen/bugs.html

DEPRECATED! use 'gdb port', not 'gdb_port'

DEPRECATED! use 'tcl port' not 'tcl_port'

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

Flashing "C:/Users/Vineetha/Desktop/Test/hello_world/build/bootloader/bootloader.bin" at 0x2000

** program_esp input args <0x2000 verify> **

Error: esp_usb_jtag: could not find or open device!

Please refer to the troubleshooting guide below to identify the problem.

https://github.com/espressif/openocd-esp32/wiki/Troubleshooting-FAQ

** OpenOCD init failed **

shutdown command invoked

Error: [esp32p4.hp.cpu0] dmi_write is not implemented for this target.

Please refer to the troubleshooting guide below to identify the problem.

https://github.com/espressif/openocd-esp32/wiki/Troubleshooting-FAQ

C:\Espressif\tools\openocd-esp32\v0.12.0-esp32-20241016\openocd-esp32\share\openocd\scripts/target/esp_common.cfg:9: Error:

in procedure 'program_esp_bins'

in procedure 'program_esp'

in procedure 'program_error' called at file "C:\Espressif\tools\openocd-esp32\v0.12.0-esp32-20241016\openocd-esp32\share\openocd\scripts/target/esp_common.cfg", line 443

at file "C:\Espressif\tools\openocd-esp32\v0.12.0-esp32-20241016\openocd-esp32\share\openocd\scripts/target/esp_common.cfg", line 9

** Flashing Failed **

-1

Started by GNU MCU Eclipse

Info : Listening on port 6666 for tcl connections

Info : Listening on port 4444 for telnet connections

Error: [esp32p4.hp.cpu0] Unsupported DTM version: -1

Please refer to the troubleshooting guide below to identify the problem.

https://github.com/espressif/openocd-esp32/wiki/Troubleshooting-FAQ

Error: [esp32p4.hp.cpu0] Could not identify target type.

Please refer to the troubleshooting guide below to identify the problem.

https://github.com/espressif/openocd-esp32/wiki/Troubleshooting-FAQ

Error: [esp32p4.hp.cpu1] Unsupported DTM version: -1

Please refer to the troubleshooting guide below to identify the problem.

https://github.com/espressif/openocd-esp32/wiki/Troubleshooting-FAQ

Error: [esp32p4.hp.cpu1] Could not identify target type.

Please refer to the troubleshooting guide below to identify the problem.

https://github.com/espressif/openocd-esp32/wiki/Troubleshooting-FAQ


Please help me to solve this problem.

Regards,

D. Vineetha.


From: BİLAL Dogrucu @.***>

Sent: 16 January 2025 13:43

To: espressif/arduino-esp32 @.***>

Cc: Vineetha D @.>; Mention @.>

Subject: Re: [espressif/arduino-esp32] Failed to load code into Esp32P4 (Issue #10787)

You can have a look here for help: https://docs.espressif.com/projects/esp-idf/en/stable/esp32p4/api-reference/system/chip_revision.html#troubleshooting

In other words, you could set CONFIG_ESP32P4_REV_MIN to a compatible value, like 1, in your sdkconfig.defaults (if you have one). In my project, I've a file named sdkconfig.defaults.esp32p4 for this purpose.

FWIW, this issue was solved for me when using the latest IDF.

Thank you for your help , that is worked and also caused by idf revision

Reply to this email directly, view it on GitHub#10787 (comment), or unsubscribehttps://github.com/notifications/unsubscribe-auth/BCDFQCFFDNNAH37ZJQQ4RGD2K5S4LAVCNFSM6AAAAABUJRFXR2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOJUG44DONZTHE.

You are receiving this because you were mentioned.Message ID: @.***>

_Originally posted by @Vineetha1705 in #10787

Did you find it solution?

@me-no-dev
Copy link
Member

Debugging with ESP32-P4 is not yet supported in Arduino. I will close the issue, because it does not follow the template

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

No branches or pull requests

2 participants