``` [phung@archlinux DDR]$ sudo /usr/bin/openocd -d -f ./openocd-usb.cfg -f /usr/share/openocd/scripts/cpld/xilinx-xc6s.cfg -c "adapter speed 1000; init; xc6s_program xc6s.tap; pld load 0 ./ddr3_memory_controller_par.bit ; exit" 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 ./openocd-usb.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_layout_init 0x0508 0x0f1b Debug: 30 1 command.c:146 script_debug(): command - ftdi_layout_signal nTRST -data 0x0200 -noe 0x0100 Debug: 32 1 command.c:146 script_debug(): command - ftdi_layout_signal nSRST -data 0x0800 -noe 0x0400 Debug: 34 1 configuration.c:97 find_file(): found /usr/share/openocd/scripts/cpld/xilinx-xc6s.cfg Debug: 35 1 command.c:146 script_debug(): command - transport select Info : 36 1 transport.c:275 jim_transport_select(): auto-selecting first available session transport "jtag". To override use 'transport select '. Debug: 37 1 command.c:146 script_debug(): command - transport select Debug: 38 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: 39 1 tcl.c:571 jim_newtap_cmd(): Creating New Tap, Chip: xc6s, Tap: tap, Dotted: xc6s.tap, 29 params Debug: 40 1 tcl.c:596 jim_newtap_cmd(): Processing option: -irlen Debug: 41 1 tcl.c:596 jim_newtap_cmd(): Processing option: -ignore-version Debug: 42 1 tcl.c:596 jim_newtap_cmd(): Processing option: -expected-id Debug: 43 1 tcl.c:596 jim_newtap_cmd(): Processing option: -expected-id 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 core.c:1484 jtag_tap_init(): Created Tap: xc6s.tap @ abs position 0, irlen 6, capture: 0x1 mask: 0x3 Debug: 56 1 command.c:146 script_debug(): command - pld device virtex2 xc6s.tap User : 58 1 options.c:63 configuration_output_handler(): xc6s_print_dnaUser : 59 1 options.c:63 configuration_output_handler(): Debug: 60 1 command.c:146 script_debug(): command - adapter speed 1000 Debug: 62 1 core.c:1822 jtag_config_khz(): handle jtag khz Debug: 63 1 core.c:1785 adapter_khz_to_speed(): convert khz to interface specific speed value Debug: 64 1 core.c:1785 adapter_khz_to_speed(): convert khz to interface specific speed value Debug: 65 1 command.c:146 script_debug(): command - init Debug: 67 1 command.c:146 script_debug(): command - target init Debug: 69 1 command.c:146 script_debug(): command - target names Debug: 70 1 target.c:1639 handle_target_init_command(): Initializing targets... Debug: 71 1 ftdi.c:650 ftdi_initialize(): ftdi interface using shortest path jtag state transitions Debug: 72 4 mpsse.c:422 mpsse_purge(): - Debug: 73 4 mpsse.c:703 mpsse_loopback_config(): off Debug: 74 4 mpsse.c:748 mpsse_set_frequency(): target 1000000 Hz Debug: 75 4 mpsse.c:740 mpsse_rtck_config(): off Debug: 76 4 mpsse.c:729 mpsse_divide_by_5_config(): off Debug: 77 4 mpsse.c:709 mpsse_set_divisor(): 29 Debug: 78 4 mpsse.c:772 mpsse_set_frequency(): actually 1000000 Hz Debug: 79 4 core.c:1785 adapter_khz_to_speed(): convert khz to interface specific speed value Debug: 80 4 core.c:1789 adapter_khz_to_speed(): have interface set up Debug: 81 4 mpsse.c:748 mpsse_set_frequency(): target 1000000 Hz Debug: 82 4 mpsse.c:740 mpsse_rtck_config(): off Debug: 83 4 mpsse.c:729 mpsse_divide_by_5_config(): off Debug: 84 4 mpsse.c:709 mpsse_set_divisor(): 29 Debug: 85 4 mpsse.c:772 mpsse_set_frequency(): actually 1000000 Hz Debug: 86 4 core.c:1785 adapter_khz_to_speed(): convert khz to interface specific speed value Debug: 87 4 core.c:1789 adapter_khz_to_speed(): have interface set up Info : 88 4 core.c:1565 adapter_init(): clock speed 1000 kHz Debug: 89 4 openocd.c:143 handle_init_command(): Debug Adapter init complete Debug: 90 4 command.c:146 script_debug(): command - transport init Debug: 92 4 transport.c:229 handle_transport_init(): handle_transport_init Debug: 93 4 core.c:830 jtag_add_reset(): SRST line released Debug: 94 4 core.c:855 jtag_add_reset(): TRST line released Debug: 95 4 core.c:327 jtag_call_event_callbacks(): jtag event: TAP reset Debug: 96 4 command.c:146 script_debug(): command - jtag arp_init Debug: 97 4 core.c:1578 jtag_init_inner(): Init JTAG chain Debug: 98 4 core.c:327 jtag_call_event_callbacks(): jtag event: TAP reset Debug: 99 4 core.c:1243 jtag_examine_chain(): DR scan interrogation for IDCODE/BYPASS Debug: 100 4 core.c:327 jtag_call_event_callbacks(): jtag event: TAP reset Info : 101 5 core.c:1142 jtag_examine_chain_display(): JTAG tap: xc6s.tap tap/device found: 0x44002093 (mfg: 0x049 (Xilinx), part: 0x4002, ver: 0x4) Debug: 102 5 core.c:1374 jtag_validate_ircapture(): IR capture validation scan Debug: 103 5 core.c:1431 jtag_validate_ircapture(): xc6s.tap: IR capture 0x11 Debug: 104 5 command.c:146 script_debug(): command - dap init Debug: 106 5 arm_dap.c:106 dap_init_all(): Initializing all DAPs ... Debug: 107 5 openocd.c:160 handle_init_command(): Examining targets... Debug: 108 5 command.c:146 script_debug(): command - flash init Debug: 110 5 tcl.c:1385 handle_flash_init_command(): Initializing flash devices... Debug: 111 5 command.c:146 script_debug(): command - nand init Debug: 113 5 tcl.c:498 handle_nand_init_command(): Initializing NAND devices... Debug: 114 5 command.c:146 script_debug(): command - pld init Debug: 116 5 pld.c:206 handle_pld_init_command(): Initializing PLDs... Warn : 117 5 gdb_server.c:3585 gdb_target_add_all(): gdb services need one or more targets defined Debug: 118 5 command.c:146 script_debug(): command - irscan xc6s.tap 0x0d Debug: 120 5 command.c:146 script_debug(): command - irscan xc6s.tap 0x0b Debug: 122 5 command.c:146 script_debug(): command - irscan xc6s.tap 0x0c Debug: 124 5 command.c:146 script_debug(): command - irscan xc6s.tap 0x3f Debug: 126 5 command.c:146 script_debug(): command - pld load 0 ./ddr3_memory_controller_par.bit Debug: 128 5 xilinx_bit.c:122 xilinx_read_bit_file(): bit_file: ddr3_memory_controller_par.ncd;UserID=0xFFFFFFFF 6slx16ftg256 2021/04/18,00:46:46 464196 Debug: 136 3705 core.c:327 jtag_call_event_callbacks(): jtag event: TAP reset Debug: 137 3708 command.c:146 script_debug(): command - exit [phung@archlinux DDR]$ ```