You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description of problem
ESP-Prog is not working with ESP32 DOIT Kit v1 using PlatformIO. The issue seems to be with the OpenOCD command called by PlatformIO. I was able to run it fine using the Espressif IDE, which uses the following commands for debugging and flashing:
For debugging
-s ${openocd_path}/share/openocd/scripts -f interface/ftdi/esp32_devkitj_v1.cfg -f target/esp32.cfg
Hi @isfandyar01, unfortunately, we don't have esp-prog at hand so we cannot debug the issue for you. According to your logs, OpenOCD is not able to communicate with the debug probe, although it's strange that it works just fine with IDF. What OpenOCD version is used in the IDF development environment? Please also make sure that your application doesn't interfere with the JTAG pins.
sorry for late reply thing is i believe platformio used patched version of open ocd with esp-idf framework
i was able to get same setup working with consistency using esp-ide based on eclipse which is provided by espressif
in past the setup was working very well with platformio and it was very stable but latest platformio built have broken it
PlatformIO Core.
Configuration
Operating system: WIN 10 64bit
PlatformIO Version : 6.1.15
Description of problem
ESP-Prog is not working with ESP32 DOIT Kit v1 using PlatformIO. The issue seems to be with the OpenOCD command called by PlatformIO. I was able to run it fine using the Espressif IDE, which uses the following commands for debugging and flashing:
For debugging
-s ${openocd_path}/share/openocd/scripts -f interface/ftdi/esp32_devkitj_v1.cfg -f target/esp32.cfg
For flashing
-s ${openocd_path}/share/openocd/scripts -c 'set ESP32_FLASH_VOLTAGE 3.3' -f interface/ftdi/esp32_devkitj_v1.cfg -f target/esp32.cfg
Steps to Reproduce
Connect ESP32 DOIT Kit v1 with ESP-Prog.
Attempt to debug or flash using PlatformIO.
The content of platformio.ini:
[env:esp32doit-devkit-v1]
platform = espressif32
board = esp32doit-devkit-v1
framework = espidf
monitor_speed = 115200
build_type = debug
monitor_filters = esp32_exception_decoder
debug_tool = esp-prog
upload_protocol = esp-prog
upload_port = COM10 ; esp prog port
main.cpp
The text was updated successfully, but these errors were encountered: