I have a Win10 desktop with a customized variant of Eclipse and PlatformIO such that in the Project Explorer panel I have various "Build Targets" including "Build", "Clean", and "Upload", which all seem to work. The upload is over COM13 using a USB to serial adapter. This was all setup by another engineer and I inherited it. For simple compiling and uploading it works.
I'd like to get JTAG debugging/programming working. There is a Build Target labeled "Upload using Programmer" but when I try clicking it I get:
Code: Select all
*** Do not know how to make File target `program' (C:\Projects\MOT\svn\Design_SW\MOT_ESP32_Internal_Flash\program). Stop.
I already had the latest Cygwin installed (64-bit). Downloaded the OpenOCD binary from Espressif using the link at http://esp-idf.readthedocs.io/en/latest ... ndows.html and extracted it to a local directory (since there is no ~/esp/ on Windows despite what that webpage describes...). Following on to http://esp-idf.readthedocs.io/en/latest ... p32-target I opened a Cywin terminal, changed to the newly unzipped OpenOCD directory and tried to execute the example code, modified to fit a JLink debugger and an ESP-WROOM-32 module:
Code: Select all
bin/openocd -s share/openocd/scripts -f interface/jlink.cfg -f board/esp-wroom-32.cfg
C:/Projects/openocd-esp32/bin/openocd.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory