Hello,
I tried to get my JTAGkey-Tiny running with the LPC2148 board from www.ett.co.th and openocd.
Using the unmodified configuration file from the openocd release r592:
./openocd-ftd2xx.exe -f scripts/lpc2148/lpc2xxx_jtagkey.cfg
I get:
Info: options.c:50 configuration_output_handler(): jtag_speed: 3, 3
Info: options.c:50 configuration_output_handler(): Open On-Chip Debugger (2008-04-19 12:00) svn: 592
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:1431 jtag_validate_chain(): Error validating JTAG scan chain, IR mismatch, scan returned 0x00
Error: jtag.c:1431 jtag_validate_chain(): Error validating JTAG scan chain, IR mismatch, scan returned 0x3f
Error: jtag.c:1431 jtag_validate_chain(): Error validating JTAG scan chain, IR mismatch, scan returned 0x3f
Error: jtag.c:1431 jtag_validate_chain(): Error validating JTAG scan chain, IR mismatch, scan returned 0x3f
Error: jtag.c:1431 jtag_validate_chain(): Error validating JTAG scan chain, IR mismatch, scan returned 0x3f
Error: jtag.c:1431 jtag_validate_chain(): Error validating JTAG scan chain, IR mismatch, scan returned 0x3f
Error: jtag.c:1554 jtag_init_inner(): Could not validate JTAG chain, exit
Info: jtag.c:1376 jtag_examine_chain(): JTAG device found: 0xffffffff (Manufacturer: 0x7ff, Part: 0xffff, Version: 0xf)
Info: jtag.c:1376 jtag_examine_chain(): JTAG device found: 0xffffffff (Manufacturer: 0x7ff, Part: 0xffff, Version: 0xf)
Info: jtag.c:1376 jtag_examine_chain(): JTAG device found: 0xe3ffffff (Manufacturer: 0x7ff, Part: 0x3fff, Version: 0xe)
Info: jtag.c:1376 jtag_examine_chain(): JTAG device found: 0xffffffff (Manufacturer: 0x7ff, Part: 0xffff, Version: 0xf)
Info: jtag.c:1376 jtag_examine_chain(): JTAG device found: 0xffffffff (Manufacturer: 0x7ff, Part: 0xffff, Version: 0xf)
Info: jtag.c:1376 jtag_examine_chain(): JTAG device found: 0xffffffff (Manufacturer: 0x7ff, Part: 0xffff, Version: 0xf)
Info: jtag.c:1376 jtag_examine_chain(): JTAG device found: 0xffffffff (Manufacturer: 0x7ff, Part: 0xffff, Version: 0xf)
Info: jtag.c:1376 jtag_examine_chain(): JTAG device found: 0xffffffff (Manufacturer: 0x7ff, Part: 0xffff, Version: 0xf)
Info: jtag.c:1376 jtag_examine_chain(): JTAG device found: 0xffffffff (Manufacturer: 0x7ff, Part: 0xffff, Version: 0xf)
Info: jtag.c:1376 jtag_examine_chain(): JTAG device found: 0xf0ffffff (Manufacturer: 0x7ff, Part: 0x0fff, Version: 0xf)
Info: jtag.c:1376 jtag_examine_chain(): JTAG device found: 0xffffffff (Manufacturer: 0x7ff, Part: 0xffff, Version: 0xf)
Info: jtag.c:1376 jtag_examine_chain(): JTAG device found: 0xffffffff (Manufacturer: 0x7ff, Part: 0xffff, Version: 0xf)
Info: jtag.c:1376 jtag_examine_chain(): JTAG device found: 0xffffffff (Manufacturer: 0x7ff, Part: 0xffff, Version: 0xf)
Info: jtag.c:1376 jtag_examine_chain(): JTAG device found: 0xffffffff (Manufacturer: 0x7ff, Part: 0xffff, Version: 0xf)
Info: jtag.c:1376 jtag_examine_chain(): JTAG device found: 0xffffffff (Manufacturer: 0x7ff, Part: 0xffff, Version: 0xf)
Info: jtag.c:1376 jtag_examine_chain(): JTAG device found: 0xffffffff (Manufacturer: 0x7ff, Part: 0xffff, Version: 0xf)
Info: jtag.c:1376 jtag_examine_chain(): JTAG device found: 0xfc7fffff (Manufacturer: 0x7ff, Part: 0xc7ff, Version: 0xf)
Info: jtag.c:1376 jtag_examine_chain(): JTAG device found: 0xffffffff (Manufacturer: 0x7ff, Part: 0xffff, Version: 0xf)
Info: jtag.c:1376 jtag_examine_chain(): JTAG device found: 0xffffffff (Manufacturer: 0x7ff, Part: 0xffff, Version: 0xf)
Info: jtag.c:1376 jtag_examine_chain(): JTAG device found: 0xffffffff (Manufacturer: 0x7ff, Part: 0xffff, Version: 0xf)
Error: jtag.c:1386 jtag_examine_chain(): number of discovered devices in JTAG chain (20) doesn't match configuration (1)
Error: jtag.c:1387 jtag_examine_chain(): check the config file and ensure proper JTAG communication (connections, speed, ...)
...
Does anybody know what’s wrong here ?
The board is working properly. Flashing via RS232 work without problems.
The amontec JTAG demo application connects with the JTAGkey. So
I think the USB connection and drivers are OK.
Only openocd does not work ;-(
Regards
Heinz