The TCL instruction sequence looks like this: reset halt load_image ... reg 15 0x...
sleep 1000 resume --------- I'm using a versaloon JTAG adapter: interface vsllink vsllink_usb_serial "0123456789ABCDEF00000000" transport select jtag adapter_khz 1000 jtag newtap auto0 tap -expected-id 0x4ba00477 -irlen 4 target create npcd314h cortex_m -chain-position auto0.tap cortex_m reset_config vectreset init --------- I can get the same error even if I use a TI ICDI eval board as my JTAG adapter. The -d3 debug output is below. The overrun appears to happen after I call resume. What more I can do to find out the problem. I have tried "adapter_khz 10" and I still get the same error. I also have a logic trace of this - but the files are very large... Debug: 240668 3727 vsllink.c:102 vsllink_execute_queue(): ------------------------------------- vsllink -----------------------\ -------------- Debug: 240669 3727 vsllink.c:132 vsllink_execute_queue(): JTAG Scan... Debug: 240670 3727 commands.c:186 jtag_build_buffer(): DRSCAN num_fields: 2 Debug: 240671 3727 commands.c:197 jtag_build_buffer(): fields[0].out_value[3]: 0x03 Debug: 240672 3727 commands.c:197 jtag_build_buffer(): fields[1].out_value[32]: 0x00000000 Debug: 240673 3727 vsllink.c:151 vsllink_execute_queue(): JTAG Scan write DR(35 bits), end in RUN/IDLE: Debug: 240674 3727 vsllink.c:854 vsllink_debug_buffer(): 0000 03 00 00 00 00 Debug: 240675 3727 vsllink.c:353 vsllink_state_move(): tap_set_state(DRSHIFT) Debug: 240676 3727 vsllink.c:430 vsllink_scan(): tap_set_state(DRPAUSE) Debug: 240677 3727 vsllink.c:353 vsllink_state_move(): tap_set_state(RUN/IDLE) Debug: 240678 3727 vsllink.c:132 vsllink_execute_queue(): JTAG Scan... Debug: 240679 3727 commands.c:186 jtag_build_buffer(): DRSCAN num_fields: 2 Debug: 240680 3727 commands.c:197 jtag_build_buffer(): fields[0].out_value[3]: 0x07 Debug: 240681 3727 commands.c:197 jtag_build_buffer(): fields[1].out_value[32]: 0x00000000 Debug: 240682 3727 vsllink.c:151 vsllink_execute_queue(): JTAG Scan write DR(35 bits), end in RUN/IDLE: Debug: 240683 3727 vsllink.c:854 vsllink_debug_buffer(): 0000 07 00 00 00 00 Debug: 240684 3727 vsllink.c:353 vsllink_state_move(): tap_set_state(DRSHIFT) Debug: 240685 3727 vsllink.c:430 vsllink_scan(): tap_set_state(DRPAUSE) Debug: 240686 3727 vsllink.c:353 vsllink_state_move(): tap_set_state(RUN/IDLE) Debug: 240687 3727 vsllink.c:641 vsllink_jtag_execute(): JTAG scan read(35 bits, from src 3 bits to dest 0 bits): Debug: 240688 3727 vsllink.c:854 vsllink_debug_buffer(): 0000 09 00 08 08 00 Debug: 240689 3727 vsllink.c:641 vsllink_jtag_execute(): JTAG scan read(35 bits, from src 45 bits to dest 0 bits): Debug: 240690 3727 vsllink.c:854 vsllink_debug_buffer(): 0000 0a 00 08 08 00 Debug: 240691 3727 commands.c:240 jtag_read_buffer(): fields[0].in_value[3]: 0x02 Debug: 240692 3727 commands.c:240 jtag_read_buffer(): fields[1].in_value[32]: 0x01010001 Debug: 240693 3728 vsllink.c:102 vsllink_execute_queue(): ------------------------------------- vsllink -----------------------\ -------------- Debug: 240694 3729 vsllink.c:132 vsllink_execute_queue(): JTAG Scan... Debug: 240695 3729 commands.c:186 jtag_build_buffer(): IRSCAN num_fields: 1 Debug: 240696 3729 commands.c:197 jtag_build_buffer(): fields[0].out_value[4]: 0x0B Debug: 240697 3729 vsllink.c:144 vsllink_execute_queue(): JTAG Scan write IR(4 bits), end in RUN/IDLE: Debug: 240698 3729 vsllink.c:854 vsllink_debug_buffer(): 0000 0b Debug: 240699 3729 vsllink.c:353 vsllink_state_move(): tap_set_state(IRSHIFT) Debug: 240700 3729 vsllink.c:430 vsllink_scan(): tap_set_state(IRPAUSE) Debug: 240701 3729 vsllink.c:353 vsllink_state_move(): tap_set_state(RUN/IDLE) Debug: 240702 3729 vsllink.c:132 vsllink_execute_queue(): JTAG Scan... Debug: 240703 3729 commands.c:186 jtag_build_buffer(): DRSCAN num_fields: 2 Debug: 240704 3729 commands.c:197 jtag_build_buffer(): fields[0].out_value[3]: 0x01 Debug: 240705 3729 commands.c:197 jtag_build_buffer(): fields[1].out_value[32]: 0x00000000 Debug: 240706 3729 vsllink.c:151 vsllink_execute_queue(): JTAG Scan write DR(35 bits), end in RUN/IDLE: Debug: 240707 3729 vsllink.c:854 vsllink_debug_buffer(): 0000 01 00 00 00 00 Debug: 240708 3729 vsllink.c:353 vsllink_state_move(): tap_set_state(DRSHIFT) Debug: 240709 3729 vsllink.c:430 vsllink_scan(): tap_set_state(DRPAUSE) Debug: 240710 3729 vsllink.c:353 vsllink_state_move(): tap_set_state(RUN/IDLE) Debug: 240711 3729 vsllink.c:109 vsllink_execute_queue(): runtest 8 cycles, end in RUN/IDLE Debug: 240712 3729 vsllink.c:132 vsllink_execute_queue(): JTAG Scan... Debug: 240713 3729 commands.c:186 jtag_build_buffer(): IRSCAN num_fields: 1 Debug: 240714 3729 commands.c:197 jtag_build_buffer(): fields[0].out_value[4]: 0x0A Debug: 240715 3729 vsllink.c:144 vsllink_execute_queue(): JTAG Scan write IR(4 bits), end in RUN/IDLE: Debug: 240716 3729 vsllink.c:854 vsllink_debug_buffer(): 0000 0a Debug: 240717 3729 vsllink.c:353 vsllink_state_move(): tap_set_state(IRSHIFT) Debug: 240718 3729 vsllink.c:430 vsllink_scan(): tap_set_state(IRPAUSE) Debug: 240719 3729 vsllink.c:353 vsllink_state_move(): tap_set_state(RUN/IDLE) Debug: 240720 3729 vsllink.c:132 vsllink_execute_queue(): JTAG Scan... Debug: 240721 3729 commands.c:186 jtag_build_buffer(): DRSCAN num_fields: 2 Debug: 240722 3729 commands.c:197 jtag_build_buffer(): fields[0].out_value[3]: 0x07 Debug: 240723 3729 commands.c:197 jtag_build_buffer(): fields[1].out_value[32]: 0x00000000 Debug: 240724 3729 vsllink.c:151 vsllink_execute_queue(): JTAG Scan write DR(35 bits), end in RUN/IDLE: Debug: 240725 3729 vsllink.c:854 vsllink_debug_buffer(): 0000 07 00 00 00 00 Debug: 240726 3729 vsllink.c:353 vsllink_state_move(): tap_set_state(DRSHIFT) Debug: 240727 3729 vsllink.c:430 vsllink_scan(): tap_set_state(DRPAUSE) Debug: 240728 3729 vsllink.c:353 vsllink_state_move(): tap_set_state(RUN/IDLE) Debug: 240729 3729 vsllink.c:132 vsllink_execute_queue(): JTAG Scan... Debug: 240730 3729 commands.c:186 jtag_build_buffer(): DRSCAN num_fields: 2 Debug: 240731 3729 commands.c:197 jtag_build_buffer(): fields[0].out_value[3]: 0x03 Debug: 240732 3729 commands.c:197 jtag_build_buffer(): fields[1].out_value[32]: 0x00000000 Debug: 240733 3729 vsllink.c:151 vsllink_execute_queue(): JTAG Scan write DR(35 bits), end in RUN/IDLE: Debug: 240734 3729 vsllink.c:854 vsllink_debug_buffer(): 0000 03 00 00 00 00 Debug: 240735 3729 vsllink.c:353 vsllink_state_move(): tap_set_state(DRSHIFT) Debug: 240736 3729 vsllink.c:430 vsllink_scan(): tap_set_state(DRPAUSE) Debug: 240737 3729 vsllink.c:353 vsllink_state_move(): tap_set_state(RUN/IDLE) Debug: 240738 3729 vsllink.c:132 vsllink_execute_queue(): JTAG Scan... Debug: 240739 3729 commands.c:186 jtag_build_buffer(): DRSCAN num_fields: 2 Debug: 240740 3729 commands.c:197 jtag_build_buffer(): fields[0].out_value[3]: 0x07 Debug: 240741 3729 commands.c:197 jtag_build_buffer(): fields[1].out_value[32]: 0x00000000 Debug: 240742 3729 vsllink.c:151 vsllink_execute_queue(): JTAG Scan write DR(35 bits), end in RUN/IDLE: Debug: 240743 3729 vsllink.c:854 vsllink_debug_buffer(): 0000 07 00 00 00 00 Debug: 240744 3729 vsllink.c:353 vsllink_state_move(): tap_set_state(DRSHIFT) Debug: 240745 3729 vsllink.c:430 vsllink_scan(): tap_set_state(DRPAUSE) Debug: 240746 3729 vsllink.c:353 vsllink_state_move(): tap_set_state(RUN/IDLE) Debug: 240747 3729 vsllink.c:641 vsllink_jtag_execute(): JTAG scan read(4 bits, from src 4 bits to dest 0 bits): Debug: 240748 3729 vsllink.c:854 vsllink_debug_buffer(): 0000 01 Debug: 240749 3729 vsllink.c:641 vsllink_jtag_execute(): JTAG scan read(35 bits, from src 15 bits to dest 0 bits): Debug: 240750 3729 vsllink.c:854 vsllink_debug_buffer(): 0000 02 00 00 00 00 Debug: 240751 3729 vsllink.c:641 vsllink_jtag_execute(): JTAG scan read(4 bits, from src 66 bits to dest 0 bits): Debug: 240752 3729 vsllink.c:854 vsllink_debug_buffer(): 0000 01 Debug: 240753 3729 vsllink.c:641 vsllink_jtag_execute(): JTAG scan read(35 bits, from src 77 bits to dest 0 bits): Debug: 240754 3729 vsllink.c:854 vsllink_debug_buffer(): 0000 0a 00 08 08 00 Debug: 240755 3729 commands.c:240 jtag_read_buffer(): fields[0].in_value[3]: 0x02 Debug: 240756 3729 commands.c:240 jtag_read_buffer(): fields[1].in_value[32]: 0x01010001 Debug: 240757 3729 vsllink.c:641 vsllink_jtag_execute(): JTAG scan read(35 bits, from src 119 bits to dest 0 bits): Debug: 240758 3729 vsllink.c:854 vsllink_debug_buffer(): 0000 02 00 00 00 00 Debug: 240759 3729 vsllink.c:641 vsllink_jtag_execute(): JTAG scan read(35 bits, from src 161 bits to dest 0 bits): Debug: 240760 3729 vsllink.c:854 vsllink_debug_buffer(): 0000 1a 00 00 80 07 Debug: 240761 3729 commands.c:240 jtag_read_buffer(): fields[0].in_value[3]: 0x02 Debug: 240762 3729 commands.c:240 jtag_read_buffer(): fields[1].in_value[32]: 0xF0000003 Debug: 240763 3729 adi_v5_jtag.c:271 jtagdp_transaction_endcheck(): jtag-dp: CTRL/STAT error, 0xf0000003 Debug: 240764 3729 adi_v5_jtag.c:291 jtagdp_transaction_endcheck(): MEM-AP Cached values: ap_bank 0x10, ap_csw 0xa2000002, ap_t\ ar 0xe000edf0 Error: 240765 3729 adi_v5_jtag.c:295 jtagdp_transaction_endcheck(): JTAG-DP OVERRUN - check clock, memaccess, or reduce jtag sp\ eed ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
