Open krupis opened 1 year ago
UPDATE
I have solved the issue by changing the Config options:
-s ${openocd_path}/share/openocd/scripts -f interface/esp_usb_jtag.cfg -f board/esp32s3-builtin.cfg
I must selected the esp_usb_jtag.cfg and esp32s3-builtin.cfg . The dafault settings assume you are using ESP-PROG
@krupis did you reboot the module? is there any sequence on rebooting?
@krupis did you reboot the module? is there any sequence on rebooting?
Hey. Are you having issues yourself or trying to help me ? :) Since I have already solved this issue, I assume you are having some issues? Could you provide more detail
Answers checklist.
General issue report
Hello. I have purchased ESP32-S3 Devkit (https://docs.espressif.com/projects/esp-idf/en/latest/esp32s3/hw-reference/esp32s3/user-guide-devkitc-1.html ) and I am trying to setup debugging.
I have setup Espressif-IDE and read some instructions on the internet (it seemed quite simple on how to get it debugger running).
I have imported a "hello_world" project, created a new Configuration:
Most settings were auto filled so I left them as it is just for now.
I plug the micro USB cable to USB port (not the UART since I want to use built in JTAG debugger on the ESP32-S3)
When I try to start debugging session, I get the following error:
What I think might be wrong:
I have a feeling that the issue might be due to my Debugger configration. The selected Board is :
but I dont think that is correct since I do not use ESP-PROG board. I know that the ESP32-S3 have built in jtag debugging capabilites and should not need ESP-PROG. I read that here: https://docs.espressif.com/projects/esp-idf/en/latest/esp32s3/api-guides/jtag-debugging/index.html#jtag-debugging-configuring-target
In my Config options, the following options are set:
I also think the above is not correct. Documentation ( https://docs.espressif.com/projects/esp-idf/en/latest/esp32s3/api-guides/jtag-debugging/index.html#jtag-debugging-configuring-target ) suggests to set the target to:
hence I have changed my Config options to :
Trying to debug with updated config option I get different error:
Could someone point me in the right direction and help me understand how to setup debugging for the ESP32-S3 devkit?