``` [phung@archlinux]$ sudo /usr/bin/openocd -d -f ./digilent-hs1.cfg -f /usr/share/openocd/scripts/cpld/xilinx-xc6s.cfg -c "adapter speed 1000" -c "transport select jtag" Open On-Chip Debugger 0.11.0 Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html User : 13 1 options.c:63 configuration_output_handler(): debug_level: 3 User : 14 1 options.c:63 configuration_output_handler(): Debug: 15 1 options.c:244 add_default_dirs(): bindir=/usr/bin Debug: 16 1 options.c:245 add_default_dirs(): pkgdatadir=/usr/share/openocd Debug: 17 1 options.c:246 add_default_dirs(): exepath=/usr/bin Debug: 18 1 options.c:247 add_default_dirs(): bin2data=../share/openocd Debug: 19 1 configuration.c:42 add_script_search_dir(): adding /root/.config/openocd Debug: 20 1 configuration.c:42 add_script_search_dir(): adding /root/.openocd Debug: 21 1 configuration.c:42 add_script_search_dir(): adding /usr/bin/../share/openocd/site Debug: 22 1 configuration.c:42 add_script_search_dir(): adding /usr/bin/../share/openocd/scripts Debug: 23 1 configuration.c:97 find_file(): found ./digilent-hs1.cfg Debug: 24 1 command.c:146 script_debug(): command - adapter driver ftdi Debug: 26 1 command.c:146 script_debug(): command - ftdi_vid_pid 0x0403 0x6010 Debug: 28 1 command.c:146 script_debug(): command - ftdi_channel 0 Debug: 30 1 command.c:146 script_debug(): command - ftdi_layout_init 0x0088 0x008b Debug: 32 1 command.c:146 script_debug(): command - reset_config none User : 34 1 options.c:63 configuration_output_handler(): none separate User : 35 1 options.c:63 configuration_output_handler(): Debug: 36 1 configuration.c:97 find_file(): found /usr/share/openocd/scripts/cpld/xilinx-xc6s.cfg Debug: 37 1 command.c:146 script_debug(): command - transport select Info : 38 1 transport.c:275 jim_transport_select(): auto-selecting first available session transport "jtag". To override use 'transport select '. Debug: 39 1 command.c:146 script_debug(): command - transport select Debug: 40 1 command.c:146 script_debug(): command - jtag newtap xc6s tap -irlen 6 -ignore-version -expected-id 0x04000093 -expected-id 0x04001093 -expected-id 0x04002093 -expected-id 0x04004093 -expected-id 0x04024093 -expected-id 0x04008093 -expected-id 0x04028093 -expected-id 0x0400E093 -expected-id 0x0402E093 -expected-id 0x04011093 -expected-id 0x04031093 -expected-id 0x0401D093 -expected-id 0x0403D093 Debug: 41 1 tcl.c:571 jim_newtap_cmd(): Creating New Tap, Chip: xc6s, Tap: tap, Dotted: xc6s.tap, 29 params Debug: 42 1 tcl.c:596 jim_newtap_cmd(): Processing option: -irlen Debug: 43 1 tcl.c:596 jim_newtap_cmd(): Processing option: -ignore-version Debug: 44 1 tcl.c:596 jim_newtap_cmd(): Processing option: -expected-id Debug: 45 1 tcl.c:596 jim_newtap_cmd(): Processing option: -expected-id Debug: 46 1 tcl.c:596 jim_newtap_cmd(): Processing option: -expected-id Debug: 47 1 tcl.c:596 jim_newtap_cmd(): Processing option: -expected-id Debug: 48 1 tcl.c:596 jim_newtap_cmd(): Processing option: -expected-id Debug: 49 1 tcl.c:596 jim_newtap_cmd(): Processing option: -expected-id Debug: 50 1 tcl.c:596 jim_newtap_cmd(): Processing option: -expected-id Debug: 51 1 tcl.c:596 jim_newtap_cmd(): Processing option: -expected-id Debug: 52 1 tcl.c:596 jim_newtap_cmd(): Processing option: -expected-id Debug: 53 1 tcl.c:596 jim_newtap_cmd(): Processing option: -expected-id Debug: 54 1 tcl.c:596 jim_newtap_cmd(): Processing option: -expected-id Debug: 55 1 tcl.c:596 jim_newtap_cmd(): Processing option: -expected-id Debug: 56 1 tcl.c:596 jim_newtap_cmd(): Processing option: -expected-id Debug: 57 1 core.c:1484 jtag_tap_init(): Created Tap: xc6s.tap @ abs position 0, irlen 6, capture: 0x1 mask: 0x3 Debug: 58 1 command.c:146 script_debug(): command - pld device virtex2 xc6s.tap User : 60 1 options.c:63 configuration_output_handler(): xc6s_print_dnaUser : 61 1 options.c:63 configuration_output_handler(): Debug: 62 1 command.c:146 script_debug(): command - adapter speed 1000 Debug: 64 1 core.c:1822 jtag_config_khz(): handle jtag khz Debug: 65 1 core.c:1785 adapter_khz_to_speed(): convert khz to interface specific speed value Debug: 66 1 core.c:1785 adapter_khz_to_speed(): convert khz to interface specific speed value User : 67 1 options.c:63 configuration_output_handler(): adapter speed: 1000 kHz User : 68 1 options.c:63 configuration_output_handler(): Debug: 69 1 command.c:146 script_debug(): command - transport select jtag Warn : 70 1 transport.c:286 jim_transport_select(): Transport "jtag" was already selected User : 71 1 options.c:63 configuration_output_handler(): jtagUser : 72 1 options.c:63 configuration_output_handler(): Info : 73 1 server.c:311 add_service(): Listening on port 6666 for tcl connections Info : 74 1 server.c:311 add_service(): Listening on port 4444 for telnet connections Debug: 75 1 command.c:146 script_debug(): command - init Debug: 77 1 command.c:146 script_debug(): command - target init Debug: 79 1 command.c:146 script_debug(): command - target names Debug: 80 1 target.c:1639 handle_target_init_command(): Initializing targets... Debug: 81 1 ftdi.c:650 ftdi_initialize(): ftdi interface using shortest path jtag state transitions Debug: 82 4 mpsse.c:422 mpsse_purge(): - Debug: 83 4 mpsse.c:703 mpsse_loopback_config(): off Debug: 84 4 mpsse.c:748 mpsse_set_frequency(): target 1000000 Hz Debug: 85 4 mpsse.c:740 mpsse_rtck_config(): off Debug: 86 4 mpsse.c:729 mpsse_divide_by_5_config(): off Debug: 87 4 mpsse.c:709 mpsse_set_divisor(): 29 Debug: 88 4 mpsse.c:772 mpsse_set_frequency(): actually 1000000 Hz Debug: 89 4 core.c:1785 adapter_khz_to_speed(): convert khz to interface specific speed value Debug: 90 4 core.c:1789 adapter_khz_to_speed(): have interface set up Debug: 91 4 mpsse.c:748 mpsse_set_frequency(): target 1000000 Hz Debug: 92 4 mpsse.c:740 mpsse_rtck_config(): off Debug: 93 4 mpsse.c:729 mpsse_divide_by_5_config(): off Debug: 94 4 mpsse.c:709 mpsse_set_divisor(): 29 Debug: 95 4 mpsse.c:772 mpsse_set_frequency(): actually 1000000 Hz Debug: 96 4 core.c:1785 adapter_khz_to_speed(): convert khz to interface specific speed value Debug: 97 4 core.c:1789 adapter_khz_to_speed(): have interface set up Info : 98 4 core.c:1565 adapter_init(): clock speed 1000 kHz Debug: 99 4 openocd.c:143 handle_init_command(): Debug Adapter init complete Debug: 100 4 command.c:146 script_debug(): command - transport init Debug: 102 4 transport.c:229 handle_transport_init(): handle_transport_init Debug: 103 4 core.c:830 jtag_add_reset(): SRST line released Debug: 104 4 core.c:855 jtag_add_reset(): TRST line released Debug: 105 4 core.c:327 jtag_call_event_callbacks(): jtag event: TAP reset Debug: 106 4 command.c:146 script_debug(): command - jtag arp_init Debug: 107 4 core.c:1578 jtag_init_inner(): Init JTAG chain Debug: 108 4 core.c:327 jtag_call_event_callbacks(): jtag event: TAP reset Debug: 109 4 core.c:1243 jtag_examine_chain(): DR scan interrogation for IDCODE/BYPASS Debug: 110 4 core.c:327 jtag_call_event_callbacks(): jtag event: TAP reset Info : 111 5 core.c:1142 jtag_examine_chain_display(): JTAG tap: xc6s.tap tap/device found: 0xf8000003 (mfg: 0x001 (AMD), part: 0x8000, ver: 0xf) Warn : 112 5 core.c:1142 jtag_examine_chain_display(): JTAG tap: xc6s.tap UNEXPECTED: 0xf8000003 (mfg: 0x001 (AMD), part: 0x8000, ver: 0xf) Error: 113 5 core.c:1142 jtag_examine_chain_display(): JTAG tap: xc6s.tap expected 1 of 13: 0x04000093 (mfg: 0x049 (Xilinx), part: 0x4000, ver: 0x0) Error: 114 5 core.c:1142 jtag_examine_chain_display(): JTAG tap: xc6s.tap expected 2 of 13: 0x04001093 (mfg: 0x049 (Xilinx), part: 0x4001, ver: 0x0) Error: 115 5 core.c:1142 jtag_examine_chain_display(): JTAG tap: xc6s.tap expected 3 of 13: 0x04002093 (mfg: 0x049 (Xilinx), part: 0x4002, ver: 0x0) Error: 116 5 core.c:1142 jtag_examine_chain_display(): JTAG tap: xc6s.tap expected 4 of 13: 0x04004093 (mfg: 0x049 (Xilinx), part: 0x4004, ver: 0x0) Error: 117 5 core.c:1142 jtag_examine_chain_display(): JTAG tap: xc6s.tap expected 5 of 13: 0x04024093 (mfg: 0x049 (Xilinx), part: 0x4024, ver: 0x0) Error: 118 5 core.c:1142 jtag_examine_chain_display(): JTAG tap: xc6s.tap expected 6 of 13: 0x04008093 (mfg: 0x049 (Xilinx), part: 0x4008, ver: 0x0) Error: 119 5 core.c:1142 jtag_examine_chain_display(): JTAG tap: xc6s.tap expected 7 of 13: 0x04028093 (mfg: 0x049 (Xilinx), part: 0x4028, ver: 0x0) Error: 120 5 core.c:1142 jtag_examine_chain_display(): JTAG tap: xc6s.tap expected 8 of 13: 0x0400e093 (mfg: 0x049 (Xilinx), part: 0x400e, ver: 0x0) Error: 121 5 core.c:1142 jtag_examine_chain_display(): JTAG tap: xc6s.tap expected 9 of 13: 0x0402e093 (mfg: 0x049 (Xilinx), part: 0x402e, ver: 0x0) Error: 122 5 core.c:1142 jtag_examine_chain_display(): JTAG tap: xc6s.tap expected 10 of 1: 0x04011093 (mfg: 0x049 (Xilinx), part: 0x4011, ver: 0x0) Error: 123 5 core.c:1142 jtag_examine_chain_display(): JTAG tap: xc6s.tap expected 11 of 1: 0x04031093 (mfg: 0x049 (Xilinx), part: 0x4031, ver: 0x0) Error: 124 5 core.c:1142 jtag_examine_chain_display(): JTAG tap: xc6s.tap expected 12 of 1: 0x0401d093 (mfg: 0x049 (Xilinx), part: 0x401d, ver: 0x0) Error: 125 5 core.c:1142 jtag_examine_chain_display(): JTAG tap: xc6s.tap expected 13 of 1: 0x0403d093 (mfg: 0x049 (Xilinx), part: 0x403d, ver: 0x0) Error: 126 5 core.c:1623 jtag_init_inner(): Trying to use configured scan chain anyway... Debug: 127 5 core.c:1374 jtag_validate_ircapture(): IR capture validation scan Debug: 128 5 core.c:1431 jtag_validate_ircapture(): xc6s.tap: IR capture 0x39 Warn : 129 5 core.c:1646 jtag_init_inner(): Bypassing JTAG setup events due to errors Debug: 130 5 command.c:146 script_debug(): command - dap init Debug: 132 5 arm_dap.c:106 dap_init_all(): Initializing all DAPs ... Debug: 133 5 openocd.c:160 handle_init_command(): Examining targets... Debug: 134 5 command.c:146 script_debug(): command - flash init Debug: 136 5 tcl.c:1385 handle_flash_init_command(): Initializing flash devices... Debug: 137 5 command.c:146 script_debug(): command - nand init Debug: 139 5 tcl.c:498 handle_nand_init_command(): Initializing NAND devices... Debug: 140 5 command.c:146 script_debug(): command - pld init Debug: 142 5 pld.c:206 handle_pld_init_command(): Initializing PLDs... Warn : 143 5 gdb_server.c:3585 gdb_target_add_all(): gdb services need one or more targets defined ```