On 22.03.2015 23:36, Michael Schwingen wrote:
> (re-sending from correct account)
>
> Hi,
>
> I started working with an LPC812. Using a ST-Link V2 as SWD interface,
> this seems to work, but I can't get reset working - it seems the reset
> output is always active, so I decided to pull out my bus blaster.
>
> I flashed the KT-Link CPLD configuration into the busblaster. It seems
> to work fine in JTAG mode when connecting to an IXP425. However, when
> connecting the LPC812, I get errors when starting OpenOCD (see attached
> log).
>
> This is with current git master (pulled yesterday).
>
> Any hints where to look? Is FT2232+KTLINK or the LPC812 considered stable?
Some updates, after new hardware arrived on my table: I got a shiny
(extruded aluminum case) chinese ST-Link V2 clone, which I upgraded to
current firmware using the ST's STLink Utility. Also two STM32F103
target boards as a non-nucleo reference (the ST-Link V2 i used in my
original post was actually from a nucleo board, so probably V2.1).
The results are:
- Busblaster/KTLink works fine with a STM32F103 target, both with
"reset_config none" and with "reset_config srst_only". When selecting
srst_only, I can see a low-pulse on the reset line.
- The STLink V2 works just as well with a STM32F103 target, with both
reset configs, I see a low-pulse on reset when using that config.
- The STLINK works with the LPC812 with "reset_config none".
- The STLINK does not work with the LPC812 with "reset_config
srst_only", *no* reset pulse can be seen (reset line stays high =
inactive all the time), and OpenOCD complains that the target is not halted.
- Busblaster/KTLink does not work at all with the LPC812. Even when
selecting "reset_config srst_only", there is *no* reset pulse, the reset
line stays high all the time.
I have made new logs of the Busblaster/KTLink case - it looks the same
with both reset_configs, so I will attach only one.
cu
Michael
Open On-Chip Debugger 0.9.0-dev-00346-g3e1dfdc (2015-03-15-22:19)
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 /home/rincewind/.openocd/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 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 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 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:918 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 7 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 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_transport select
Debug: 77 8 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 78 8 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_swd newdap lpc8xx cpu -irlen 4 -expected-id 0x0bc11477
Debug: 79 8 command.c:145 script_debug(): command - ocd_swd ocd_swd newdap lpc8xx cpu -irlen 4 -expected-id 0x0bc11477
Debug: 80 8 tcl.c:554 jim_newtap_cmd(): Creating New Tap, Chip: lpc8xx, Tap: cpu, Dotted: lpc8xx.cpu, 4 params
Debug: 81 8 core.c:1296 jtag_tap_init(): Created Tap: lpc8xx.cpu @ abs position 0, irlen 0, capture: 0x0 mask: 0x0
Debug: 82 8 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_target create lpc8xx.cpu cortex_m -chain-position lpc8xx.cpu
Debug: 83 8 command.c:145 script_debug(): command - ocd_target ocd_target create lpc8xx.cpu cortex_m -chain-position lpc8xx.cpu
Debug: 84 8 target.c:1835 target_free_all_working_areas_restore(): freeing all working areas
Debug: 85 8 command.c:366 register_command_handler(): registering 'ocd_arm'...
Debug: 86 8 command.c:366 register_command_handler(): registering 'ocd_arm'...
Debug: 87 8 command.c:366 register_command_handler(): registering 'ocd_arm'...
Debug: 88 8 command.c:366 register_command_handler(): registering 'ocd_arm'...
Debug: 89 8 command.c:366 register_command_handler(): registering 'ocd_arm'...
Debug: 90 8 command.c:366 register_command_handler(): registering 'ocd_arm'...
Debug: 91 8 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 9 command.c:366 register_command_handler(): registering 'ocd_dap'...
Debug: 96 9 command.c:366 register_command_handler(): registering 'ocd_dap'...
Debug: 97 9 command.c:366 register_command_handler(): registering 'ocd_dap'...
Debug: 98 9 command.c:366 register_command_handler(): registering 'ocd_cortex_m'...
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_lpc8xx.cpu'...
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 9 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 118 9 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 119 9 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 120 9 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 121 9 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 122 9 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 123 9 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 124 9 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 125 9 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 126 9 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 127 9 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 128 9 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 129 9 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:145 script_debug(): command - ocd_command ocd_command type ocd_lpc8xx.cpu configure -work-area-phys 0x10000000 -work-area-size 0x400
Debug: 140 10 command.c:145 script_debug(): command - ocd_lpc8xx.cpu ocd_lpc8xx.cpu configure -work-area-phys 0x10000000 -work-area-size 0x400
Debug: 141 10 target.c:1835 target_free_all_working_areas_restore(): freeing all working areas
Debug: 142 10 target.c:1835 target_free_all_working_areas_restore(): freeing all working areas
Debug: 143 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: 144 10 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: 146 10 command.c:366 register_command_handler(): registering 'ocd_lpc2000'...
Debug: 147 10 tcl.c:824 handle_flash_bank_command(): 'lpc2000' driver usage field missing
Debug: 148 10 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_lpc8xx.cpu configure -event reset-init
mww 0x40048000 0x02
Debug: 149 10 command.c:145 script_debug(): command - ocd_lpc8xx.cpu ocd_lpc8xx.cpu configure -event reset-init
mww 0x40048000 0x02
Debug: 150 10 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_adapter_khz 10
Debug: 151 10 command.c:145 script_debug(): command - adapter_khz ocd_adapter_khz 10
Debug: 153 10 core.c:1623 jtag_config_khz(): handle jtag khz
Debug: 154 10 core.c:1590 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 155 10 core.c:1590 adapter_khz_to_speed(): convert khz to interface specific speed value
User : 156 10 command.c:546 command_print(): adapter speed: 10 kHz
Debug: 157 10 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_adapter_nsrst_delay 200
Debug: 158 10 command.c:145 script_debug(): command - adapter_nsrst_delay ocd_adapter_nsrst_delay 200
User : 160 11 command.c:546 command_print(): adapter_nsrst_delay: 200
Debug: 161 11 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 162 11 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 163 11 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 164 11 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 165 11 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_cortex_m reset_config sysresetreq
Debug: 166 11 command.c:145 script_debug(): command - ocd_cortex_m ocd_cortex_m reset_config sysresetreq
User : 168 11 command.c:546 command_print(): cortex_m reset_config sysresetreq
Debug: 169 11 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_reset_config none
Debug: 170 11 command.c:145 script_debug(): command - reset_config ocd_reset_config none
User : 172 11 command.c:546 command_print(): none separate
Debug: 173 11 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_init
Debug: 174 11 command.c:145 script_debug(): command - init ocd_init
Debug: 176 11 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_target init
Debug: 177 11 command.c:145 script_debug(): command - ocd_target ocd_target init
Debug: 179 11 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_target names
Debug: 180 11 command.c:145 script_debug(): command - ocd_target ocd_target names
Debug: 181 11 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_lpc8xx.cpu cget -event gdb-flash-erase-start
Debug: 182 11 command.c:145 script_debug(): command - ocd_lpc8xx.cpu ocd_lpc8xx.cpu cget -event gdb-flash-erase-start
Debug: 183 11 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_lpc8xx.cpu configure -event gdb-flash-erase-start reset init
Debug: 184 12 command.c:145 script_debug(): command - ocd_lpc8xx.cpu ocd_lpc8xx.cpu configure -event gdb-flash-erase-start reset init
Debug: 185 12 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_lpc8xx.cpu cget -event gdb-flash-write-end
Debug: 186 12 command.c:145 script_debug(): command - ocd_lpc8xx.cpu ocd_lpc8xx.cpu cget -event gdb-flash-write-end
Debug: 187 12 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_lpc8xx.cpu configure -event gdb-flash-write-end reset halt
Debug: 188 12 command.c:145 script_debug(): command - ocd_lpc8xx.cpu ocd_lpc8xx.cpu configure -event gdb-flash-write-end reset halt
Debug: 189 12 target.c:1311 handle_target_init_command(): Initializing targets...
Debug: 190 12 command.c:366 register_command_handler(): registering 'ocd_target_request'...
Debug: 191 12 command.c:366 register_command_handler(): registering 'ocd_trace'...
Debug: 192 12 command.c:366 register_command_handler(): registering 'ocd_trace'...
Debug: 193 12 command.c:366 register_command_handler(): registering 'ocd_fast_load_image'...
Debug: 194 12 command.c:366 register_command_handler(): registering 'ocd_fast_load'...
Debug: 195 12 command.c:366 register_command_handler(): registering 'ocd_profile'...
Debug: 196 12 command.c:366 register_command_handler(): registering 'ocd_virt2phys'...
Debug: 197 12 command.c:366 register_command_handler(): registering 'ocd_reg'...
Debug: 198 12 command.c:366 register_command_handler(): registering 'ocd_poll'...
Debug: 199 12 command.c:366 register_command_handler(): registering 'ocd_wait_halt'...
Debug: 200 12 command.c:366 register_command_handler(): registering 'ocd_halt'...
Debug: 201 12 command.c:366 register_command_handler(): registering 'ocd_resume'...
Debug: 202 12 command.c:366 register_command_handler(): registering 'ocd_reset'...
Debug: 203 12 command.c:366 register_command_handler(): registering 'ocd_soft_reset_halt'...
Debug: 204 12 command.c:366 register_command_handler(): registering 'ocd_step'...
Debug: 205 12 command.c:366 register_command_handler(): registering 'ocd_mdw'...
Debug: 206 12 command.c:366 register_command_handler(): registering 'ocd_mdh'...
Debug: 207 12 command.c:366 register_command_handler(): registering 'ocd_mdb'...
Debug: 208 13 command.c:366 register_command_handler(): registering 'ocd_mww'...
Debug: 209 13 command.c:366 register_command_handler(): registering 'ocd_mwh'...
Debug: 210 13 command.c:366 register_command_handler(): registering 'ocd_mwb'...
Debug: 211 13 command.c:366 register_command_handler(): registering 'ocd_bp'...
Debug: 212 13 command.c:366 register_command_handler(): registering 'ocd_rbp'...
Debug: 213 13 command.c:366 register_command_handler(): registering 'ocd_wp'...
Debug: 214 13 command.c:366 register_command_handler(): registering 'ocd_rwp'...
Debug: 215 13 command.c:366 register_command_handler(): registering 'ocd_load_image'...
Debug: 216 13 command.c:366 register_command_handler(): registering 'ocd_dump_image'...
Debug: 217 13 command.c:366 register_command_handler(): registering 'ocd_verify_image'...
Debug: 218 13 command.c:366 register_command_handler(): registering 'ocd_test_image'...
Debug: 219 13 command.c:366 register_command_handler(): registering 'ocd_reset_nag'...
Debug: 220 13 command.c:366 register_command_handler(): registering 'ocd_ps'...
Debug: 221 13 command.c:366 register_command_handler(): registering 'ocd_test_mem_access'...
Debug: 222 13 ftdi.c:625 ftdi_initialize(): ftdi interface using shortest path jtag state transitions
Debug: 223 18 mpsse.c:363 mpsse_purge(): -
Debug: 224 18 mpsse.c:564 mpsse_set_data_bits_low_byte(): -
Debug: 225 18 mpsse.c:396 buffer_write_byte(): 80
Debug: 226 18 mpsse.c:396 buffer_write_byte(): 08
Debug: 227 18 mpsse.c:396 buffer_write_byte(): 3b
Debug: 228 18 mpsse.c:581 mpsse_set_data_bits_high_byte(): -
Debug: 229 18 mpsse.c:396 buffer_write_byte(): 82
Debug: 230 18 mpsse.c:396 buffer_write_byte(): ac
Debug: 231 18 mpsse.c:396 buffer_write_byte(): ff
Debug: 232 18 mpsse.c:564 mpsse_set_data_bits_low_byte(): -
Debug: 233 18 mpsse.c:396 buffer_write_byte(): 80
Debug: 234 18 mpsse.c:396 buffer_write_byte(): 08
Debug: 235 18 mpsse.c:396 buffer_write_byte(): 3b
Debug: 236 18 mpsse.c:581 mpsse_set_data_bits_high_byte(): -
Debug: 237 18 mpsse.c:396 buffer_write_byte(): 82
Debug: 238 18 mpsse.c:396 buffer_write_byte(): ac
Debug: 239 18 mpsse.c:396 buffer_write_byte(): ff
Debug: 240 18 mpsse.c:644 mpsse_loopback_config(): off
Debug: 241 18 mpsse.c:396 buffer_write_byte(): 85
Debug: 242 18 mpsse.c:689 mpsse_set_frequency(): target 10000 Hz
Debug: 243 18 mpsse.c:681 mpsse_rtck_config(): off
Debug: 244 18 mpsse.c:396 buffer_write_byte(): 97
Debug: 245 18 mpsse.c:670 mpsse_divide_by_5_config(): off
Debug: 246 18 mpsse.c:396 buffer_write_byte(): 8a
Debug: 247 18 mpsse.c:650 mpsse_set_divisor(): 2999
Debug: 248 18 mpsse.c:396 buffer_write_byte(): 86
Debug: 249 18 mpsse.c:396 buffer_write_byte(): b7
Debug: 250 18 mpsse.c:396 buffer_write_byte(): 0b
Debug: 251 18 mpsse.c:713 mpsse_set_frequency(): actually 10000 Hz
Debug: 252 18 mpsse.c:796 mpsse_flush(): write 18, read 0
Debug: 253 19 mpsse.c:770 write_cb(): transferred 18 of 18
Debug: 254 19 mpsse.c:772 write_cb(): 80 08 3b 82 ac ff 80 08 3b 82 ac ff 85 97 8a 86 b7 0b
Debug: 255 19 core.c:1590 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 256 19 core.c:1593 adapter_khz_to_speed(): have interface set up
Debug: 257 19 mpsse.c:689 mpsse_set_frequency(): target 10000 Hz
Debug: 258 19 mpsse.c:681 mpsse_rtck_config(): off
Debug: 259 19 mpsse.c:396 buffer_write_byte(): 97
Debug: 260 19 mpsse.c:670 mpsse_divide_by_5_config(): off
Debug: 261 19 mpsse.c:396 buffer_write_byte(): 8a
Debug: 262 19 mpsse.c:650 mpsse_set_divisor(): 2999
Debug: 263 19 mpsse.c:396 buffer_write_byte(): 86
Debug: 264 19 mpsse.c:396 buffer_write_byte(): b7
Debug: 265 19 mpsse.c:396 buffer_write_byte(): 0b
Debug: 266 19 mpsse.c:713 mpsse_set_frequency(): actually 10000 Hz
Debug: 267 19 core.c:1590 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 268 19 core.c:1593 adapter_khz_to_speed(): have interface set up
Info : 269 19 core.c:1378 adapter_init(): clock speed 10 kHz
Debug: 270 19 openocd.c:137 handle_init_command(): Debug Adapter init complete
Debug: 271 19 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport init
Debug: 272 19 command.c:145 script_debug(): command - ocd_transport ocd_transport init
Debug: 274 19 transport.c:240 handle_transport_init(): handle_transport_init
Debug: 275 19 ftdi.c:1090 ftdi_swd_switch_seq(): JTAG-to-SWD
Debug: 276 19 mpsse.c:438 mpsse_clock_data(): out 118 bits
Debug: 277 19 mpsse.c:396 buffer_write_byte(): 19
Debug: 278 19 mpsse.c:396 buffer_write_byte(): 0d
Debug: 279 19 mpsse.c:396 buffer_write_byte(): 00
Debug: 280 19 mpsse.c:404 buffer_write(): 112 bits
Debug: 281 19 mpsse.c:396 buffer_write_byte(): 1b
Debug: 282 19 mpsse.c:396 buffer_write_byte(): 05
Debug: 283 19 mpsse.c:404 buffer_write(): 6 bits
Debug: 284 19 mpsse.c:438 mpsse_clock_data(): out 8 bits
Debug: 285 19 mpsse.c:396 buffer_write_byte(): 19
Debug: 286 19 mpsse.c:396 buffer_write_byte(): 00
Debug: 287 19 mpsse.c:396 buffer_write_byte(): 00
Debug: 288 19 mpsse.c:404 buffer_write(): 8 bits
Debug: 289 19 mpsse.c:581 mpsse_set_data_bits_high_byte(): -
Debug: 290 19 mpsse.c:396 buffer_write_byte(): 82
Debug: 291 19 mpsse.c:396 buffer_write_byte(): bc
Debug: 292 19 mpsse.c:396 buffer_write_byte(): ff
Debug: 293 19 mpsse.c:438 mpsse_clock_data(): in 38 bits
Debug: 294 19 mpsse.c:396 buffer_write_byte(): 29
Debug: 295 19 mpsse.c:396 buffer_write_byte(): 03
Debug: 296 19 mpsse.c:396 buffer_write_byte(): 00
Debug: 297 19 mpsse.c:414 buffer_add_read(): 32 bits, offset 0
Debug: 298 19 mpsse.c:396 buffer_write_byte(): 2b
Debug: 299 19 mpsse.c:396 buffer_write_byte(): 05
Debug: 300 19 mpsse.c:414 buffer_add_read(): 6 bits, offset 2
Debug: 301 19 mpsse.c:581 mpsse_set_data_bits_high_byte(): -
Debug: 302 19 mpsse.c:396 buffer_write_byte(): 82
Debug: 303 19 mpsse.c:396 buffer_write_byte(): ac
Debug: 304 19 mpsse.c:396 buffer_write_byte(): ff
Debug: 305 19 mpsse.c:438 mpsse_clock_data(): out 8 bits
Debug: 306 19 mpsse.c:396 buffer_write_byte(): 19
Debug: 307 19 mpsse.c:396 buffer_write_byte(): 00
Debug: 308 19 mpsse.c:396 buffer_write_byte(): 00
Debug: 309 19 mpsse.c:404 buffer_write(): 8 bits
Debug: 310 19 mpsse.c:581 mpsse_set_data_bits_high_byte(): -
Debug: 311 19 mpsse.c:396 buffer_write_byte(): 82
Debug: 312 19 mpsse.c:396 buffer_write_byte(): bc
Debug: 313 19 mpsse.c:396 buffer_write_byte(): ff
Debug: 314 19 mpsse.c:438 mpsse_clock_data(): in 5 bits
Debug: 315 19 mpsse.c:396 buffer_write_byte(): 2b
Debug: 316 19 mpsse.c:396 buffer_write_byte(): 04
Debug: 317 19 mpsse.c:414 buffer_add_read(): 5 bits, offset 3
Debug: 318 19 mpsse.c:581 mpsse_set_data_bits_high_byte(): -
Debug: 319 19 mpsse.c:396 buffer_write_byte(): 82
Debug: 320 19 mpsse.c:396 buffer_write_byte(): ac
Debug: 321 19 mpsse.c:396 buffer_write_byte(): ff
Debug: 322 19 mpsse.c:438 mpsse_clock_data(): out 33 bits
Debug: 323 19 mpsse.c:396 buffer_write_byte(): 19
Debug: 324 19 mpsse.c:396 buffer_write_byte(): 03
Debug: 325 19 mpsse.c:396 buffer_write_byte(): 00
Debug: 326 19 mpsse.c:404 buffer_write(): 32 bits
Debug: 327 19 mpsse.c:396 buffer_write_byte(): 1b
Debug: 328 19 mpsse.c:396 buffer_write_byte(): 00
Debug: 329 19 mpsse.c:404 buffer_write(): 1 bits
Debug: 330 19 ftdi.c:944 ftdi_swd_run_queue(): Executing 2 queued transactions
Debug: 331 19 mpsse.c:438 mpsse_clock_data(): 8 bits
Debug: 332 19 mpsse.c:396 buffer_write_byte(): 19
Debug: 333 19 mpsse.c:396 buffer_write_byte(): 00
Debug: 334 19 mpsse.c:396 buffer_write_byte(): 00
Debug: 335 19 mpsse.c:396 buffer_write_byte(): 00
Debug: 336 19 mpsse.c:796 mpsse_flush(): write 66+1, read 6
Debug: 337 19 mpsse.c:396 buffer_write_byte(): 87
Debug: 338 20 mpsse.c:770 write_cb(): transferred 67 of 67
Debug: 339 20 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: 340 20 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: 341 20 mpsse.c:772 write_cb(): 00 00 87
Debug: 342 41 mpsse.c:732 read_cb(): 32 60 fb 99 f0 e1 ff ff
Debug: 343 41 mpsse.c:756 read_cb(): raw chunk 8, transferred 6 of 6
Debug: 344 41 ftdi.c:976 ftdi_swd_run_queue(): JUNK DP read reg 0 = fe1f099f
Debug: 345 41 command.c:628 run_command(): Command failed with error code -4
User : 346 42 command.c:666 command_run_line(): in procedure 'init' called at file "/home/rincewind/.openocd/lpc812-ktlink.cfg", line 39
in procedure 'ocd_bouncer'
in procedure 'transport'
Debug: 347 42 command.c:628 run_command(): Command failed with error code -4
User : 348 42 command.c:666 command_run_line(): /home/rincewind/.openocd/lpc812-ktlink.cfg:39: Error:
in procedure 'script'
at file "embedded:startup.tcl", line 58
in procedure 'init' called at file "/home/rincewind/.openocd/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