On 26.03.2015 08:21, Tomas Vanek wrote:
> Michael,
>
> If srst wiring of your LPC812 board is correct, there might be another
> reason that srst
> is not pulsed: OpenOCD checks if target was examined and if not reset
> is not issued
> (this is IMHO wrong)
> Please try http://openocd.zylin.com/2606
>
> More serious problem is DP access failure.
> As included lpc1xxx.cfg uses "adapter_nsrst_delay 200" try
> http://openocd.zylin.com/2591
> Also try http://openocd.zylin.com/2601
>
> Please report results.
I cherry-picked all three and rebuilt - I do not see a difference in
behaviour: still no pulse on reset, and what looks like the same error
to my untrained eye, with or without reset.
cu
Michael
Open On-Chip Debugger 0.9.0-dev-00362-g92a8f03 (2015-03-26-23:52)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.sourceforge.net/doc/doxygen/bugs.html
User : 13 4 command.c:546 command_print(): debug_level: 3
Debug: 14 4 options.c:98 add_default_dirs(): bindir=/opt/openocd-test/bin
Debug: 15 4 options.c:99 add_default_dirs(): pkgdatadir=/opt/openocd-test/share/openocd
Debug: 16 4 options.c:100 add_default_dirs(): run_prefix=
Debug: 17 4 configuration.c:44 add_script_search_dir(): adding /home/rincewind/.openocd
Debug: 18 4 configuration.c:44 add_script_search_dir(): adding /opt/openocd-test/share/openocd/site
Debug: 19 5 configuration.c:44 add_script_search_dir(): adding /opt/openocd-test/share/openocd/scripts
Debug: 20 5 configuration.c:84 find_file(): found lpc812-ktlink.cfg
Debug: 21 5 configuration.c:84 find_file(): found /opt/openocd-test/share/openocd/scripts/interface/ftdi/dp_busblaster_kt-link.cfg
Debug: 22 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_interface ftdi
Debug: 23 5 command.c:145 script_debug(): command - interface ocd_interface ftdi
Debug: 25 5 command.c:366 register_command_handler(): registering 'ocd_ftdi_device_desc'...
Debug: 26 5 command.c:366 register_command_handler(): registering 'ocd_ftdi_serial'...
Debug: 27 5 command.c:366 register_command_handler(): registering 'ocd_ftdi_channel'...
Debug: 28 5 command.c:366 register_command_handler(): registering 'ocd_ftdi_layout_init'...
Debug: 29 5 command.c:366 register_command_handler(): registering 'ocd_ftdi_layout_signal'...
Debug: 30 5 command.c:366 register_command_handler(): registering 'ocd_ftdi_set_signal'...
Debug: 31 5 command.c:366 register_command_handler(): registering 'ocd_ftdi_vid_pid'...
Debug: 32 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ftdi_device_desc Bus Blaster
Debug: 33 5 command.c:145 script_debug(): command - ftdi_device_desc ocd_ftdi_device_desc Bus Blaster
Debug: 35 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ftdi_vid_pid 0x0403 0x6010
Debug: 36 5 command.c:145 script_debug(): command - ftdi_vid_pid ocd_ftdi_vid_pid 0x0403 0x6010
Debug: 38 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ftdi_vid_pid 0x0403 0x8878
Debug: 39 5 command.c:145 script_debug(): command - ftdi_vid_pid ocd_ftdi_vid_pid 0x0403 0x8878
Debug: 41 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ftdi_layout_init 0x8c28 0xff3b
Debug: 42 5 command.c:145 script_debug(): command - ftdi_layout_init ocd_ftdi_layout_init 0x8c28 0xff3b
Debug: 44 6 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ftdi_layout_signal nTRST -data 0x0100 -noe 0x0400
Debug: 45 6 command.c:145 script_debug(): command - ftdi_layout_signal ocd_ftdi_layout_signal nTRST -data 0x0100 -noe 0x0400
Debug: 47 6 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ftdi_layout_signal nSRST -data 0x0200 -noe 0x0800
Debug: 48 6 command.c:145 script_debug(): command - ftdi_layout_signal ocd_ftdi_layout_signal nSRST -data 0x0200 -noe 0x0800
Debug: 50 6 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ftdi_layout_signal LED -ndata 0x8000
Debug: 51 6 command.c:145 script_debug(): command - ftdi_layout_signal ocd_ftdi_layout_signal LED -ndata 0x8000
Debug: 53 6 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ftdi_layout_signal SWD_EN -ndata 0x0020 -oe 0x2000
Debug: 54 6 command.c:145 script_debug(): command - ftdi_layout_signal ocd_ftdi_layout_signal SWD_EN -ndata 0x0020 -oe 0x2000
Debug: 56 6 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ftdi_layout_signal SWDIO_OE -ndata 0x1000
Debug: 57 6 command.c:145 script_debug(): command - ftdi_layout_signal ocd_ftdi_layout_signal SWDIO_OE -ndata 0x1000
Debug: 59 6 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select swd
Debug: 60 6 command.c:145 script_debug(): command - ocd_transport ocd_transport select swd
Debug: 61 6 command.c:325 command_new(): BUG: command 'swd' does not have the '.usage' field filled out
Debug: 62 6 command.c:366 register_command_handler(): registering 'ocd_swd'...
Debug: 63 6 command.c:366 register_command_handler(): registering 'ocd_swd'...
Info : 64 6 ftdi.c:920 ftdi_swd_init(): FTDI SWD mode enabled
Debug: 65 6 configuration.c:84 find_file(): found /opt/openocd-test/share/openocd/scripts/target/lpc8xx.cfg
Debug: 66 6 configuration.c:84 find_file(): found /opt/openocd-test/share/openocd/scripts/target/lpc1xxx.cfg
Debug: 67 6 configuration.c:84 find_file(): found /opt/openocd-test/share/openocd/scripts/target/swj-dp.tcl
Debug: 68 7 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 69 7 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 70 7 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 71 7 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 72 7 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 73 7 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 74 7 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 75 7 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 76 7 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_swd newdap lpc8xx cpu -irlen 4 -expected-id 0x0bc11477
Debug: 77 7 command.c:145 script_debug(): command - ocd_swd ocd_swd newdap lpc8xx cpu -irlen 4 -expected-id 0x0bc11477
Debug: 78 7 tcl.c:554 jim_newtap_cmd(): Creating New Tap, Chip: lpc8xx, Tap: cpu, Dotted: lpc8xx.cpu, 4 params
Debug: 79 7 core.c:1302 jtag_tap_init(): Created Tap: lpc8xx.cpu @ abs position 0, irlen 0, capture: 0x0 mask: 0x0
Debug: 80 7 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_target create lpc8xx.cpu cortex_m -chain-position lpc8xx.cpu
Debug: 81 7 command.c:145 script_debug(): command - ocd_target ocd_target create lpc8xx.cpu cortex_m -chain-position lpc8xx.cpu
Debug: 82 7 target.c:1837 target_free_all_working_areas_restore(): freeing all working areas
Debug: 83 7 command.c:366 register_command_handler(): registering 'ocd_arm'...
Debug: 84 7 command.c:366 register_command_handler(): registering 'ocd_arm'...
Debug: 85 7 command.c:366 register_command_handler(): registering 'ocd_arm'...
Debug: 86 7 command.c:366 register_command_handler(): registering 'ocd_arm'...
Debug: 87 7 command.c:366 register_command_handler(): registering 'ocd_arm'...
Debug: 88 7 command.c:366 register_command_handler(): registering 'ocd_arm'...
Debug: 89 7 command.c:366 register_command_handler(): registering 'ocd_dap'...
Debug: 90 7 command.c:366 register_command_handler(): registering 'ocd_dap'...
Debug: 91 7 command.c:366 register_command_handler(): registering 'ocd_dap'...
Debug: 92 8 command.c:366 register_command_handler(): registering 'ocd_dap'...
Debug: 93 8 command.c:366 register_command_handler(): registering 'ocd_dap'...
Debug: 94 8 command.c:366 register_command_handler(): registering 'ocd_dap'...
Debug: 95 8 command.c:366 register_command_handler(): registering 'ocd_dap'...
Debug: 96 8 command.c:366 register_command_handler(): registering 'ocd_tpiu'...
Debug: 97 8 command.c:366 register_command_handler(): registering 'ocd_itm'...
Debug: 98 8 command.c:366 register_command_handler(): registering 'ocd_itm'...
Debug: 99 8 command.c:366 register_command_handler(): registering 'ocd_cortex_m'...
Debug: 100 8 command.c:366 register_command_handler(): registering 'ocd_cortex_m'...
Debug: 101 8 command.c:366 register_command_handler(): registering 'ocd_cortex_m'...
Debug: 102 8 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 103 8 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 104 8 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 105 8 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 106 8 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 107 8 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 108 8 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 109 8 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 110 8 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 111 8 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 112 8 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 113 8 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 114 8 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 115 8 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 116 8 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 117 8 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 118 8 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 119 8 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 120 8 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 121 8 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 122 8 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 123 8 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 124 8 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 125 8 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 126 8 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 127 8 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 128 8 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 129 8 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 130 8 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 131 8 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 132 8 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 133 8 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 134 8 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 135 8 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 136 9 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 137 9 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 138 9 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 139 9 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 140 9 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 141 9 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 142 9 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 143 9 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 144 9 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 145 9 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_lpc8xx.cpu configure -work-area-phys 0x10000000 -work-area-size 0x400
Debug: 146 9 command.c:145 script_debug(): command - ocd_lpc8xx.cpu ocd_lpc8xx.cpu configure -work-area-phys 0x10000000 -work-area-size 0x400
Debug: 147 9 target.c:1837 target_free_all_working_areas_restore(): freeing all working areas
Debug: 148 9 target.c:1837 target_free_all_working_areas_restore(): freeing all working areas
Debug: 149 9 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_flash bank lpc8xx.flash lpc2000 0x0 0 0 0 lpc8xx.cpu auto 12000 calc_checksum
Debug: 150 9 command.c:145 script_debug(): command - ocd_flash ocd_flash bank lpc8xx.flash lpc2000 0x0 0 0 0 lpc8xx.cpu auto 12000 calc_checksum
Debug: 152 9 command.c:366 register_command_handler(): registering 'ocd_lpc2000'...
Debug: 153 9 tcl.c:824 handle_flash_bank_command(): 'lpc2000' driver usage field missing
Debug: 154 9 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_lpc8xx.cpu configure -event reset-init
mww 0x40048000 0x02
Debug: 155 9 command.c:145 script_debug(): command - ocd_lpc8xx.cpu ocd_lpc8xx.cpu configure -event reset-init
mww 0x40048000 0x02
Debug: 156 9 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_adapter_khz 10
Debug: 157 9 command.c:145 script_debug(): command - adapter_khz ocd_adapter_khz 10
Debug: 159 9 core.c:1629 jtag_config_khz(): handle jtag khz
Debug: 160 9 core.c:1596 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 161 9 core.c:1596 adapter_khz_to_speed(): convert khz to interface specific speed value
User : 162 9 command.c:546 command_print(): adapter speed: 10 kHz
Debug: 163 9 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_adapter_nsrst_delay 200
Debug: 164 9 command.c:145 script_debug(): command - adapter_nsrst_delay ocd_adapter_nsrst_delay 200
User : 166 9 command.c:546 command_print(): adapter_nsrst_delay: 200
Debug: 167 9 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 168 9 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 169 9 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 170 9 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 171 9 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_cortex_m reset_config sysresetreq
Debug: 172 9 command.c:145 script_debug(): command - ocd_cortex_m ocd_cortex_m reset_config sysresetreq
User : 174 9 command.c:546 command_print(): cortex_m reset_config sysresetreq
Debug: 175 9 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_reset_config none
Debug: 176 9 command.c:145 script_debug(): command - reset_config ocd_reset_config none
User : 178 9 command.c:546 command_print(): none separate
Debug: 179 9 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_init
Debug: 180 9 command.c:145 script_debug(): command - init ocd_init
Debug: 182 10 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_target init
Debug: 183 10 command.c:145 script_debug(): command - ocd_target ocd_target init
Debug: 185 10 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_target names
Debug: 186 10 command.c:145 script_debug(): command - ocd_target ocd_target names
Debug: 187 10 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_lpc8xx.cpu cget -event gdb-flash-erase-start
Debug: 188 10 command.c:145 script_debug(): command - ocd_lpc8xx.cpu ocd_lpc8xx.cpu cget -event gdb-flash-erase-start
Debug: 189 10 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_lpc8xx.cpu configure -event gdb-flash-erase-start reset init
Debug: 190 10 command.c:145 script_debug(): command - ocd_lpc8xx.cpu ocd_lpc8xx.cpu configure -event gdb-flash-erase-start reset init
Debug: 191 10 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_lpc8xx.cpu cget -event gdb-flash-write-end
Debug: 192 10 command.c:145 script_debug(): command - ocd_lpc8xx.cpu ocd_lpc8xx.cpu cget -event gdb-flash-write-end
Debug: 193 10 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_lpc8xx.cpu configure -event gdb-flash-write-end reset halt
Debug: 194 10 command.c:145 script_debug(): command - ocd_lpc8xx.cpu ocd_lpc8xx.cpu configure -event gdb-flash-write-end reset halt
Debug: 195 10 target.c:1313 handle_target_init_command(): Initializing targets...
Debug: 196 10 command.c:366 register_command_handler(): registering 'ocd_target_request'...
Debug: 197 10 command.c:366 register_command_handler(): registering 'ocd_trace'...
Debug: 198 10 command.c:366 register_command_handler(): registering 'ocd_trace'...
Debug: 199 10 command.c:366 register_command_handler(): registering 'ocd_fast_load_image'...
Debug: 200 10 command.c:366 register_command_handler(): registering 'ocd_fast_load'...
Debug: 201 10 command.c:366 register_command_handler(): registering 'ocd_profile'...
Debug: 202 10 command.c:366 register_command_handler(): registering 'ocd_virt2phys'...
Debug: 203 10 command.c:366 register_command_handler(): registering 'ocd_reg'...
Debug: 204 10 command.c:366 register_command_handler(): registering 'ocd_poll'...
Debug: 205 10 command.c:366 register_command_handler(): registering 'ocd_wait_halt'...
Debug: 206 10 command.c:366 register_command_handler(): registering 'ocd_halt'...
Debug: 207 10 command.c:366 register_command_handler(): registering 'ocd_resume'...
Debug: 208 10 command.c:366 register_command_handler(): registering 'ocd_reset'...
Debug: 209 10 command.c:366 register_command_handler(): registering 'ocd_soft_reset_halt'...
Debug: 210 10 command.c:366 register_command_handler(): registering 'ocd_step'...
Debug: 211 10 command.c:366 register_command_handler(): registering 'ocd_mdw'...
Debug: 212 10 command.c:366 register_command_handler(): registering 'ocd_mdh'...
Debug: 213 10 command.c:366 register_command_handler(): registering 'ocd_mdb'...
Debug: 214 10 command.c:366 register_command_handler(): registering 'ocd_mww'...
Debug: 215 10 command.c:366 register_command_handler(): registering 'ocd_mwh'...
Debug: 216 10 command.c:366 register_command_handler(): registering 'ocd_mwb'...
Debug: 217 10 command.c:366 register_command_handler(): registering 'ocd_bp'...
Debug: 218 10 command.c:366 register_command_handler(): registering 'ocd_rbp'...
Debug: 219 10 command.c:366 register_command_handler(): registering 'ocd_wp'...
Debug: 220 10 command.c:366 register_command_handler(): registering 'ocd_rwp'...
Debug: 221 10 command.c:366 register_command_handler(): registering 'ocd_load_image'...
Debug: 222 10 command.c:366 register_command_handler(): registering 'ocd_dump_image'...
Debug: 223 10 command.c:366 register_command_handler(): registering 'ocd_verify_image'...
Debug: 224 10 command.c:366 register_command_handler(): registering 'ocd_test_image'...
Debug: 225 10 command.c:366 register_command_handler(): registering 'ocd_reset_nag'...
Debug: 226 10 command.c:366 register_command_handler(): registering 'ocd_ps'...
Debug: 227 10 command.c:366 register_command_handler(): registering 'ocd_test_mem_access'...
Debug: 228 10 ftdi.c:625 ftdi_initialize(): ftdi interface using shortest path jtag state transitions
Debug: 229 13 mpsse.c:363 mpsse_purge(): -
Debug: 230 14 mpsse.c:564 mpsse_set_data_bits_low_byte(): -
Debug: 231 14 mpsse.c:396 buffer_write_byte(): 80
Debug: 232 14 mpsse.c:396 buffer_write_byte(): 08
Debug: 233 14 mpsse.c:396 buffer_write_byte(): 3b
Debug: 234 14 mpsse.c:581 mpsse_set_data_bits_high_byte(): -
Debug: 235 14 mpsse.c:396 buffer_write_byte(): 82
Debug: 236 14 mpsse.c:396 buffer_write_byte(): ac
Debug: 237 14 mpsse.c:396 buffer_write_byte(): ff
Debug: 238 14 mpsse.c:564 mpsse_set_data_bits_low_byte(): -
Debug: 239 14 mpsse.c:396 buffer_write_byte(): 80
Debug: 240 14 mpsse.c:396 buffer_write_byte(): 08
Debug: 241 14 mpsse.c:396 buffer_write_byte(): 3b
Debug: 242 14 mpsse.c:581 mpsse_set_data_bits_high_byte(): -
Debug: 243 14 mpsse.c:396 buffer_write_byte(): 82
Debug: 244 14 mpsse.c:396 buffer_write_byte(): ac
Debug: 245 14 mpsse.c:396 buffer_write_byte(): ff
Debug: 246 14 mpsse.c:644 mpsse_loopback_config(): off
Debug: 247 14 mpsse.c:396 buffer_write_byte(): 85
Debug: 248 14 mpsse.c:689 mpsse_set_frequency(): target 10000 Hz
Debug: 249 14 mpsse.c:681 mpsse_rtck_config(): off
Debug: 250 14 mpsse.c:396 buffer_write_byte(): 97
Debug: 251 14 mpsse.c:670 mpsse_divide_by_5_config(): off
Debug: 252 14 mpsse.c:396 buffer_write_byte(): 8a
Debug: 253 14 mpsse.c:650 mpsse_set_divisor(): 2999
Debug: 254 14 mpsse.c:396 buffer_write_byte(): 86
Debug: 255 14 mpsse.c:396 buffer_write_byte(): b7
Debug: 256 14 mpsse.c:396 buffer_write_byte(): 0b
Debug: 257 14 mpsse.c:713 mpsse_set_frequency(): actually 10000 Hz
Debug: 258 14 mpsse.c:796 mpsse_flush(): write 18, read 0
Debug: 259 15 mpsse.c:770 write_cb(): transferred 18 of 18
Debug: 260 15 mpsse.c:772 write_cb(): 80 08 3b 82 ac ff 80 08 3b 82 ac ff 85 97 8a 86 b7 0b
Debug: 261 15 core.c:1596 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 262 15 core.c:1599 adapter_khz_to_speed(): have interface set up
Debug: 263 15 mpsse.c:689 mpsse_set_frequency(): target 10000 Hz
Debug: 264 15 mpsse.c:681 mpsse_rtck_config(): off
Debug: 265 15 mpsse.c:396 buffer_write_byte(): 97
Debug: 266 15 mpsse.c:670 mpsse_divide_by_5_config(): off
Debug: 267 15 mpsse.c:396 buffer_write_byte(): 8a
Debug: 268 15 mpsse.c:650 mpsse_set_divisor(): 2999
Debug: 269 15 mpsse.c:396 buffer_write_byte(): 86
Debug: 270 15 mpsse.c:396 buffer_write_byte(): b7
Debug: 271 15 mpsse.c:396 buffer_write_byte(): 0b
Debug: 272 15 mpsse.c:713 mpsse_set_frequency(): actually 10000 Hz
Debug: 273 15 core.c:1596 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 274 15 core.c:1599 adapter_khz_to_speed(): have interface set up
Info : 275 15 core.c:1384 adapter_init(): clock speed 10 kHz
Debug: 276 15 openocd.c:137 handle_init_command(): Debug Adapter init complete
Debug: 277 15 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport init
Debug: 278 15 command.c:145 script_debug(): command - ocd_transport ocd_transport init
Debug: 280 15 transport.c:240 handle_transport_init(): handle_transport_init
Debug: 281 15 ftdi.c:1092 ftdi_swd_switch_seq(): JTAG-to-SWD
Debug: 282 15 mpsse.c:438 mpsse_clock_data(): out 118 bits
Debug: 283 15 mpsse.c:396 buffer_write_byte(): 19
Debug: 284 15 mpsse.c:396 buffer_write_byte(): 0d
Debug: 285 15 mpsse.c:396 buffer_write_byte(): 00
Debug: 286 15 mpsse.c:404 buffer_write(): 112 bits
Debug: 287 15 mpsse.c:396 buffer_write_byte(): 1b
Debug: 288 15 mpsse.c:396 buffer_write_byte(): 05
Debug: 289 15 mpsse.c:404 buffer_write(): 6 bits
Debug: 290 15 mpsse.c:438 mpsse_clock_data(): out 8 bits
Debug: 291 15 mpsse.c:396 buffer_write_byte(): 19
Debug: 292 15 mpsse.c:396 buffer_write_byte(): 00
Debug: 293 15 mpsse.c:396 buffer_write_byte(): 00
Debug: 294 15 mpsse.c:404 buffer_write(): 8 bits
Debug: 295 15 mpsse.c:581 mpsse_set_data_bits_high_byte(): -
Debug: 296 15 mpsse.c:396 buffer_write_byte(): 82
Debug: 297 15 mpsse.c:396 buffer_write_byte(): bc
Debug: 298 15 mpsse.c:396 buffer_write_byte(): ff
Debug: 299 15 mpsse.c:438 mpsse_clock_data(): in 38 bits
Debug: 300 15 mpsse.c:396 buffer_write_byte(): 29
Debug: 301 15 mpsse.c:396 buffer_write_byte(): 03
Debug: 302 15 mpsse.c:396 buffer_write_byte(): 00
Debug: 303 15 mpsse.c:414 buffer_add_read(): 32 bits, offset 0
Debug: 304 15 mpsse.c:396 buffer_write_byte(): 2b
Debug: 305 15 mpsse.c:396 buffer_write_byte(): 05
Debug: 306 15 mpsse.c:414 buffer_add_read(): 6 bits, offset 2
Debug: 307 15 mpsse.c:581 mpsse_set_data_bits_high_byte(): -
Debug: 308 15 mpsse.c:396 buffer_write_byte(): 82
Debug: 309 15 mpsse.c:396 buffer_write_byte(): ac
Debug: 310 15 mpsse.c:396 buffer_write_byte(): ff
Debug: 311 15 mpsse.c:438 mpsse_clock_data(): out 8 bits
Debug: 312 15 mpsse.c:396 buffer_write_byte(): 19
Debug: 313 15 mpsse.c:396 buffer_write_byte(): 00
Debug: 314 15 mpsse.c:396 buffer_write_byte(): 00
Debug: 315 15 mpsse.c:404 buffer_write(): 8 bits
Debug: 316 15 mpsse.c:581 mpsse_set_data_bits_high_byte(): -
Debug: 317 15 mpsse.c:396 buffer_write_byte(): 82
Debug: 318 15 mpsse.c:396 buffer_write_byte(): bc
Debug: 319 15 mpsse.c:396 buffer_write_byte(): ff
Debug: 320 15 mpsse.c:438 mpsse_clock_data(): in 5 bits
Debug: 321 15 mpsse.c:396 buffer_write_byte(): 2b
Debug: 322 15 mpsse.c:396 buffer_write_byte(): 04
Debug: 323 15 mpsse.c:414 buffer_add_read(): 5 bits, offset 3
Debug: 324 15 mpsse.c:581 mpsse_set_data_bits_high_byte(): -
Debug: 325 15 mpsse.c:396 buffer_write_byte(): 82
Debug: 326 15 mpsse.c:396 buffer_write_byte(): ac
Debug: 327 15 mpsse.c:396 buffer_write_byte(): ff
Debug: 328 15 mpsse.c:438 mpsse_clock_data(): out 33 bits
Debug: 329 15 mpsse.c:396 buffer_write_byte(): 19
Debug: 330 15 mpsse.c:396 buffer_write_byte(): 03
Debug: 331 15 mpsse.c:396 buffer_write_byte(): 00
Debug: 332 15 mpsse.c:404 buffer_write(): 32 bits
Debug: 333 15 mpsse.c:396 buffer_write_byte(): 1b
Debug: 334 15 mpsse.c:396 buffer_write_byte(): 00
Debug: 335 15 mpsse.c:404 buffer_write(): 1 bits
Debug: 336 15 ftdi.c:946 ftdi_swd_run_queue(): Executing 2 queued transactions
Debug: 337 15 mpsse.c:438 mpsse_clock_data(): 8 bits
Debug: 338 15 mpsse.c:396 buffer_write_byte(): 19
Debug: 339 15 mpsse.c:396 buffer_write_byte(): 00
Debug: 340 15 mpsse.c:396 buffer_write_byte(): 00
Debug: 341 15 mpsse.c:396 buffer_write_byte(): 00
Debug: 342 15 mpsse.c:796 mpsse_flush(): write 66+1, read 6
Debug: 343 15 mpsse.c:396 buffer_write_byte(): 87
Debug: 344 15 mpsse.c:770 write_cb(): transferred 67 of 67
Debug: 345 15 mpsse.c:772 write_cb(): 97 8a 86 b7 0b 19 0d 00 ff ff ff ff ff ff 7b 9e ff ff ff ff ff ff 1b 05 0f 19 00 00 a5 82 bc ff
Debug: 346 15 mpsse.c:772 write_cb(): 29 03 00 2b 05 82 ac ff 19 00 00 81 82 bc ff 2b 04 82 ac ff 19 03 00 1e 00 00 00 1b 00 00 19 00
Debug: 347 15 mpsse.c:772 write_cb(): 00 00 87
Debug: 348 37 mpsse.c:732 read_cb(): 32 60 fb 99 f0 e1 ff ff
Debug: 349 37 mpsse.c:756 read_cb(): raw chunk 8, transferred 6 of 6
Debug: 350 37 ftdi.c:978 ftdi_swd_run_queue(): JUNK DP read reg 0 = fe1f099f
Debug: 351 37 command.c:628 run_command(): Command failed with error code -4
User : 352 37 command.c:666 command_run_line(): in procedure 'init' called at file "lpc812-ktlink.cfg", line 39
in procedure 'ocd_bouncer'
in procedure 'transport'
Debug: 353 37 command.c:628 run_command(): Command failed with error code -4
User : 354 37 command.c:666 command_run_line(): lpc812-ktlink.cfg:39: Error:
in procedure 'script'
at file "embedded:startup.tcl", line 58
in procedure 'init' called at file "lpc812-ktlink.cfg", line 39
Open On-Chip Debugger 0.9.0-dev-00362-g92a8f03 (2015-03-26-23:52)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.sourceforge.net/doc/doxygen/bugs.html
User : 13 5 command.c:546 command_print(): debug_level: 3
Debug: 14 5 options.c:98 add_default_dirs(): bindir=/opt/openocd-test/bin
Debug: 15 5 options.c:99 add_default_dirs(): pkgdatadir=/opt/openocd-test/share/openocd
Debug: 16 5 options.c:100 add_default_dirs(): run_prefix=
Debug: 17 5 configuration.c:44 add_script_search_dir(): adding /home/rincewind/.openocd
Debug: 18 5 configuration.c:44 add_script_search_dir(): adding /opt/openocd-test/share/openocd/site
Debug: 19 5 configuration.c:44 add_script_search_dir(): adding /opt/openocd-test/share/openocd/scripts
Debug: 20 5 configuration.c:84 find_file(): found lpc812-ktlink.cfg
Debug: 21 6 configuration.c:84 find_file(): found /opt/openocd-test/share/openocd/scripts/interface/ftdi/dp_busblaster_kt-link.cfg
Debug: 22 6 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_interface ftdi
Debug: 23 6 command.c:145 script_debug(): command - interface ocd_interface ftdi
Debug: 25 6 command.c:366 register_command_handler(): registering 'ocd_ftdi_device_desc'...
Debug: 26 6 command.c:366 register_command_handler(): registering 'ocd_ftdi_serial'...
Debug: 27 6 command.c:366 register_command_handler(): registering 'ocd_ftdi_channel'...
Debug: 28 6 command.c:366 register_command_handler(): registering 'ocd_ftdi_layout_init'...
Debug: 29 6 command.c:366 register_command_handler(): registering 'ocd_ftdi_layout_signal'...
Debug: 30 6 command.c:366 register_command_handler(): registering 'ocd_ftdi_set_signal'...
Debug: 31 6 command.c:366 register_command_handler(): registering 'ocd_ftdi_vid_pid'...
Debug: 32 6 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ftdi_device_desc Bus Blaster
Debug: 33 6 command.c:145 script_debug(): command - ftdi_device_desc ocd_ftdi_device_desc Bus Blaster
Debug: 35 6 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ftdi_vid_pid 0x0403 0x6010
Debug: 36 6 command.c:145 script_debug(): command - ftdi_vid_pid ocd_ftdi_vid_pid 0x0403 0x6010
Debug: 38 6 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ftdi_vid_pid 0x0403 0x8878
Debug: 39 6 command.c:145 script_debug(): command - ftdi_vid_pid ocd_ftdi_vid_pid 0x0403 0x8878
Debug: 41 6 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ftdi_layout_init 0x8c28 0xff3b
Debug: 42 6 command.c:145 script_debug(): command - ftdi_layout_init ocd_ftdi_layout_init 0x8c28 0xff3b
Debug: 44 6 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ftdi_layout_signal nTRST -data 0x0100 -noe 0x0400
Debug: 45 7 command.c:145 script_debug(): command - ftdi_layout_signal ocd_ftdi_layout_signal nTRST -data 0x0100 -noe 0x0400
Debug: 47 7 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ftdi_layout_signal nSRST -data 0x0200 -noe 0x0800
Debug: 48 7 command.c:145 script_debug(): command - ftdi_layout_signal ocd_ftdi_layout_signal nSRST -data 0x0200 -noe 0x0800
Debug: 50 7 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ftdi_layout_signal LED -ndata 0x8000
Debug: 51 7 command.c:145 script_debug(): command - ftdi_layout_signal ocd_ftdi_layout_signal LED -ndata 0x8000
Debug: 53 7 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ftdi_layout_signal SWD_EN -ndata 0x0020 -oe 0x2000
Debug: 54 7 command.c:145 script_debug(): command - ftdi_layout_signal ocd_ftdi_layout_signal SWD_EN -ndata 0x0020 -oe 0x2000
Debug: 56 7 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ftdi_layout_signal SWDIO_OE -ndata 0x1000
Debug: 57 7 command.c:145 script_debug(): command - ftdi_layout_signal ocd_ftdi_layout_signal SWDIO_OE -ndata 0x1000
Debug: 59 7 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select swd
Debug: 60 7 command.c:145 script_debug(): command - ocd_transport ocd_transport select swd
Debug: 61 7 command.c:325 command_new(): BUG: command 'swd' does not have the '.usage' field filled out
Debug: 62 7 command.c:366 register_command_handler(): registering 'ocd_swd'...
Debug: 63 7 command.c:366 register_command_handler(): registering 'ocd_swd'...
Info : 64 7 ftdi.c:920 ftdi_swd_init(): FTDI SWD mode enabled
Debug: 65 7 configuration.c:84 find_file(): found /opt/openocd-test/share/openocd/scripts/target/lpc8xx.cfg
Debug: 66 7 configuration.c:84 find_file(): found /opt/openocd-test/share/openocd/scripts/target/lpc1xxx.cfg
Debug: 67 8 configuration.c:84 find_file(): found /opt/openocd-test/share/openocd/scripts/target/swj-dp.tcl
Debug: 68 8 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 69 8 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 70 8 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 71 8 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 72 8 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 73 8 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 74 8 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 75 8 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 76 8 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_swd newdap lpc8xx cpu -irlen 4 -expected-id 0x0bc11477
Debug: 77 8 command.c:145 script_debug(): command - ocd_swd ocd_swd newdap lpc8xx cpu -irlen 4 -expected-id 0x0bc11477
Debug: 78 8 tcl.c:554 jim_newtap_cmd(): Creating New Tap, Chip: lpc8xx, Tap: cpu, Dotted: lpc8xx.cpu, 4 params
Debug: 79 8 core.c:1302 jtag_tap_init(): Created Tap: lpc8xx.cpu @ abs position 0, irlen 0, capture: 0x0 mask: 0x0
Debug: 80 9 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_target create lpc8xx.cpu cortex_m -chain-position lpc8xx.cpu
Debug: 81 9 command.c:145 script_debug(): command - ocd_target ocd_target create lpc8xx.cpu cortex_m -chain-position lpc8xx.cpu
Debug: 82 9 target.c:1837 target_free_all_working_areas_restore(): freeing all working areas
Debug: 83 9 command.c:366 register_command_handler(): registering 'ocd_arm'...
Debug: 84 9 command.c:366 register_command_handler(): registering 'ocd_arm'...
Debug: 85 9 command.c:366 register_command_handler(): registering 'ocd_arm'...
Debug: 86 9 command.c:366 register_command_handler(): registering 'ocd_arm'...
Debug: 87 9 command.c:366 register_command_handler(): registering 'ocd_arm'...
Debug: 88 9 command.c:366 register_command_handler(): registering 'ocd_arm'...
Debug: 89 9 command.c:366 register_command_handler(): registering 'ocd_dap'...
Debug: 90 9 command.c:366 register_command_handler(): registering 'ocd_dap'...
Debug: 91 9 command.c:366 register_command_handler(): registering 'ocd_dap'...
Debug: 92 9 command.c:366 register_command_handler(): registering 'ocd_dap'...
Debug: 93 9 command.c:366 register_command_handler(): registering 'ocd_dap'...
Debug: 94 9 command.c:366 register_command_handler(): registering 'ocd_dap'...
Debug: 95 9 command.c:366 register_command_handler(): registering 'ocd_dap'...
Debug: 96 9 command.c:366 register_command_handler(): registering 'ocd_tpiu'...
Debug: 97 9 command.c:366 register_command_handler(): registering 'ocd_itm'...
Debug: 98 9 command.c:366 register_command_handler(): registering 'ocd_itm'...
Debug: 99 9 command.c:366 register_command_handler(): registering 'ocd_cortex_m'...
Debug: 100 9 command.c:366 register_command_handler(): registering 'ocd_cortex_m'...
Debug: 101 9 command.c:366 register_command_handler(): registering 'ocd_cortex_m'...
Debug: 102 9 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 103 9 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 104 9 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 105 9 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 106 9 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 107 9 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 108 9 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 109 9 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 110 9 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 111 9 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 112 9 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 113 9 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 114 9 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 115 9 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 116 9 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 117 10 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 118 10 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 119 10 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 120 10 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 121 10 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 122 10 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 123 10 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 124 10 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 125 10 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 126 10 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 127 10 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 128 10 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 129 10 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 130 10 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 131 10 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 132 10 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 133 10 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 134 10 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 135 10 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 136 10 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 137 10 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 138 10 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 139 10 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 140 10 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 141 10 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 142 10 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 143 10 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 144 10 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 145 10 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_lpc8xx.cpu configure -work-area-phys 0x10000000 -work-area-size 0x400
Debug: 146 10 command.c:145 script_debug(): command - ocd_lpc8xx.cpu ocd_lpc8xx.cpu configure -work-area-phys 0x10000000 -work-area-size 0x400
Debug: 147 10 target.c:1837 target_free_all_working_areas_restore(): freeing all working areas
Debug: 148 10 target.c:1837 target_free_all_working_areas_restore(): freeing all working areas
Debug: 149 10 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_flash bank lpc8xx.flash lpc2000 0x0 0 0 0 lpc8xx.cpu auto 12000 calc_checksum
Debug: 150 11 command.c:145 script_debug(): command - ocd_flash ocd_flash bank lpc8xx.flash lpc2000 0x0 0 0 0 lpc8xx.cpu auto 12000 calc_checksum
Debug: 152 11 command.c:366 register_command_handler(): registering 'ocd_lpc2000'...
Debug: 153 11 tcl.c:824 handle_flash_bank_command(): 'lpc2000' driver usage field missing
Debug: 154 11 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_lpc8xx.cpu configure -event reset-init
mww 0x40048000 0x02
Debug: 155 11 command.c:145 script_debug(): command - ocd_lpc8xx.cpu ocd_lpc8xx.cpu configure -event reset-init
mww 0x40048000 0x02
Debug: 156 11 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_adapter_khz 10
Debug: 157 11 command.c:145 script_debug(): command - adapter_khz ocd_adapter_khz 10
Debug: 159 11 core.c:1629 jtag_config_khz(): handle jtag khz
Debug: 160 11 core.c:1596 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 161 11 core.c:1596 adapter_khz_to_speed(): convert khz to interface specific speed value
User : 162 11 command.c:546 command_print(): adapter speed: 10 kHz
Debug: 163 11 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_adapter_nsrst_delay 200
Debug: 164 11 command.c:145 script_debug(): command - adapter_nsrst_delay ocd_adapter_nsrst_delay 200
User : 166 11 command.c:546 command_print(): adapter_nsrst_delay: 200
Debug: 167 11 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 168 11 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 169 11 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 170 11 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 171 11 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_cortex_m reset_config sysresetreq
Debug: 172 11 command.c:145 script_debug(): command - ocd_cortex_m ocd_cortex_m reset_config sysresetreq
User : 174 11 command.c:546 command_print(): cortex_m reset_config sysresetreq
Debug: 175 11 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_reset_config srst_only
Debug: 176 11 command.c:145 script_debug(): command - reset_config ocd_reset_config srst_only
User : 178 11 command.c:546 command_print(): srst_only separate srst_gates_jtag srst_open_drain connect_deassert_srst
Debug: 179 12 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_init
Debug: 180 12 command.c:145 script_debug(): command - init ocd_init
Debug: 182 12 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_target init
Debug: 183 12 command.c:145 script_debug(): command - ocd_target ocd_target init
Debug: 185 12 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_target names
Debug: 186 12 command.c:145 script_debug(): command - ocd_target ocd_target names
Debug: 187 12 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_lpc8xx.cpu cget -event gdb-flash-erase-start
Debug: 188 12 command.c:145 script_debug(): command - ocd_lpc8xx.cpu ocd_lpc8xx.cpu cget -event gdb-flash-erase-start
Debug: 189 12 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_lpc8xx.cpu configure -event gdb-flash-erase-start reset init
Debug: 190 12 command.c:145 script_debug(): command - ocd_lpc8xx.cpu ocd_lpc8xx.cpu configure -event gdb-flash-erase-start reset init
Debug: 191 12 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_lpc8xx.cpu cget -event gdb-flash-write-end
Debug: 192 12 command.c:145 script_debug(): command - ocd_lpc8xx.cpu ocd_lpc8xx.cpu cget -event gdb-flash-write-end
Debug: 193 12 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_lpc8xx.cpu configure -event gdb-flash-write-end reset halt
Debug: 194 12 command.c:145 script_debug(): command - ocd_lpc8xx.cpu ocd_lpc8xx.cpu configure -event gdb-flash-write-end reset halt
Debug: 195 12 target.c:1313 handle_target_init_command(): Initializing targets...
Debug: 196 12 command.c:366 register_command_handler(): registering 'ocd_target_request'...
Debug: 197 12 command.c:366 register_command_handler(): registering 'ocd_trace'...
Debug: 198 12 command.c:366 register_command_handler(): registering 'ocd_trace'...
Debug: 199 12 command.c:366 register_command_handler(): registering 'ocd_fast_load_image'...
Debug: 200 13 command.c:366 register_command_handler(): registering 'ocd_fast_load'...
Debug: 201 13 command.c:366 register_command_handler(): registering 'ocd_profile'...
Debug: 202 13 command.c:366 register_command_handler(): registering 'ocd_virt2phys'...
Debug: 203 13 command.c:366 register_command_handler(): registering 'ocd_reg'...
Debug: 204 13 command.c:366 register_command_handler(): registering 'ocd_poll'...
Debug: 205 13 command.c:366 register_command_handler(): registering 'ocd_wait_halt'...
Debug: 206 13 command.c:366 register_command_handler(): registering 'ocd_halt'...
Debug: 207 13 command.c:366 register_command_handler(): registering 'ocd_resume'...
Debug: 208 13 command.c:366 register_command_handler(): registering 'ocd_reset'...
Debug: 209 13 command.c:366 register_command_handler(): registering 'ocd_soft_reset_halt'...
Debug: 210 13 command.c:366 register_command_handler(): registering 'ocd_step'...
Debug: 211 13 command.c:366 register_command_handler(): registering 'ocd_mdw'...
Debug: 212 13 command.c:366 register_command_handler(): registering 'ocd_mdh'...
Debug: 213 13 command.c:366 register_command_handler(): registering 'ocd_mdb'...
Debug: 214 13 command.c:366 register_command_handler(): registering 'ocd_mww'...
Debug: 215 13 command.c:366 register_command_handler(): registering 'ocd_mwh'...
Debug: 216 13 command.c:366 register_command_handler(): registering 'ocd_mwb'...
Debug: 217 13 command.c:366 register_command_handler(): registering 'ocd_bp'...
Debug: 218 13 command.c:366 register_command_handler(): registering 'ocd_rbp'...
Debug: 219 13 command.c:366 register_command_handler(): registering 'ocd_wp'...
Debug: 220 13 command.c:366 register_command_handler(): registering 'ocd_rwp'...
Debug: 221 13 command.c:366 register_command_handler(): registering 'ocd_load_image'...
Debug: 222 13 command.c:366 register_command_handler(): registering 'ocd_dump_image'...
Debug: 223 13 command.c:366 register_command_handler(): registering 'ocd_verify_image'...
Debug: 224 13 command.c:366 register_command_handler(): registering 'ocd_test_image'...
Debug: 225 13 command.c:366 register_command_handler(): registering 'ocd_reset_nag'...
Debug: 226 13 command.c:366 register_command_handler(): registering 'ocd_ps'...
Debug: 227 13 command.c:366 register_command_handler(): registering 'ocd_test_mem_access'...
Debug: 228 13 ftdi.c:625 ftdi_initialize(): ftdi interface using shortest path jtag state transitions
Debug: 229 17 mpsse.c:363 mpsse_purge(): -
Debug: 230 17 mpsse.c:564 mpsse_set_data_bits_low_byte(): -
Debug: 231 17 mpsse.c:396 buffer_write_byte(): 80
Debug: 232 17 mpsse.c:396 buffer_write_byte(): 08
Debug: 233 17 mpsse.c:396 buffer_write_byte(): 3b
Debug: 234 17 mpsse.c:581 mpsse_set_data_bits_high_byte(): -
Debug: 235 17 mpsse.c:396 buffer_write_byte(): 82
Debug: 236 17 mpsse.c:396 buffer_write_byte(): ac
Debug: 237 17 mpsse.c:396 buffer_write_byte(): ff
Debug: 238 17 mpsse.c:564 mpsse_set_data_bits_low_byte(): -
Debug: 239 17 mpsse.c:396 buffer_write_byte(): 80
Debug: 240 17 mpsse.c:396 buffer_write_byte(): 08
Debug: 241 17 mpsse.c:396 buffer_write_byte(): 3b
Debug: 242 17 mpsse.c:581 mpsse_set_data_bits_high_byte(): -
Debug: 243 17 mpsse.c:396 buffer_write_byte(): 82
Debug: 244 17 mpsse.c:396 buffer_write_byte(): ac
Debug: 245 17 mpsse.c:396 buffer_write_byte(): ff
Debug: 246 17 mpsse.c:644 mpsse_loopback_config(): off
Debug: 247 17 mpsse.c:396 buffer_write_byte(): 85
Debug: 248 17 mpsse.c:689 mpsse_set_frequency(): target 10000 Hz
Debug: 249 17 mpsse.c:681 mpsse_rtck_config(): off
Debug: 250 18 mpsse.c:396 buffer_write_byte(): 97
Debug: 251 18 mpsse.c:670 mpsse_divide_by_5_config(): off
Debug: 252 18 mpsse.c:396 buffer_write_byte(): 8a
Debug: 253 18 mpsse.c:650 mpsse_set_divisor(): 2999
Debug: 254 18 mpsse.c:396 buffer_write_byte(): 86
Debug: 255 18 mpsse.c:396 buffer_write_byte(): b7
Debug: 256 18 mpsse.c:396 buffer_write_byte(): 0b
Debug: 257 18 mpsse.c:713 mpsse_set_frequency(): actually 10000 Hz
Debug: 258 18 mpsse.c:796 mpsse_flush(): write 18, read 0
Debug: 259 18 mpsse.c:770 write_cb(): transferred 18 of 18
Debug: 260 18 mpsse.c:772 write_cb(): 80 08 3b 82 ac ff 80 08 3b 82 ac ff 85 97 8a 86 b7 0b
Debug: 261 18 core.c:1596 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 262 18 core.c:1599 adapter_khz_to_speed(): have interface set up
Debug: 263 18 mpsse.c:689 mpsse_set_frequency(): target 10000 Hz
Debug: 264 18 mpsse.c:681 mpsse_rtck_config(): off
Debug: 265 18 mpsse.c:396 buffer_write_byte(): 97
Debug: 266 18 mpsse.c:670 mpsse_divide_by_5_config(): off
Debug: 267 18 mpsse.c:396 buffer_write_byte(): 8a
Debug: 268 18 mpsse.c:650 mpsse_set_divisor(): 2999
Debug: 269 18 mpsse.c:396 buffer_write_byte(): 86
Debug: 270 18 mpsse.c:396 buffer_write_byte(): b7
Debug: 271 18 mpsse.c:396 buffer_write_byte(): 0b
Debug: 272 18 mpsse.c:713 mpsse_set_frequency(): actually 10000 Hz
Debug: 273 18 core.c:1596 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 274 18 core.c:1599 adapter_khz_to_speed(): have interface set up
Info : 275 18 core.c:1384 adapter_init(): clock speed 10 kHz
Debug: 276 18 openocd.c:137 handle_init_command(): Debug Adapter init complete
Debug: 277 18 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport init
Debug: 278 18 command.c:145 script_debug(): command - ocd_transport ocd_transport init
Debug: 280 18 transport.c:240 handle_transport_init(): handle_transport_init
Debug: 281 18 ftdi.c:1092 ftdi_swd_switch_seq(): JTAG-to-SWD
Debug: 282 18 mpsse.c:438 mpsse_clock_data(): out 118 bits
Debug: 283 18 mpsse.c:396 buffer_write_byte(): 19
Debug: 284 18 mpsse.c:396 buffer_write_byte(): 0d
Debug: 285 18 mpsse.c:396 buffer_write_byte(): 00
Debug: 286 19 mpsse.c:404 buffer_write(): 112 bits
Debug: 287 19 mpsse.c:396 buffer_write_byte(): 1b
Debug: 288 19 mpsse.c:396 buffer_write_byte(): 05
Debug: 289 19 mpsse.c:404 buffer_write(): 6 bits
Debug: 290 19 mpsse.c:438 mpsse_clock_data(): out 8 bits
Debug: 291 19 mpsse.c:396 buffer_write_byte(): 19
Debug: 292 19 mpsse.c:396 buffer_write_byte(): 00
Debug: 293 19 mpsse.c:396 buffer_write_byte(): 00
Debug: 294 19 mpsse.c:404 buffer_write(): 8 bits
Debug: 295 19 mpsse.c:581 mpsse_set_data_bits_high_byte(): -
Debug: 296 19 mpsse.c:396 buffer_write_byte(): 82
Debug: 297 19 mpsse.c:396 buffer_write_byte(): bc
Debug: 298 19 mpsse.c:396 buffer_write_byte(): ff
Debug: 299 19 mpsse.c:438 mpsse_clock_data(): in 38 bits
Debug: 300 19 mpsse.c:396 buffer_write_byte(): 29
Debug: 301 19 mpsse.c:396 buffer_write_byte(): 03
Debug: 302 19 mpsse.c:396 buffer_write_byte(): 00
Debug: 303 19 mpsse.c:414 buffer_add_read(): 32 bits, offset 0
Debug: 304 19 mpsse.c:396 buffer_write_byte(): 2b
Debug: 305 19 mpsse.c:396 buffer_write_byte(): 05
Debug: 306 19 mpsse.c:414 buffer_add_read(): 6 bits, offset 2
Debug: 307 19 mpsse.c:581 mpsse_set_data_bits_high_byte(): -
Debug: 308 19 mpsse.c:396 buffer_write_byte(): 82
Debug: 309 19 mpsse.c:396 buffer_write_byte(): ac
Debug: 310 19 mpsse.c:396 buffer_write_byte(): ff
Debug: 311 19 mpsse.c:438 mpsse_clock_data(): out 8 bits
Debug: 312 19 mpsse.c:396 buffer_write_byte(): 19
Debug: 313 19 mpsse.c:396 buffer_write_byte(): 00
Debug: 314 19 mpsse.c:396 buffer_write_byte(): 00
Debug: 315 19 mpsse.c:404 buffer_write(): 8 bits
Debug: 316 19 mpsse.c:581 mpsse_set_data_bits_high_byte(): -
Debug: 317 19 mpsse.c:396 buffer_write_byte(): 82
Debug: 318 19 mpsse.c:396 buffer_write_byte(): bc
Debug: 319 19 mpsse.c:396 buffer_write_byte(): ff
Debug: 320 19 mpsse.c:438 mpsse_clock_data(): in 5 bits
Debug: 321 19 mpsse.c:396 buffer_write_byte(): 2b
Debug: 322 19 mpsse.c:396 buffer_write_byte(): 04
Debug: 323 19 mpsse.c:414 buffer_add_read(): 5 bits, offset 3
Debug: 324 19 mpsse.c:581 mpsse_set_data_bits_high_byte(): -
Debug: 325 19 mpsse.c:396 buffer_write_byte(): 82
Debug: 326 19 mpsse.c:396 buffer_write_byte(): ac
Debug: 327 19 mpsse.c:396 buffer_write_byte(): ff
Debug: 328 19 mpsse.c:438 mpsse_clock_data(): out 33 bits
Debug: 329 19 mpsse.c:396 buffer_write_byte(): 19
Debug: 330 19 mpsse.c:396 buffer_write_byte(): 03
Debug: 331 19 mpsse.c:396 buffer_write_byte(): 00
Debug: 332 19 mpsse.c:404 buffer_write(): 32 bits
Debug: 333 19 mpsse.c:396 buffer_write_byte(): 1b
Debug: 334 19 mpsse.c:396 buffer_write_byte(): 00
Debug: 335 19 mpsse.c:404 buffer_write(): 1 bits
Debug: 336 19 ftdi.c:946 ftdi_swd_run_queue(): Executing 2 queued transactions
Debug: 337 19 mpsse.c:438 mpsse_clock_data(): 8 bits
Debug: 338 19 mpsse.c:396 buffer_write_byte(): 19
Debug: 339 19 mpsse.c:396 buffer_write_byte(): 00
Debug: 340 19 mpsse.c:396 buffer_write_byte(): 00
Debug: 341 19 mpsse.c:396 buffer_write_byte(): 00
Debug: 342 19 mpsse.c:796 mpsse_flush(): write 66+1, read 6
Debug: 343 19 mpsse.c:396 buffer_write_byte(): 87
Debug: 344 19 mpsse.c:770 write_cb(): transferred 67 of 67
Debug: 345 19 mpsse.c:772 write_cb(): 97 8a 86 b7 0b 19 0d 00 ff ff ff ff ff ff 7b 9e ff ff ff ff ff ff 1b 05 0f 19 00 00 a5 82 bc ff
Debug: 346 19 mpsse.c:772 write_cb(): 29 03 00 2b 05 82 ac ff 19 00 00 81 82 bc ff 2b 04 82 ac ff 19 03 00 1e 00 00 00 1b 00 00 19 00
Debug: 347 19 mpsse.c:772 write_cb(): 00 00 87
Debug: 348 21 mpsse.c:732 read_cb(): 32 00
Debug: 349 21 mpsse.c:756 read_cb(): raw chunk 2, transferred 0 of 6
Debug: 350 41 mpsse.c:732 read_cb(): 32 60 fb 99 f0 e1 ff ff
Debug: 351 41 mpsse.c:756 read_cb(): raw chunk 8, transferred 6 of 6
Debug: 352 41 ftdi.c:978 ftdi_swd_run_queue(): JUNK DP read reg 0 = fe1f099f
Debug: 353 41 command.c:628 run_command(): Command failed with error code -4
User : 354 41 command.c:666 command_run_line(): in procedure 'init' called at file "lpc812-ktlink.cfg", line 39
in procedure 'ocd_bouncer'
in procedure 'transport'
Debug: 355 41 command.c:628 run_command(): Command failed with error code -4
User : 356 42 command.c:666 command_run_line(): lpc812-ktlink.cfg:39: Error:
in procedure 'script'
at file "embedded:startup.tcl", line 58
in procedure 'init' called at file "lpc812-ktlink.cfg", line 39
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel