Page 1 of 1

How to configure OCD on ESP32-S2-Saola-1 Rev 1.2 board in Eclipse?

Posted: Sat Nov 18, 2023 2:27 pm
by RalphD
I could not find required information how to set the flashing and debug details in Eclipse IDF plugin.

The following is the result and how I set up Eclipse

Code: Select all

Open On-Chip Debugger v0.12.0-esp32-20230921 (2023-09-21-13:40)
Licensed under GNU GPL v2
For bug reports, read
	http://openocd.org/doc/doxygen/bugs.html
Info : only one transport option; autoselecting 'jtag'
Info : esp_usb_jtag: VID set to 0x303a and PID to 0x1002
Info : esp_usb_jtag: capabilities descriptor set to 0x30a
Info : esp_usb_jtag: target chip id set to 2
Flashing "C:/eclipse-cpp-2023-03-R-workspace/simple/build/bootloader/bootloader.bin" at 0x1000
** program_esp input args <0x1000 verify> **
Error: esp_usb_jtag: could not find or open device!
** OpenOCD init failed **
shutdown command invoked
** Flashing Failed **
-1
Started by GNU MCU Eclipse
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections


Image

Image

Re: How to configure OCD on ESP32-S2-Saola-1 Rev 1.2 board in Eclipse?

Posted: Mon Nov 20, 2023 11:16 am
by ESP_kondalkolipaka
Hello,

Flashing is straitforward, you can click on the `Run` button as shown in the screenshot below.
Screenshot 2023-11-20 at 4.37.22 PM.png
Screenshot 2023-11-20 at 4.37.22 PM.png (235.75 KiB) Viewed 32536 times

ESP32-S2-Saola-1 Rev 1.2 board doesn't have JTAG interface and hence it doesn't support OpenOCD Debugging.
https://docs.espressif.com/projects/esp ... -v1.2.html

I hope that helps.