> Info : JTAG tap: avr32ap7000.cpu tap/device found: 0x21e8203f > (Manufacturer: 0x01f, Part: 0x1e82, Version: 0x2) > Info : JTAG Tap/device matched > Warn : Unexpected idcode after end of chain! 384 0x8000007f > Warn : Unexpected idcode after end of chain! 416 0x000000ff > Warn : Unexpected idcode after end of chain! 448 0x000000ff > Warn : Unexpected idcode after end of chain! 480 0x000000ff > Warn : Unexpected idcode after end of chain! 512 0x000000ff > Warn : Unexpected idcode after end of chain! 544 0x000000ff > Warn : Unexpected idcode after end of chain! 576 0x000000ff > Warn : Unexpected idcode after end of chain! 608 0x000000ff > Error: Could not validate end of JTAG scan chain, IR mismatch, > scan returned 0x21. pos=4 expected 0x3 got 2
Okay, this seems to happen because of my bogus arm7tdmi target. In the meantime, I created a dummy "avr32" target and now I get this: Debug: 56 3 openocd.c:137 handle_init_command(): target init complete Debug: 57 3 ft2232.c:1646 ft2232_init_libftdi(): 'ft2232' interface using libftdi with 'olimex-jtag' layout (15ba:0004) Debug: 58 20 ft2232.c:1689 ft2232_init_libftdi(): current latency timer: 2 Debug: 59 21 ft2232.c:2033 olimex_jtag_init(): 80 08 1b Debug: 60 22 ft2232.c:2076 olimex_jtag_init(): 82 09 0f Debug: 61 23 ft2232.c:289 ft2232_speed(): 86 57 02 Debug: 62 27 openocd.c:144 handle_init_command(): jtag interface init complete Debug: 63 27 jtag.c:2199 jtag_init_inner(): Init JTAG chain Debug: 64 27 jtag.c:385 jtag_call_event_callbacks(): jtag event: JTAG controller reset (RESET or TRST) Debug: 65 27 jtag.c:1446 jtag_reset_callback(): - Debug: 66 28 jtag.c:385 jtag_call_event_callbacks(): jtag event: JTAG controller reset (RESET or TRST) Debug: 67 28 jtag.c:1446 jtag_reset_callback(): - Info : 68 94 jtag.c:1566 jtag_examine_chain(): JTAG tap: ap7000.cpu tap/device found: 0x21e8203f (Manufacturer: 0x01f, Part: 0x1e82, Version: 0x2) Info : 69 94 jtag.c:1604 jtag_examine_chain(): JTAG Tap/device matched -----> Nice! Debug: 70 94 jtag.c:385 jtag_call_event_callbacks(): jtag event: JTAG controller reset (RESET or TRST) Debug: 71 94 jtag.c:1446 jtag_reset_callback(): - Error: 72 98 jtag.c:1689 jtag_validate_chain(): Could not validate end of JTAG scan chain, IR mismatch, scan returned 0x21. pos=4 expected 0x3 got 2 -----> What should I make up of this? Warn : 73 98 jtag.c:2219 jtag_init_inner(): Could not validate JTAG chain, continuing anyway... Debug: 74 98 openocd.c:150 handle_init_command(): jtag init complete My plan is to create the read/write memory functions first, then try some test code that will operate LEDs. Then I'll add all I need to be able to flash. GDB functionality is on the end of my list, I already have a working bootloader :-) _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development