Code: Select all
openocd -f board/esp32-wrover-kit-3.3v.cfg -c "program_esp filename.bin 0x10000 verify exit"
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']
Thanks a lot
Roman