the order of script files passed to openOCD matters. the order should be
interface, board, target
sudo openocd -f interface/openocd-usb-hs.cfg -f board/egwu_board.cfg
Open On-Chip Debugger 0.7.0 (2015-03-16-10:11)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.sourceforge.net/doc/doxygen/bugs.html
Info : only one transport option; autoselect 'jtag'
adapter_nsrst_delay: 200
jtag_ntrst_delay: 200
adapter speed: 10 kHz
cortex_m3 reset_config vectreset
cortex_m3 reset_config sysresetreq
Info : max TCK change to: 30000 kHz
Info : clock speed 10 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: lpc1788.cpu: IR capture error; saw 0x0f not 0x01
Warn : Bypassing JTAG setup events due to errors
Warn : Invalid ACK 0x7 in JTAG-DP transaction
Polling target lpc1788.cpu failed, GDB will be halted. Polling again in 100ms
Polling target lpc1788.cpu failed, GDB will be halted. Polling again in 300ms
Polling target lpc1788.cpu failed, GDB will be halted. Polling again in 700ms
Polling target lpc1788.cpu failed, GDB will be halted. Polling again in 1500ms
Polling target lpc1788.cpu failed, GDB will be halted. Polling again in 3100ms
Polling target lpc1788.cpu failed, GDB will be halted. Polling again in 6300ms
No comments:
Post a Comment