Search found 6 matches

by adolfi
Wed Apr 03, 2019 6:52 am
Forum: Hardware
Topic: JLink + openocd for ESP32WROOM not working
Replies: 9
Views: 19956

Re: JLink + openocd for ESP32WROOM not working

Hi 4InnoUnthan,
the wroom configuration file
share/openocd/scripts/board/esp-wroom-32.cfg
is in openocd distribution. The frequency setting is in line 61 in my installation.

As for the functionality, as I said, it works fine for me on a Linux host (not VM). On native windows I had some troubles ...
by adolfi
Fri Mar 29, 2019 6:15 pm
Forum: Hardware
Topic: JLink + openocd for ESP32WROOM not working
Replies: 9
Views: 19956

Re: JLink + openocd for ESP32WROOM not working

Hi ESP_igrr,
first of all I realized I did not mention I am running Linux Mint 19.1 in a VirtualBox VM. Sorry about that.
I did not think this made a difference, as I saw the basic connection was working (JLink and usb2uart devices assigned to the virtual machine).

Instead I had the chance to test ...
by adolfi
Thu Mar 21, 2019 2:59 pm
Forum: Hardware
Topic: JLink + openocd for ESP32WROOM not working
Replies: 9
Views: 19956

Re: JLink + openocd for ESP32WROOM not working

Hi,
I managed to get it "almost" working by lowering JTAG programming frequency in share/openocd/scripts/board/esp-wroom-32.cfg

#adapter_khz 20000
adapter_khz 5000


However, the system is slow, and I have some hiccups:
- the first GDB connection generates the following openocd log snippet and ...
by adolfi
Tue Mar 19, 2019 11:22 am
Forum: Hardware
Topic: JLink + openocd for ESP32WROOM not working
Replies: 9
Views: 19956

Re: JLink + openocd for ESP32WROOM not working

Hi ESP_igrr,
when I wrote
I get similar errors if I use the option
CODE: SELECT ALL

-c "init; reset halt"
to openocd

I meant that running just
bin/openocd -s share/openocd/scripts -f interface/jlink.cfg -f board/esp-wroom-32.cfg -c "init; reset halt"

I get these errors

Info : J-Link V10 ...
by adolfi
Mon Mar 18, 2019 3:33 pm
Forum: Hardware
Topic: JLink + openocd for ESP32WROOM not working
Replies: 9
Views: 19956

Re: JLink + openocd for ESP32WROOM not working


What output do you get if you run the following?

bin/openocd -s share/openocd/scripts -f interface/jlink.cfg -f board/esp-wroom-32.cfg -c "init; reset halt"

After this, try connecting with GDB.


Hi ESP_igrr,
thanks for answering.
I was using the AT FW and I realized that the default RTS/CTS ...
by adolfi
Fri Mar 15, 2019 4:44 pm
Forum: Hardware
Topic: JLink + openocd for ESP32WROOM not working
Replies: 9
Views: 19956

JLink + openocd for ESP32WROOM not working

Hi all,
I am new to ESP32. I connected ESP32-DevKitC with SEGGER JLink following the instructions at here https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/jtag-debugging/configure-other-jtag.html .

I use the following command line for OpenOCD
bin/openocd -s share/openocd/scripts -f ...

Go to advanced search