Flashing esp-at firmware via esp-prog

Piotrulo1
Posts: 3
Joined: Wed Nov 08, 2023 11:31 am

Flashing esp-at firmware via esp-prog

Postby Piotrulo1 » Wed Apr 10, 2024 8:50 am

I try to flash firmware on esp32 wroom 32u via esp-prog, to do this i use

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"
and i use it for every binary needed, so bootloader.bin, partition-table.bin etc. Connected jtag:
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
I'm using ubuntu, flashing via usb uart bridge on esp using esptool or idf.py works as charm, but via esp-prog it just won't work at all

ESP_Sprite
Posts: 9764
Joined: Thu Nov 26, 2015 4:08 am

Re: Flashing esp-at firmware via esp-prog

Postby ESP_Sprite » Thu Apr 11, 2024 12:21 am

Did you copy 60-openocd.rules to your udev rules directory?

Who is online

Users browsing this forum: No registered users and 54 guests