A issue on ESP-WROVER-KIT-VB board based on esp-idf v4.0

ymhsss
Posts: 2
Joined: Sun Mar 15, 2020 10:35 am

A issue on ESP-WROVER-KIT-VB board based on esp-idf v4.0

Postby ymhsss » Sun Mar 15, 2020 10:56 am

Hello Dear supporter,
I got a problem to run openocd on ESP-WROVER-KIT-VB board.
-I use esp-idf v4.0 .
-openocd version is v0.10.0-esp32-20190313.
-pc is window10.
I see we should run "openocd -f board/esp32-wrover-kit-3.3v.cfg"
but within openocd version "v0.10.0-esp32-20190313" , there is no "esp32-wrover-kit-3.3v.cfg", the file exists in openocd version "v0.10.0-esp32-20191114".
Question:
which esp idf branch can support JTAG debug on ESP-WROVER-KIT-VB board?
or how i fix the situation i describe in esp-idf v4.0 .
thanks a lot.

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: A issue on ESP-WROVER-KIT-VB board based on esp-idf v4.0

Postby ESP_Angus » Fri Jul 17, 2020 12:14 am

Hi ymhsss,

Sorry noone got back to you about this earlier.

You're correct that the docs show the command line for openocd version 20191114 but the openocd version supplied with ESP-IDF v4.0.x is still 20190313. Will fix ASAP.

In the meantime, there are two options - either should work:
  • Continue using the newer openocd version with ESP-IDF v4.0.x, you should not encounter any problems.
  • Use the following command line on the older openocd version: openocd -f interface/ftdi/esp32_devkitj_v1.cfg -f board/esp-wroom-32.cfg
(Note for anyone else who finds this: if you need "esp32-wrover-kit-1.8v.cfg" instead of "esp32-wrover-kit-3.3v.cfg" then the command for openocd 20190313 is openocd -s tcl -f interface/ftdi/esp32_devkitj_v1.cfg -c "set ESP32_FLASH_VOLTAGE 1.8" -f board/esp-wroom-32.cfg" to override the default 3.3V flash voltage.)

Who is online

Users browsing this forum: Baidu [Spider] and 237 guests