Trying to degug with the esp-prog I just rcvd in the mail. Followed a number of setup tutorials primarily the one from brian lough, 5 hours passed and still no luck. Any pointers would be highly appreciated.
my platform.io
[env:lolin_s2_mini]
platform = espressif32
board = lolin_s2_mini
;board = esp32-s2-kaluga-1
framework = arduino
upload_port = COM25
debug_tool = esp-prog
;upload_protocol = esp-prog
debug_init_break = tbreak setup
debug_speed = 200
The error I get
PlatformIO Unified Debugger -> https://bit.ly/pio-debug
PlatformIO: debug_tool = esp-prog
PlatformIO: Initializing remote target...
Open On-Chip Debugger v0.11.0-esp32-20220706 (2022-07-06-15:48)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
adapter speed: 20000 kHz
embedded:startup.tcl:26: Error: Can't find board/esp32s2.cfg
in procedure 'script'
at file "embedded:startup.tcl", line 26
.pioinit:11: Error in sourced command file:
Remote communication error. Target disconnected.: Success.
In frustration I tried another board (the one commented out above) and things were a little different
Warn : Bypassing JTAG setup events due to errors
Error: Unexpected OCD_ID = 00000000
Warn : target esp32s2 examination failed
Info : starting gdb server for esp32s2 on pipe
Info : accepting 'gdb' connection from pipe
Error: Target not examined yet
Error executing event gdb-attach on target esp32s2:
Warn : No symbols for FreeRTOS!
Error: Target not halted
Error: auto_probe failed
Error: Connect failed. Consider setting up a gdb-attach event for the target to prepare target for GDB connect, or use 'gdb_memory_map disable'.
Error: attempted 'gdb' connection rejected
Error: error during select: Unknown error
.pioinit:11: Error in sourced command file:
Remote communication error. Target disconnected.: Success.
VScode Plugin is PlatformIO 6.1.7
Many thanks in advance for any pointers.
