Hi all,
I am trying to use LPC-LINK2 and openocd under ubuntu 16.04 recently. LPC-Link2 has been programed with JLINK firmware.
openocd:Open On-Chip Debugger 0.9.0
board:lpc1837
I used the command to connect with the board: openocd -f interface/jlink.cfg -f board/lpc1850_spifi_generic.cfg
However it got the following errors:
adapter speed: 500 kHz
cortex_m reset_config sysresetreq
Info : J-Link LPC-Link 2 compiled May 30 2016 16:15:37
Info : J-Link caps 0xb9ff7bbf
Info : J-Link hw version 18010000
Info : J-Link hw type J-Link on LPC-Link2
Info : J-Link max mem block 35912
Info : J-Link configuration
Info : USB-Address: 0xff
Info : Kickstart power on JTAG-pin 19: 0xffffffff
Info : Vref = 3.300 TCK = 1 TDI = 0 TDO = 1 TMS = 0 SRST = 1 TRST = 1
Info : J-Link JTAG Interface ready
Info : clock speed 500 kHz
Error: JTAG scan chain interrogation failed: all ones
Error: Check JTAG interface, timings, target power, etc.
Error: Trying to use configured scan chain anyway...
Error: lpc1850.m3: IR capture error; saw 0x0f not 0x01
Warn : Bypassing JTAG setup events due to errors
Warn : Invalid ACK 0x7 in JTAG-DP transaction
Warn : Invalid ACK 0x7 in JTAG-DP transaction
Warn : Invalid ACK 0x7 in JTAG-DP transaction
Warn : Invalid ACK 0x7 in JTAG-DP transaction
Warn : Invalid ACK 0x7 in JTAG-DP transaction
Warn : Invalid ACK 0x7 in JTAG-DP transaction
Warn : Invalid ACK 0x7 in JTAG-DP transaction
Warn : Invalid ACK 0x7 in JTAG-DP transaction
Warn : Invalid ACK 0x7 in JTAG-DP transaction
Warn : Invalid ACK 0x7 in JTAG-DP transaction
It seems that there is no any differences with lpc1850 and lpc1837 in configuration file.What is wrong with it? What should I do next?
Hi Yuanbin Zhou,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------