Help debugging ESP32 WROOM with jlink edu mini

PaulELong
Posts: 9
Joined: Thu Oct 24, 2019 9:47 pm

Help debugging ESP32 WROOM with jlink edu mini

Postby PaulELong » Fri Nov 08, 2019 6:25 pm

I'm trying to setup a debugging, but OpenOCD fails to connect and repeats the warning "Failed to receive data from device: LIBUSB_ERROR_TIMEOUT." Then I see Error: Sending data to device timed out. I'll put the full output below.

The steps I remember that I took to get here are:
1. Installed driver for jlink edu mini
2. Ran jlink.exe, it prompted me to update firmware, which I did.
3. Ran USB Driver Tool to set at WinUSB
4. Ran OpenOCD (see below)

I found on the web that someone else mentioned issues with jlink edu mini, so I'm wondering if it works? And if not, why doesn't it work, like who should I follow up with next?

Here's the log output

Code: Select all

PS> openocd -f interface/jlink.cfg -f board/esp-wroom-32.cfg
Open On-Chip Debugger  v0.10.0-esp32-20190708 (2019-07-08-11:04)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.org/doc/doxygen/bugs.html
adapter speed: 20000 kHz
Info : Configured 2 cores
esp32 interrupt mask on
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Warn : Failed to receive data from device: LIBUSB_ERROR_TIMEOUT.
Info : J-Link EDU Mini V1 compiled Oct 22 2019 16:28:45
Warn : Failed to receive data from device: LIBUSB_ERROR_TIMEOUT.
Info : Hardware version: 1.00
Warn : Failed to send data to device: LIBUSB_ERROR_TIMEOUT.
Error: Sending data to device timed out.
Error: transport_write() failed: timeout occurred.
Error: jaylink_get_hardware_status() failed: timeout occurred.

Warn : Flash driver of esp32.flash does not support free_driver_priv()
Warn : Flash driver of irom does not support free_driver_priv()
Warn : Flash driver of drom does not support free_driver_priv()
Thanks -Paul

Who is online

Users browsing this forum: mzimmers and 20 guests