Code: Select all
openocd -s ~/.espressif/tools/openocd-esp32/share/openocd/scripts -f interface/ftdi/esp32_devkitj_v1.cfg -f board/esp-wroom-32.cfg -c "program_esp esp-at.bin 0x100000 verify exit"
TDI - IO12
TCL - IO13
TDO - IO15
TMS - IO14
The problem is, when i try to flash it i get:
Code: Select all
Open On-Chip Debugger v0.12.0-esp32-20230419 (2023-04-18-22:02)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
adapter speed: 20000 kHz
WARNING: boards/esp-wroom-32.cfg is deprecated, and may be removed in a future release.
** program_esp input args <0x1000 verify exit> **
Error: unable to open ftdi device with description '*', serial '*' at bus location '*'
** OpenOCD init failed **
shutdown command invoked
/home/szymon/.espressif/tools/openocd-esp32/v0.12.0-esp32-20230419/openocd-esp32/share/openocd/scripts/target/esp_common.cfg:4: Error:
at file "/home/szymon/.espressif/tools/openocd-esp32/v0.12.0-esp32-20230419/openocd-esp32/share/openocd/scripts/target/esp_common.cfg", line 4