Not able to flash FW with JTAG

aaantonkaaa
Posts: 9
Joined: Tue Nov 17, 2020 12:19 am

Not able to flash FW with JTAG

Postby aaantonkaaa » Sun Jan 17, 2021 6:32 pm

Hi there I am trying to upload the FW through the JTAG adapter ( FTDI 2232hl) with the MS code and espressif add-on. I am able to upload new FW to ESP from the command line with

Code: Select all

openocd -f board/esp32-wrover-kit-3.3v.cfg -c "program_esp filename.bin 0x10000 verify exit"
so wiring must be ok and JTAG works well.

I had to update openOCD in ESP-IDF. to do that I edited the "tools.json" and start install.bat. -> MS code is not showing an error about the requested openOCD version anymore.

So I added "idf.flashType": "JTAG" into "settings.json" and tried to hit the flash button. But I am getting following error:

Code: Select all

Failed to flash the device (JTag), please try again [got response: 
'C:\Users\r\.espressif\tools\openocd-esp32\v0.10.0-esp32-20201202/openocd-esp32/share/openocd/scripts/target/esp_common.cfg:130: 
Error: c:UsersrDocumentsESPRESSIFpress_deskauild/flasher_args.json: 
Invalid argument in procedure 'program_esp_bins' at file
 "C:\Users\r\.espressif\tools\openocd-esp32\v0.10.0-esp32-20201202/openocd-esp32/share/openocd/scripts/target/esp_common.cfg", line 130',
 expecting: '0']
Cay anyone helps me to solve this error

Thanks a lot
Roman

Who is online

Users browsing this forum: Majestic-12 [Bot] and 117 guests