SparkFun Forums 

Where electronics enthusiasts find answers.

Open source ARM Debugger
By xenonym
#143673
I am trying to use openocd from a xubunutu desktop machine,
I installed openocd 0.5.0 using "sudo apt-get install openocd"
but I seem unable to talk to either my beagle board or my panda board with my flyswatter
I get the following errors and am at a loss as to what to do next ....

openocd -s lib/openocd/ -f interface/flyswatter.cfg -f board/ti_beagleboard.cfg
Open On-Chip Debugger 0.5.0 (2011-12-03-10:15)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.berlios.de/doc/doxygen/bugs.html
Info : only one transport option; autoselect 'jtag'
RCLK - adaptive
Warn : omap3530.dsp: huge IR length 38
RCLK - adaptive
trst_only separate trst_push_pull
Info : RCLK (adaptive clock speed) not supported - fallback to 1000 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: omap3530.jrc: IR capture error; saw 0x3f not 0x01
Warn : Bypassing JTAG setup events due to errors

sudo openocd -s lib/openocd/ -f interface/flyswatter.g -f target/omap3530_norclk.cfg -c init -c "reset init"
Open On-Chip Debugger 0.5.0 (2011-12-03-10:15)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.berlios.de/doc/doxygen/bugs.html
Info : only one transport option; autoselect 'jtag'
1000 kHz
Warn : omap3530.dsp: huge IR length 38
trst_only separate trst_push_pull
Info : clock speed 1000 kHz
Error: JTAG scan chain interrogation failed: all zeroes
Error: Check JTAG interface, timings, target power, etc.
Error: Trying to use configured scan chain anyway...
Error: omap3530.jrc: IR capture error; saw 0x00 not 0x01
Warn : Bypassing JTAG setup events due to errors
1000 kHz
Error: JTAG scan chain interrogation failed: all zeroes
Error: Check JTAG interface, timings, target power, etc.
Error: Trying to use configured scan chain anyway...
Error: omap3530.jrc: IR capture error; saw 0x00 not 0x01
Warn : Bypassing JTAG setup events due to errors
Error: target not examined yet
Runtime Error: /usr/share/openocd/scripts/target/omap3530_norclk.cfg:66:
in procedure 'omap3_dbginit'
in procedure 'cortex_a8' called at file "/usr/share/openocd/scripts/target/omap3530_norclk.cfg", line 66

sudo openocd -s lib/openocd/ -f interface/flyswatter.g -f board/ti_pandaboard.cfg
Open On-Chip Debugger 0.5.0 (2011-12-03-10:15)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.berlios.de/doc/doxygen/bugs.html
Info : only one transport option; autoselect 'jtag'
RCLK - adaptive
Using dbgbase = 0x80000000
force hard breakpoints
trst_only separate trst_push_pull
Info : RCLK (adaptive clock speed) not supported - fallback to 6000 kHz
Error: JTAG scan chain interrogation failed: all zeroes
Error: Check JTAG interface, timings, target power, etc.
Error: Trying to use configured scan chain anyway...
Error: omap4430.jrc: IR capture error; saw 0x00 not 0x01
Warn : Bypassing JTAG setup events due to errors