Page 1 of 1

openocd jlink error

Posted: Wed Jun 10, 2020 6:00 am
by guoyun
下面的错误是什么意思

E:\Program Files (x86)\.espressif\tools\openocd-esp32\v0.10.0-esp32-20190313\ope
nocd-esp32\share\openocd\scripts>openocd -f \interface\jlink.cfg
Open On-Chip Debugger v0.10.0-esp32-20190313 (2019-03-13-09:57)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : J-Link V9 compiled Dec 13 2019 11:14:50
Info : Hardware version: 9.50
Info : VTarget = 3.316 V
Error: JTAG I/O operation failed: 0x1.
Error: jaylink_jtag_io() failed: device: unspecified error.
Error: An adapter speed is not selected in the init script. Insert a call to ada
pter_khz or jtag_rclk to proceed.

Re: openocd jlink error

Posted: Mon Jun 29, 2020 10:00 pm
by Scott.Bonomi
you need a line like

adapter_khz 1000

in your board description file