OpenOCD version: Open On-Chip Debugger v0.12.0-esp32-20230419
Operating System: Windows 10
Using an IDE: VS-Code
OpenOCD command line: openocd -f board/esp32s3-builtin.cfg
ESP-IDF version: v4.4.6
Hi Sir/Madam
I am using in-built USBC-C JTAG/Serial configuration for my project on esp32s3 with the following json file but after each reset of esp32 openOCD can not hook up to cpu and JTAG stops working. would you mind please help me with this issue? [/quote]
Code: Select all
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "ESP32 OpenOCD",
"type": "espidf",
"request": "launch",
"cwd": "${workspaceFolder}/build",
"program": "${workspaceFolder}/build/Waltero-ESP32.elf",
"miDebuggerPath": "C:/Users/FarshadKabiri/.espressif/tools/xtensa-esp32s3-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32s3-elf/bin/xtensa-esp32s3-elf-gdb.exe",
"setupCommands":[
{ "text": "target remote :3333"},
{ "text": "set remote hardware-watchpoint-limit 2"},
{ "text": "monitor reset halt"},
{ "text": "flushregs"},
{ "text": "thb app_main"},
]
}]
}