Flashing bin while launching debugger

BinaryPoet
Posts: 9
Joined: Thu Aug 31, 2023 1:01 pm

Flashing bin while launching debugger

Postby BinaryPoet » Fri Jun 21, 2024 3:27 pm

Hello,
if I flash my bin and then run the debugger everything is fine.
When I try to flash the bin as described in the documentation:

mon reset halt
mon program_esp ${workspace_loc:myApp/build/myAapp.bin} 0x10000 verify

it does not work. On the console I see

couldn't open C:WorkspaceESP32ESP-IDFesp32myapp.bin

I tried also with the absolute path as stated here (https://github.com/espressif/openocd-esp32/issues/92) and with the replacement '\' ->'\\' but there is no way.

I wonder also is it possible to launch automatically openocd when launching the debugger from the ESP-IDF without opening the the terminal "openocd -f board/esp32s3-builtin.cfg" each time.

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot] and 63 guests