I was excited when I saw that the ESP-PROG is the default debug module for VSCode and PlatformIO, for ESP32. I’m now a day into trying to get even the uploading to work…no joy.
I have connected the JTAG ports between the two boards.
I have been using PlatformIO for the project I’m working on for awhile, with no problem, so I am just adding in the ESP-PROG.
I have reinstalled the USB drivers via Zadig multiple tiimes.
I have incorporated advice from multiple articles and tutorials.
I have studied postings from several people having similar problems, and permuted my settings and hookups to try every combination available.
Here is a debug log of the latest attempt, which has the USB only connected to the ESP-PROG.
Uploading .pio\build\esp32doit-devkit-v1\firmware.bin Open On-Chip Debugger v0.10.0-esp32-20210721 (2021-07-21-13:35) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html debug_level: 1 adapter speed: 20000 kHz WARNING: boards/esp-wroom-32.cfg is deprecated, and may be removed in a future release. adapter speed: 500 kHz Error: no device found Error: unable to open ftdi device with vid 0403, pid 6010, description '*', serial '*' at bus location '*' Error: no device found Error: unable to open ftdi device with vid 0403, pid 6014, description '*', serial '*' at bus location '*' ** OpenOCD init failed ** shutdown command invoked Assertion failed! Program: C:\Users\Stephen\.platformio\packages\tool-openocd-esp32\bin\openocd.exe File: ../src/jtag/core.c, Line 343 Expression: jtag_trst == 0 *** [upload] Error 3 ================================================================================== [FAILED] Took 32.06 seconds ================================================================================== The terminal process "C:\Users\Stephen\.platformio\penv\Scripts\platformio.exe 'run', '--target', 'upload', '--environment', 'esp32doit-devkit-v1'" terminated with exit code: 1.
Here is the Platformio.ini for the above output:
[platformio.ini] default_envs = esp32doit-devkit-v1 [env:esp32doit-devkit-v1] platform = espressif32 board = esp32doit-devkit-v1 framework = arduino monitor_speed = 115200 lib_deps = ropg/ezTime@^0.8.3 me-no-dev/ESP Async WebServer@^1.2.3 khoih-prog/AsyncHTTPRequest_Generic @ ^1.3.1 lib_ignore = STM32AsyncTCP STM32duino LwIP STM32Ethernet WebServer_WT32_ETH01 upload_port = COM6 build_type = debug upload_protocol = esp-prog upload_speed = 115200 debug_tool = esp-prog debug_init_break = tbreak setup debug_speed = 500`Preformatted text`
Most of the configurations I have tried simply get stuck looking for an upload packet.
Has anyone gotten EDP-PROG to work, uploading to DOIT Devkit v1 board?
I’d inlude more info but I’ve tried about 15 different configurations, including ones that include/exclude plugging in both USB’s at the same time.