I’ll try and make this short.
I am trying to use OpenOCD with the above hardware.
I’ve found a *.cfg file called amontec-tiny.cfg in /usr/local/lib/openocd/interface/ which I am now using.
I give the command: ```
sudo openocd -f amontec-tiny.cfg
And receive:
Open On-Chip Debugger 1.0 (2008-04-17-13:12) svn:588
$URL: svn://svn.berlios.de/openocd/trunk/src/openocd.c $
Info: options.c:50 configuration_output_handler(): jtag_speed: 0, 0
Info: jtag.c:1376 jtag_examine_chain(): JTAG device found: 0x07ff3b03 (Manufacturer: 0x581, Part: 0x7ff3, Version: 0x0)
Info: jtag.c:1376 jtag_examine_chain(): JTAG device found: 0x0c24c05f (Manufacturer: 0x02f, Part: 0xc24c, Version: 0x0)
Error: jtag.c:1386 jtag_examine_chain(): number of discovered devices in JTAG chain (4) doesn’t match configuration (0)
Error: jtag.c:1387 jtag_examine_chain(): check the config file and ensure proper JTAG communication (connections, speed, …)
Error: jtag.c:1545 jtag_init_inner(): trying to validate configured JTAG chain anyway…
Error: jtag.c:1443 jtag_validate_chain(): Error validating JTAG scan chain, IR mismatch, scan returned 0x01
Error: jtag.c:1443 jtag_validate_chain(): Error validating JTAG scan chain, IR mismatch, scan returned 0x01
Error: jtag.c:1443 jtag_validate_chain(): Error validating JTAG scan chain, IR mismatch, scan returned 0x01
Error: jtag.c:1443 jtag_validate_chain(): Error validating JTAG scan chain, IR mismatch, scan returned 0x00
Error: jtag.c:1443 jtag_validate_chain(): Error validating JTAG scan chain, IR mismatch, scan returned 0x01
Error: jtag.c:1443 jtag_validate_chain(): Error validating JTAG scan chain, IR mismatch, scan returned 0x01
Error: jtag.c:1554 jtag_init_inner(): Could not validate JTAG chain, exit
Error: jtag.c:1338 jtag_examine_chain(): JTAG communication failure, check connection, JTAG interface, target power etc.
Error: jtag.c:1545 jtag_init_inner(): trying to validate configured JTAG chain anyway…
Error: jtag.c:1443 jtag_validate_chain(): Error validating JTAG scan chain, IR mismatch, scan returned 0x01
Error: jtag.c:1443 jtag_validate_chain(): Error validating JTAG scan chain, IR mismatch, scan returned 0x01
Error: jtag.c:1443 jtag_validate_chain(): Error validating JTAG scan chain, IR mismatch, scan returned 0x01
Error: jtag.c:1443 jtag_validate_chain(): Error validating JTAG scan chain, IR mismatch, scan returned 0x00
Error: jtag.c:1443 jtag_validate_chain(): Error validating JTAG scan chain, IR mismatch, scan returned 0x00
Error: jtag.c:1443 jtag_validate_chain(): Error validating JTAG scan chain, IR mismatch, scan returned 0x01
Error: jtag.c:1554 jtag_init_inner(): Could not validate JTAG chain, exit
Warning: telnet_server.c:624 telnet_init(): no telnet port specified, using default port 4444
Warning: gdb_server.c:1952 gdb_init(): no gdb ports allocated as no target has been specified
I have tried lots of different configuration options, including some I found in _<B>**/usr/local/lib/openocd/target/omap5912.cfg**</B>_, but to no avail.
Infact, I receive:
Open On-Chip Debugger 1.0 (2008-04-17-13:12) svn:588
$URL: svn://svn.berlios.de/openocd/trunk/src/openocd.c $
Info: options.c:50 configuration_output_handler(): jtag_speed: 4, 4
Info: options.c:50 configuration_output_handler(): Open On-Chip Debugger 1.0 (2008-04-17-13:12) svn:588
Info: jtag.c:1376 jtag_examine_chain(): JTAG device found: 0x03ff1d81 (Manufacturer: 0x6c0, Part: 0x3ff1, Version: 0x0)
Info: jtag.c:1376 jtag_examine_chain(): JTAG device found: 0x0692602f (Manufacturer: 0x017, Part: 0x6926, Version: 0x0)
Warning: telnet_server.c:624 telnet_init(): no telnet port specified, using default port 4444
Warning: gdb_server.c:1958 gdb_init(): no gdb port specified, using default port 3333
Info: jtag.c:1376 jtag_examine_chain(): JTAG device found: 0x03ff1d81 (Manufacturer: 0x6c0, Part: 0x3ff1, Version: 0x0)
Info: jtag.c:1376 jtag_examine_chain(): JTAG device found: 0x0692602f (Manufacturer: 0x017, Part: 0x6926, Version: 0x0)
Error: arm926ejs.c:339 arm926ejs_examine_debug_reason(): BUG: unknown debug reason: 0x0
Would anyone be kind enough to help me please?