When I erase flash from which arm11 boot, I can no longer attach to JTAG port of the the arm11. I can still scan-out the the two cores but then jtag_validate_chain() reports errors (see debug output).
With a valid image (that basically set plls, ddr, not etc.) I can attach to the arm11 via JTAG. Can anyone recommend how to debug this one? Thanks, Michal Open On-Chip Debugger 0.3.0-in-development (2009-08-01-21:44) svn:2571 $URL: svn://svn.berlios.de/openocd/trunk/src/openocd.c $ For bug reports, read http://svn.berlios.de/svnroot/repos/openocd/trunk/BUGS User : 5 0 command.c:396 command_print(): debug_level: 3 Debug: 6 1 configuration.c:83 find_file(): found /tools/arm/atmel/olimex-arm-usb-ocd.cfg Debug: 8 1 command.c:68 script_debug(): command - interface Debug: 9 1 command.c:77 script_debug(): interface - argv[0]=ocd_interface Debug: 10 1 command.c:77 script_debug(): interface - argv[1]=ft2232 Debug: 12 1 command.c:68 script_debug(): command - ft2232_device_desc Debug: 13 1 command.c:77 script_debug(): ft2232_device_desc - argv[0]=ocd_ft2232_device_desc Debug: 14 1 command.c:77 script_debug(): ft2232_device_desc - argv[1]=Olimex OpenOCD JTAG A Debug: 16 2 command.c:68 script_debug(): command - ft2232_layout Debug: 17 2 command.c:77 script_debug(): ft2232_layout - argv[0]=ocd_ft2232_layout Debug: 18 2 command.c:77 script_debug(): ft2232_layout - argv[1]=olimex-jtag Debug: 20 2 command.c:68 script_debug(): command - ft2232_vid_pid Debug: 21 2 command.c:77 script_debug(): ft2232_vid_pid - argv[0]=ocd_ft2232_vid_pid Debug: 22 2 command.c:77 script_debug(): ft2232_vid_pid - argv[1]=0x15ba Debug: 23 2 command.c:77 script_debug(): ft2232_vid_pid - argv[2]=0x0003 Debug: 24 3 configuration.c:83 find_file(): found /tools/arm/mindspeed/darwin.cfg Debug: 25 3 configuration.c:83 find_file(): found c100.cfg Debug: 27 3 command.c:68 script_debug(): command - reset_config Debug: 28 3 command.c:77 script_debug(): reset_config - argv[0]=ocd_reset_config Debug: 29 3 command.c:77 script_debug(): reset_config - argv[1]=trst_and_srst Debug: 30 3 command.c:77 script_debug(): reset_config - argv[2]=separate Debug: 31 3 tcl.c:237 jim_newtap_cmd(): Creating New Tap, Chip: c100, Tap: dsp, Dotted: c100.dsp, 8 params Debug: 32 3 tcl.c:253 jim_newtap_cmd(): Processing option: -irlen Debug: 33 3 tcl.c:253 jim_newtap_cmd(): Processing option: -ircapture Debug: 34 3 tcl.c:253 jim_newtap_cmd(): Processing option: -irmask Debug: 35 3 tcl.c:253 jim_newtap_cmd(): Processing option: -expected-id Debug: 36 3 core.c:1116 jtag_tap_init(): Created Tap: c100.dsp @ abs position 0, irlen 5, capture: 0x1 mask: 0x1f Debug: 37 3 tcl.c:237 jim_newtap_cmd(): Creating New Tap, Chip: c100, Tap: cpu, Dotted: c100.cpu, 8 params Debug: 38 3 tcl.c:253 jim_newtap_cmd(): Processing option: -irlen Debug: 39 4 tcl.c:253 jim_newtap_cmd(): Processing option: -ircapture Debug: 40 4 tcl.c:253 jim_newtap_cmd(): Processing option: -irmask Debug: 41 4 tcl.c:253 jim_newtap_cmd(): Processing option: -expected-id Debug: 42 4 core.c:1116 jtag_tap_init(): Created Tap: c100.cpu @ abs position 0, irlen 5, capture: 0x1 mask: 0x1f Debug: 43 4 target.c:4295 jim_target(): Target command params: Debug: 44 4 target.c:4296 jim_target(): target create c100.cpu arm11 -endian little -chain-position c100.cpu Debug: 46 4 command.c:68 script_debug(): command - bank Debug: 47 4 command.c:77 script_debug(): bank - argv[0]=ocd_flash_bank Debug: 48 4 command.c:77 script_debug(): bank - argv[1]=cfi Debug: 49 4 command.c:77 script_debug(): bank - argv[2]=0x20000000 Debug: 50 4 command.c:77 script_debug(): bank - argv[3]=0x01000000 Debug: 51 4 command.c:77 script_debug(): bank - argv[4]=2 Debug: 52 4 command.c:77 script_debug(): bank - argv[5]=2 Debug: 53 4 command.c:77 script_debug(): bank - argv[6]=c100.cpu Debug: 55 4 command.c:68 script_debug(): command - gdb_memory_map Debug: 56 5 command.c:77 script_debug(): gdb_memory_map - argv[0]=ocd_gdb_memory_map Debug: 57 5 command.c:77 script_debug(): gdb_memory_map - argv[1]=enable Debug: 59 5 command.c:68 script_debug(): command - init Debug: 60 5 command.c:77 script_debug(): init - argv[0]=ocd_init Debug: 61 6 openocd.c:129 handle_init_command(): target init complete Debug: 62 6 ft2232.c:2059 ft2232_init(): ft2232 interface using shortest path jtag state transitions Debug: 63 6 ft2232.c:1805 ft2232_init_ftd2xx(): 'ft2232' interface using FTD2XX with 'olimex-jtag' layout (15ba:0003) Debug: 64 533 ft2232.c:1916 ft2232_init_ftd2xx(): current latency timer: 2 Info : 65 534 ft2232.c:1938 ft2232_init_ftd2xx(): device: 4 Info : 66 535 ft2232.c:1939 ft2232_init_ftd2xx(): deviceID: 364511235 Info : 67 535 ft2232.c:1940 ft2232_init_ftd2xx(): SerialNumber: FTPUDDCF A Info : 68 535 ft2232.c:1941 ft2232_init_ftd2xx(): Description: Olimex OpenOCD JTAG A Debug: 69 535 ft2232.c:2387 olimex_jtag_init(): 80 08 1b Debug: 70 536 ft2232.c:2431 olimex_jtag_init(): 82 09 0f Debug: 71 538 ft2232.c:477 ft2232_speed(): 86 00 00 Debug: 72 548 openocd.c:136 handle_init_command(): jtag interface init complete Debug: 73 548 core.c:1161 jtag_init_inner(): Init JTAG chain Debug: 74 549 core.c:291 jtag_call_event_callbacks(): jtag event: JTAG controller reset (RESET or TRST) Debug: 75 549 core.c:807 jtag_reset_callback(): - Debug: 76 549 core.c:807 jtag_reset_callback(): - Info : 77 553 core.c:874 jtag_examine_chain_display(): JTAG tap: c100.dsp tap/device found: 0x27b3645b (mfg: 0x22d, part: 0x7b36, ver: 0x2) Info : 78 553 core.c:933 jtag_examine_chain_match_tap(): JTAG Tap/device matched Info : 79 553 core.c:874 jtag_examine_chain_display(): JTAG tap: c100.cpu tap/device found: 0x27b3645b (mfg: 0x22d, part: 0x7b36, ver: 0x2) Info : 80 553 core.c:933 jtag_examine_chain_match_tap(): JTAG Tap/device matched Error: 81 555 core.c:1071 jtag_validate_chain(): Could not validate JTAG scan chain, IR mismatch, scan returned 0x0FFF. tap=c100.dsp pos=0 expected 0x1 got 3 Warn : 82 555 core.c:1181 jtag_init_inner(): Could not validate JTAG chain, continuing anyway... Debug: 83 555 openocd.c:142 handle_init_command(): jtag init complete Error: 84 557 arm11_dbgtap.c:132 arm11_in_handler_SCAN_N(): 'arm11 target' JTAG communication error SCREG SCAN OUT 0x00 (expected 0x10) Debug: 85 568 arm11.c:1595 arm11_examine(): error while calling "jtag_execute_queue()" Debug: 86 569 openocd.c:151 handle_init_command(): flash init complete Debug: 87 569 openocd.c:155 handle_init_command(): mflash init complete Debug: 88 569 openocd.c:159 handle_init_command(): NAND init complete Debug: 89 569 openocd.c:163 handle_init_command(): pld init complete Debug: 90 569 gdb_server.c:2242 gdb_init(): gdb service for target arm11 at port 3333 _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development