- Wire esp-prog to ESP32 device
- In vscode, add
debug_tool = esp-prog
andupload_protocall = esp-prog
to platformio.ini - Download Zadig and run it
- Go to "Options" tab and check "List All Devices"
- Select "Dual RS232-HS (Interface 0)" in the drop down menu
- Press "Replace Drivers" with "WinUSB" driver selected
- In vscode, press "Run" -> "Start Debugging" or
F5
to begin debugging - Note: You may have to do this again in the future if windows deicides to reinstall the default drivers
- Plug usb cable into "USB" port on esp32-s3
- In vscode, add
debug_tool = esp-builtin
to platformio.ini - Download Zadig and run it
- Go to "Options" tab and check "List All Devices"
- Select "USB JTAG/serial debug unit (Interface 2)" in the drop down menu
- Ensure "Install Driver" is selected
- Press "Replace Drivers" with "WinUSB" driver selected
- In vscode, press "Run" -> "Start Debugging" or
F5
to begin debugging - Note: You may have to do this again in the future if windows deicides to reinstall default the drivers
build_type = debug
debug_init_break = tbreak setup
build_flags = -O0