I’m having trouble getting openocd to talk to a custom stm32 board via an Olimex ARM-USB-TINY-H adaptor. The problem is easy to see in the following output:
$ openocd -f interface/olimex-arm-usb-tiny-h.cfg -f target/stm32f1x.cfg
Open On-Chip Debugger 0.7.0-dev-00001-ga4830e7-dirty (2012-09-24-18:55)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.sourceforge.net/doc/doxygen/bugs.html
Info : only one transport option; autoselect 'jtag'
adapter speed: 1000 kHz
adapter_nsrst_delay: 100
jtag_ntrst_delay: 100
cortex_m3 reset_config sysresetreq
adapter speed: 500 kHz
Info : device: 6 "2232H"
Info : deviceID: 364511274
Info : SerialNumber: OLVD5HK?A
Info : Description: Olimex OpenOCD JTAG ARM-USB-TINY-H A
Info : max TCK change to: 30000 kHz
Info : clock speed 500 kHz
Info : JTAG tap: stm32f1x.cpu tap/device found: 0x3ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x3)
Info : JTAG tap: stm32f1x.bs tap/device found: 0x06430041 (mfg: 0x020, part: 0x6430, ver: 0x0)
Warn : Invalid ACK 0x4 in JTAG-DP transaction
Polling target failed, GDB will be halted. Polling again in 100ms
Polling target failed, GDB will be halted. Polling again in 300ms
Polling target failed, GDB will be halted. Polling again in 700ms
Any suggestions on what to do about the Invalid ACK?
Notes:
-
The tap ids are correct for the cpu (STM32F103RGT6)
-
I’m using the released 0.6 openocd. I think my build says “0.7” because I’m building from a fork with a few changes for GDB.
-
This is all on OS X 10.7.4.
-
openocd is using the OEM FTDI drivers (via --enable-ft2232_ftd2xx)
-
This is the first time I’m bringing up this board, so a hardware problem is a possibility.
-
However, power to the board and all the VDD pins on the chip looks good.
-
This is the first time I’ve used the Olimex jtag adaptor.
8 ) This build of openocd works just fine on another board with the same mcu (but via st-link v1, not olimex jtag)
- Here’s a full trace:
$ openocd -d3 -f interface/olimex-arm-usb-tiny-h.cfg -f target/stm32f1x.cfg
Open On-Chip Debugger 0.7.0-dev-00001-ga4830e7-dirty (2012-09-24-18:55)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.sourceforge.net/doc/doxygen/bugs.html
User : 11 4 command.c:549 command_print(): debug_level: 3
Debug: 12 4 configuration.c:45 add_script_search_dir(): adding /Users/andy/.openocd
Debug: 13 4 configuration.c:45 add_script_search_dir(): adding /usr/local/share/openocd/site
Debug: 14 4 configuration.c:45 add_script_search_dir(): adding /usr/local/share/openocd/scripts
Debug: 15 4 configuration.c:86 find_file(): found /usr/local/share/openocd/scripts/interface/olimex-arm-usb-tiny-h.cfg
Debug: 16 4 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_interface ft2232
Debug: 17 4 command.c:145 script_debug(): command - interface ocd_interface ft2232
Debug: 19 4 command.c:369 register_command_handler(): registering 'ocd_ft2232_device_desc'...
Debug: 20 4 command.c:369 register_command_handler(): registering 'ocd_ft2232_serial'...
Debug: 21 4 command.c:369 register_command_handler(): registering 'ocd_ft2232_layout'...
Debug: 22 4 command.c:369 register_command_handler(): registering 'ocd_ft2232_vid_pid'...
Debug: 23 4 command.c:369 register_command_handler(): registering 'ocd_ft2232_latency'...
Info : 24 4 transport.c:118 allow_transports(): only one transport option; autoselect 'jtag'
Debug: 25 4 command.c:369 register_command_handler(): registering 'ocd_jtag_flush_queue_sleep'...
Debug: 26 4 command.c:369 register_command_handler(): registering 'ocd_jtag_rclk'...
Debug: 27 4 command.c:369 register_command_handler(): registering 'ocd_jtag_ntrst_delay'...
Debug: 28 4 command.c:369 register_command_handler(): registering 'ocd_jtag_ntrst_assert_width'...
Debug: 29 5 command.c:369 register_command_handler(): registering 'ocd_scan_chain'...
Debug: 30 5 command.c:369 register_command_handler(): registering 'ocd_jtag_reset'...
Debug: 31 5 command.c:369 register_command_handler(): registering 'ocd_runtest'...
Debug: 32 5 command.c:369 register_command_handler(): registering 'ocd_irscan'...
Debug: 33 5 command.c:369 register_command_handler(): registering 'ocd_verify_ircapture'...
Debug: 34 5 command.c:369 register_command_handler(): registering 'ocd_verify_jtag'...
Debug: 35 5 command.c:369 register_command_handler(): registering 'ocd_tms_sequence'...
Debug: 36 5 command.c:369 register_command_handler(): registering 'ocd_wait_srst_deassert'...
Debug: 37 5 command.c:369 register_command_handler(): registering 'ocd_jtag'...
Debug: 38 5 command.c:369 register_command_handler(): registering 'ocd_jtag'...
Debug: 39 5 command.c:369 register_command_handler(): registering 'ocd_jtag'...
Debug: 40 5 command.c:369 register_command_handler(): registering 'ocd_jtag'...
Debug: 41 5 command.c:369 register_command_handler(): registering 'ocd_jtag'...
Debug: 42 5 command.c:369 register_command_handler(): registering 'ocd_jtag'...
Debug: 43 5 command.c:369 register_command_handler(): registering 'ocd_jtag'...
Debug: 44 5 command.c:369 register_command_handler(): registering 'ocd_jtag'...
Debug: 45 5 command.c:369 register_command_handler(): registering 'ocd_jtag'...
Debug: 46 5 command.c:369 register_command_handler(): registering 'ocd_jtag'...
Debug: 47 5 command.c:369 register_command_handler(): registering 'ocd_jtag'...
Debug: 48 5 command.c:369 register_command_handler(): registering 'ocd_jtag'...
Debug: 49 5 command.c:369 register_command_handler(): registering 'ocd_jtag'...
Debug: 50 5 command.c:369 register_command_handler(): registering 'ocd_svf'...
Debug: 51 5 command.c:369 register_command_handler(): registering 'ocd_xsvf'...
Debug: 52 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ft2232_device_desc Olimex OpenOCD JTAG ARM-USB-TINY-H
Debug: 53 5 command.c:145 script_debug(): command - ft2232_device_desc ocd_ft2232_device_desc Olimex OpenOCD JTAG ARM-USB-TINY-H
Debug: 55 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ft2232_layout olimex-jtag
Debug: 56 5 command.c:145 script_debug(): command - ft2232_layout ocd_ft2232_layout olimex-jtag
Debug: 58 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ft2232_vid_pid 0x15ba 0x002a
Debug: 59 5 command.c:145 script_debug(): command - ft2232_vid_pid ocd_ft2232_vid_pid 0x15ba 0x002a
Debug: 61 5 configuration.c:86 find_file(): found /usr/local/share/openocd/scripts/target/stm32f1x.cfg
Debug: 62 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_adapter_khz 1000
Debug: 63 5 command.c:145 script_debug(): command - adapter_khz ocd_adapter_khz 1000
Debug: 65 5 core.c:1625 jtag_config_khz(): handle jtag khz
Debug: 66 5 core.c:1592 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 67 5 core.c:1592 adapter_khz_to_speed(): convert khz to interface specific speed value
User : 68 5 command.c:549 command_print(): adapter speed: 1000 kHz
Debug: 69 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_adapter_nsrst_delay 100
Debug: 70 5 command.c:145 script_debug(): command - adapter_nsrst_delay ocd_adapter_nsrst_delay 100
User : 72 5 command.c:549 command_print(): adapter_nsrst_delay: 100
Debug: 73 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_jtag_ntrst_delay 100
Debug: 74 5 command.c:145 script_debug(): command - jtag_ntrst_delay ocd_jtag_ntrst_delay 100
User : 76 5 command.c:549 command_print(): jtag_ntrst_delay: 100
Debug: 77 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_jtag newtap stm32f1x cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x3ba00477
Debug: 78 5 command.c:145 script_debug(): command - ocd_jtag ocd_jtag newtap stm32f1x cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x3ba00477
Debug: 79 5 tcl.c:554 jim_newtap_cmd(): Creating New Tap, Chip: stm32f1x, Tap: cpu, Dotted: stm32f1x.cpu, 8 params
Debug: 80 5 tcl.c:571 jim_newtap_cmd(): Processing option: -irlen
Debug: 81 5 tcl.c:571 jim_newtap_cmd(): Processing option: -ircapture
Debug: 82 6 tcl.c:571 jim_newtap_cmd(): Processing option: -irmask
Debug: 83 6 tcl.c:571 jim_newtap_cmd(): Processing option: -expected-id
Debug: 84 6 core.c:1323 jtag_tap_init(): Created Tap: stm32f1x.cpu @ abs position 0, irlen 4, capture: 0x1 mask: 0xf
Debug: 85 6 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_jtag newtap stm32f1x bs -irlen 5 -expected-id 0x06412041 -expected-id 0x06410041 -expected-id 0x16410041 -expected-id 0x06420041 -expected-id 0x06414041 -expected-id 0x06418041 -expected-id 0x06430041 -expected-id 0x06420041 -expected-id 0x06428041
Debug: 86 6 command.c:145 script_debug(): command - ocd_jtag ocd_jtag newtap stm32f1x bs -irlen 5 -expected-id 0x06412041 -expected-id 0x06410041 -expected-id 0x16410041 -expected-id 0x06420041 -expected-id 0x06414041 -expected-id 0x06418041 -expected-id 0x06430041 -expected-id 0x06420041 -expected-id 0x06428041
Debug: 87 6 tcl.c:554 jim_newtap_cmd(): Creating New Tap, Chip: stm32f1x, Tap: bs, Dotted: stm32f1x.bs, 20 params
Debug: 88 6 tcl.c:571 jim_newtap_cmd(): Processing option: -irlen
Debug: 89 6 tcl.c:571 jim_newtap_cmd(): Processing option: -expected-id
Debug: 90 6 tcl.c:571 jim_newtap_cmd(): Processing option: -expected-id
Debug: 91 6 tcl.c:571 jim_newtap_cmd(): Processing option: -expected-id
Debug: 92 6 tcl.c:571 jim_newtap_cmd(): Processing option: -expected-id
Debug: 93 6 tcl.c:571 jim_newtap_cmd(): Processing option: -expected-id
Debug: 94 6 tcl.c:571 jim_newtap_cmd(): Processing option: -expected-id
Debug: 95 6 tcl.c:571 jim_newtap_cmd(): Processing option: -expected-id
Debug: 96 6 tcl.c:571 jim_newtap_cmd(): Processing option: -expected-id
Debug: 97 6 tcl.c:571 jim_newtap_cmd(): Processing option: -expected-id
Debug: 98 6 core.c:1323 jtag_tap_init(): Created Tap: stm32f1x.bs @ abs position 1, irlen 5, capture: 0x1 mask: 0x3
Debug: 99 6 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_target create stm32f1x.cpu cortex_m3 -endian little -chain-position stm32f1x.cpu
Debug: 100 6 command.c:145 script_debug(): command - ocd_target ocd_target create stm32f1x.cpu cortex_m3 -endian little -chain-position stm32f1x.cpu
Debug: 101 6 target.c:1608 target_free_all_working_areas_restore(): freeing all working areas
Debug: 102 6 command.c:369 register_command_handler(): registering 'ocd_arm'...
Debug: 103 6 command.c:369 register_command_handler(): registering 'ocd_arm'...
Debug: 104 6 command.c:369 register_command_handler(): registering 'ocd_arm'...
Debug: 105 6 command.c:369 register_command_handler(): registering 'ocd_arm'...
Debug: 106 6 command.c:369 register_command_handler(): registering 'ocd_arm'...
Debug: 107 6 command.c:369 register_command_handler(): registering 'ocd_arm'...
Debug: 108 6 command.c:369 register_command_handler(): registering 'ocd_dap'...
Debug: 109 6 command.c:369 register_command_handler(): registering 'ocd_dap'...
Debug: 110 6 command.c:369 register_command_handler(): registering 'ocd_dap'...
Debug: 111 6 command.c:369 register_command_handler(): registering 'ocd_dap'...
Debug: 112 6 command.c:369 register_command_handler(): registering 'ocd_dap'...
Debug: 113 6 command.c:369 register_command_handler(): registering 'ocd_cortex_m3'...
Debug: 114 6 command.c:369 register_command_handler(): registering 'ocd_cortex_m3'...
Debug: 115 6 command.c:369 register_command_handler(): registering 'ocd_cortex_m3'...
Debug: 116 6 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'...
Debug: 117 6 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'...
Debug: 118 6 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'...
Debug: 119 6 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'...
Debug: 120 6 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'...
Debug: 121 6 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'...
Debug: 122 6 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'...
Debug: 123 6 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'...
Debug: 124 6 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'...
Debug: 125 6 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'...
Debug: 126 6 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'...
Debug: 127 6 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'...
Debug: 128 6 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'...
Debug: 129 6 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'...
Debug: 130 6 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'...
Debug: 131 6 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'...
Debug: 132 6 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'...
Debug: 133 6 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'...
Debug: 134 6 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'...
Debug: 135 6 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'...
Debug: 136 6 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'...
Debug: 137 6 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'...
Debug: 138 6 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'...
Debug: 139 6 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'...
Debug: 140 6 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'...
Debug: 141 6 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'...
Debug: 142 6 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'...
Debug: 143 6 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'...
Debug: 144 6 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'...
Debug: 145 6 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'...
Debug: 146 6 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'...
Debug: 147 6 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'...
Debug: 148 6 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'...
Debug: 149 6 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'...
Debug: 150 6 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'...
Debug: 151 6 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'...
Debug: 152 7 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f1x.cpu configure -work-area-phys 0x20000000 -work-area-size 0x4000 -work-area-backup 0
Debug: 153 7 command.c:145 script_debug(): command - ocd_stm32f1x.cpu ocd_stm32f1x.cpu configure -work-area-phys 0x20000000 -work-area-size 0x4000 -work-area-backup 0
Debug: 154 7 target.c:1608 target_free_all_working_areas_restore(): freeing all working areas
Debug: 155 7 target.c:1608 target_free_all_working_areas_restore(): freeing all working areas
Debug: 156 7 target.c:1608 target_free_all_working_areas_restore(): freeing all working areas
Debug: 157 7 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_flash bank stm32f1x.flash stm32f1x 0x08000000 0 0 0 stm32f1x.cpu
Debug: 158 7 command.c:145 script_debug(): command - ocd_flash ocd_flash bank stm32f1x.flash stm32f1x 0x08000000 0 0 0 stm32f1x.cpu
Debug: 160 7 command.c:369 register_command_handler(): registering 'ocd_stm32f1x'...
Debug: 161 7 command.c:369 register_command_handler(): registering 'ocd_stm32f1x'...
Debug: 162 7 command.c:369 register_command_handler(): registering 'ocd_stm32f1x'...
Debug: 163 7 command.c:369 register_command_handler(): registering 'ocd_stm32f1x'...
Debug: 164 7 command.c:369 register_command_handler(): registering 'ocd_stm32f1x'...
Debug: 165 7 tcl.c:781 handle_flash_bank_command(): 'stm32f1x' driver usage field missing
Debug: 166 7 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_cortex_m3 reset_config sysresetreq
Debug: 167 7 command.c:145 script_debug(): command - ocd_cortex_m3 ocd_cortex_m3 reset_config sysresetreq
User : 169 7 command.c:549 command_print(): cortex_m3 reset_config sysresetreq
Debug: 170 7 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_init
Debug: 171 7 command.c:145 script_debug(): command - init ocd_init
Debug: 173 7 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_target init
Debug: 174 7 command.c:145 script_debug(): command - ocd_target ocd_target init
Debug: 176 7 target.c:1183 handle_target_init_command(): Initializing targets...
Debug: 177 7 command.c:369 register_command_handler(): registering 'ocd_target_request'...
Debug: 178 7 command.c:369 register_command_handler(): registering 'ocd_trace'...
Debug: 179 7 command.c:369 register_command_handler(): registering 'ocd_trace'...
Debug: 180 7 command.c:369 register_command_handler(): registering 'ocd_fast_load_image'...
Debug: 181 7 command.c:369 register_command_handler(): registering 'ocd_fast_load'...
Debug: 182 7 command.c:369 register_command_handler(): registering 'ocd_profile'...
Debug: 183 7 command.c:369 register_command_handler(): registering 'ocd_virt2phys'...
Debug: 184 7 command.c:369 register_command_handler(): registering 'ocd_reg'...
Debug: 185 7 command.c:369 register_command_handler(): registering 'ocd_poll'...
Debug: 186 7 command.c:369 register_command_handler(): registering 'ocd_wait_halt'...
Debug: 187 7 command.c:369 register_command_handler(): registering 'ocd_halt'...
Debug: 188 7 command.c:369 register_command_handler(): registering 'ocd_resume'...
Debug: 189 7 command.c:369 register_command_handler(): registering 'ocd_reset'...
Debug: 190 7 command.c:369 register_command_handler(): registering 'ocd_soft_reset_halt'...
Debug: 191 7 command.c:369 register_command_handler(): registering 'ocd_step'...
Debug: 192 7 command.c:369 register_command_handler(): registering 'ocd_mdw'...
Debug: 193 7 command.c:369 register_command_handler(): registering 'ocd_mdh'...
Debug: 194 7 command.c:369 register_command_handler(): registering 'ocd_mdb'...
Debug: 195 7 command.c:369 register_command_handler(): registering 'ocd_mww'...
Debug: 196 7 command.c:369 register_command_handler(): registering 'ocd_mwh'...
Debug: 197 7 command.c:369 register_command_handler(): registering 'ocd_mwb'...
Debug: 198 7 command.c:369 register_command_handler(): registering 'ocd_bp'...
Debug: 199 7 command.c:369 register_command_handler(): registering 'ocd_rbp'...
Debug: 200 7 command.c:369 register_command_handler(): registering 'ocd_wp'...
Debug: 201 7 command.c:369 register_command_handler(): registering 'ocd_rwp'...
Debug: 202 7 command.c:369 register_command_handler(): registering 'ocd_load_image'...
Debug: 203 7 command.c:369 register_command_handler(): registering 'ocd_dump_image'...
Debug: 204 7 command.c:369 register_command_handler(): registering 'ocd_verify_image'...
Debug: 205 7 command.c:369 register_command_handler(): registering 'ocd_test_image'...
Debug: 206 7 command.c:369 register_command_handler(): registering 'ocd_reset_nag'...
Debug: 207 7 command.c:369 register_command_handler(): registering 'ocd_ps'...
Debug: 208 7 ft2232.c:2337 ft2232_init(): ft2232 interface using shortest path jtag state transitions
Debug: 209 7 ft2232.c:2047 ft2232_init_ftd2xx(): 'ft2232' interface using FTD2XX with 'olimex-jtag' layout (15ba:002a)
Debug: 210 558 ft2232.c:2159 ft2232_init_ftd2xx(): current latency timer: 2
Info : 211 563 ft2232.c:2188 ft2232_init_ftd2xx(): device: 6 "2232H"
Info : 212 563 ft2232.c:2189 ft2232_init_ftd2xx(): deviceID: 364511274
Info : 213 563 ft2232.c:2190 ft2232_init_ftd2xx(): SerialNumber: OLVD5HK?A
Info : 214 563 ft2232.c:2191 ft2232_init_ftd2xx(): Description: Olimex OpenOCD JTAG ARM-USB-TINY-H A
Debug: 215 563 ft2232.c:2299 ft2232_set_data_bits_low_byte(): 80 08 1b
Debug: 216 563 ft2232.c:2318 ft2232_set_data_bits_high_byte(): 82 09 0f
Info : 217 563 ft2232.c:655 ftx232h_clk_divide_by_5(): max TCK change to: 30000 kHz
Debug: 218 564 core.c:1592 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 219 564 core.c:1595 adapter_khz_to_speed(): have interface set up
Debug: 220 564 ft2232.c:624 ftx232h_adaptive_clocking(): 97
Debug: 221 564 ft2232.c:683 ft2232_speed(): 86 1d 00
Debug: 222 565 core.c:1592 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 223 565 core.c:1595 adapter_khz_to_speed(): have interface set up
Info : 224 565 core.c:1399 adapter_init(): clock speed 1000 kHz
Debug: 225 565 openocd.c:132 handle_init_command(): Debug Adapter init complete
Debug: 226 565 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport init
Debug: 227 565 command.c:145 script_debug(): command - ocd_transport ocd_transport init
Debug: 230 565 transport.c:240 handle_transport_init(): handle_transport_init
Debug: 231 565 ft2232.c:1425 olimex_jtag_reset(): trst: 0, srst: 0, high_output: 0x01, high_direction: 0x0f
Debug: 232 565 core.c:719 jtag_add_reset(): SRST line released
Debug: 233 565 core.c:743 jtag_add_reset(): TRST line released
Debug: 234 565 core.c:323 jtag_call_event_callbacks(): jtag event: TAP reset
Debug: 235 784 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_jtag arp_init
Debug: 236 784 command.c:145 script_debug(): command - ocd_jtag ocd_jtag arp_init
Debug: 237 784 core.c:1412 jtag_init_inner(): Init JTAG chain
Debug: 238 784 core.c:323 jtag_call_event_callbacks(): jtag event: TAP reset
Debug: 239 785 core.c:1048 jtag_examine_chain(): DR scan interrogation for IDCODE/BYPASS
Debug: 240 785 core.c:323 jtag_call_event_callbacks(): jtag event: TAP reset
Info : 241 787 core.c:951 jtag_examine_chain_display(): JTAG tap: stm32f1x.cpu tap/device found: 0x3ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x3)
Info : 242 787 core.c:951 jtag_examine_chain_display(): JTAG tap: stm32f1x.bs tap/device found: 0x06430041 (mfg: 0x020, part: 0x6430, ver: 0x0)
Debug: 243 787 core.c:1208 jtag_validate_ircapture(): IR capture validation scan
Debug: 244 789 core.c:1267 jtag_validate_ircapture(): stm32f1x.cpu: IR capture 0x01
Debug: 245 789 core.c:1267 jtag_validate_ircapture(): stm32f1x.bs: IR capture 0x01
Debug: 246 789 openocd.c:145 handle_init_command(): Examining targets...
Debug: 247 789 target.c:1299 target_call_event_callbacks(): target event 21 (examine-start)
Debug: 248 789 arm_adi_v5.c:1097 ahbap_debugport_init():
Warn : 249 791 adi_v5_jtag.c:249 jtagdp_transaction_endcheck(): Invalid ACK 0x4 in JTAG-DP transaction
Debug: 250 791 openocd.c:147 handle_init_command(): target examination failed
Debug: 251 791 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_flash init
Debug: 252 791 command.c:145 script_debug(): command - ocd_flash ocd_flash init
User : 253 791 target.c:2227 handle_target(): Polling target failed, GDB will be halted. Polling again in 100ms
Debug: 254 791 target.c:1299 target_call_event_callbacks(): target event 0 (gdb-halt)
Debug: 256 791 tcl.c:847 handle_flash_init_command(): Initializing flash devices...
Debug: 257 791 command.c:369 register_command_handler(): registering 'ocd_flash'...
Debug: 258 791 command.c:369 register_command_handler(): registering 'ocd_flash'...
Debug: 259 791 command.c:369 register_command_handler(): registering 'ocd_flash'...
Debug: 260 791 command.c:369 register_command_handler(): registering 'ocd_flash'...
Debug: 261 791 command.c:369 register_command_handler(): registering 'ocd_flash'...
Debug: 262 791 command.c:369 register_command_handler(): registering 'ocd_flash'...
Debug: 263 791 command.c:369 register_command_handler(): registering 'ocd_flash'...
Debug: 264 792 command.c:369 register_command_handler(): registering 'ocd_flash'...
Debug: 265 792 command.c:369 register_command_handler(): registering 'ocd_flash'...
Debug: 266 792 command.c:369 register_command_handler(): registering 'ocd_flash'...
Debug: 267 792 command.c:369 register_command_handler(): registering 'ocd_flash'...
Debug: 268 792 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_mflash init
Debug: 269 792 command.c:145 script_debug(): command - ocd_mflash ocd_mflash init
Debug: 271 792 mflash.c:1379 handle_mflash_init_command(): Initializing mflash devices...
Debug: 272 792 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_nand init
Debug: 273 792 command.c:145 script_debug(): command - ocd_nand ocd_nand init
User : 274 792 target.c:2227 handle_target(): Polling target failed, GDB will be halted. Polling again in 300ms
Debug: 275 792 target.c:1299 target_call_event_callbacks(): target event 0 (gdb-halt)
Debug: 277 792 tcl.c:497 handle_nand_init_command(): Initializing NAND devices...
Debug: 278 792 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_pld init
Debug: 279 792 command.c:145 script_debug(): command - ocd_pld ocd_pld init
Debug: 281 792 pld.c:207 handle_pld_init_command(): Initializing PLDs...
User : 282 1095 target.c:2227 handle_target(): Polling target failed, GDB will be halted. Polling again in 700ms
Debug: 283 1095 target.c:1299 target_call_event_callbacks(): target event 0 (gdb-halt)
User : 284 1903 target.c:2227 handle_target(): Polling target failed, GDB will be halted. Polling again in 1500ms
Debug: 285 1903 target.c:1299 target_call_event_callbacks(): target event 0 (gdb-halt)
^C
$