SparkFun Forums 

Where electronics enthusiasts find answers.

Open source ARM Debugger
By smachin
#158730
I'm trying to connect my flyswatter via OpenOCD to a new custom TI AM335X based board. I'm getting these error messages below. How can I get this working?

sudo /usr/local/bin/openocd -f interface/flyswatter.cfg -f /usr/share/openocd/scripts/target/ti_AM335X.cfg -c init -c "reset init"
[sudo] password for smachin:
Open On-Chip Debugger 0.6.1 (2013-04-19-13:46)
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 speed: 16000 kHz
trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain
Info : clock speed 6000 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: am335x.jrc: IR capture error; saw 0x3f not 0x01
Warn : Bypassing JTAG setup events due to errors
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: am335x.jrc: IR capture error; saw 0x3f not 0x01
Warn : Bypassing JTAG setup events due to errors
By niedermaier
#158779
Hello Smachin,

i would try the following things:
1. Reduce adapter_khz to e. g. 100 for testing -> "adapter_khz 100"
2. Get lastest version of openocd from git at sourceforge and compile it -> git://openocd.git.sourceforge.net

Cheers

MaTT
long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]