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

RalphD
Posts: 103
Joined: Thu Nov 25, 2021 9:02 pm

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

Postby RalphD » Sat Nov 18, 2023 2:27 pm

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

ESP_kondalkolipaka
Posts: 188
Joined: Wed Jul 17, 2019 5:26 pm

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

Postby ESP_kondalkolipaka » Mon Nov 20, 2023 11:16 am

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 32556 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.

Who is online

Users browsing this forum: No registered users and 20 guests