(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?
cu
Michael
source [find interface/ftdi/dp_busblaster_kt-link.cfg]
transport select swd
set CHIPNAME lpc812
set CPUTAPID 0x0bc11477
set CPUROMSIZE 0x4000
set CPURAMSIZE 0x1000
# After reset the chip is clocked by the ~12MHz internal RC oscillator.
# When board-specific code (reset-init handler or device firmware)
# configures another oscillator and/or PLL0, set CCLK to match; if
# you don't, then flash erase and write operations may misbehave.
# (The ROM code doing those updates cares about core clock speed...)
#
# CCLK is the core clock frequency in KHz
#set CCLK 12000
source [find target/lpc8xx.cfg]
reset_config none
#reset_config srst_only
#reset_config srst_only srst_nogate
#reset_config srst_only connect_assert_srst
#connect_deassert_srst
#$_TARGETNAME configure -event gdb-attach {
# reset halt
#}
#$_TARGETNAME configure -event gdb-detach {
# resume
#}
#$_TARGETNAME configure -event reset-init {
#}
init
reset init
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 37 command.c:546 command_print(): debug_level: 3
Debug: 14 37 options.c:98 add_default_dirs(): bindir=/opt/openocd-test/bin
Debug: 15 37 options.c:99 add_default_dirs(): pkgdatadir=/opt/openocd-test/share/openocd
Debug: 16 37 options.c:100 add_default_dirs(): run_prefix=
Debug: 17 37 configuration.c:44 add_script_search_dir(): adding /home/rincewind/.openocd
Debug: 18 37 configuration.c:44 add_script_search_dir(): adding /opt/openocd-test/share/openocd/site
Debug: 19 37 configuration.c:44 add_script_search_dir(): adding /opt/openocd-test/share/openocd/scripts
Debug: 20 37 configuration.c:84 find_file(): found /home/rincewind/.openocd/lpc812-ktlink.cfg
Debug: 21 37 configuration.c:84 find_file(): found /opt/openocd-test/share/openocd/scripts/interface/ftdi/dp_busblaster_kt-link.cfg
Debug: 22 37 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_interface ftdi
Debug: 23 37 command.c:145 script_debug(): command - interface ocd_interface ftdi
Debug: 25 37 command.c:366 register_command_handler(): registering 'ocd_ftdi_device_desc'...
Debug: 26 37 command.c:366 register_command_handler(): registering 'ocd_ftdi_serial'...
Debug: 27 37 command.c:366 register_command_handler(): registering 'ocd_ftdi_channel'...
Debug: 28 38 command.c:366 register_command_handler(): registering 'ocd_ftdi_layout_init'...
Debug: 29 38 command.c:366 register_command_handler(): registering 'ocd_ftdi_layout_signal'...
Debug: 30 38 command.c:366 register_command_handler(): registering 'ocd_ftdi_set_signal'...
Debug: 31 38 command.c:366 register_command_handler(): registering 'ocd_ftdi_vid_pid'...
Debug: 32 38 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ftdi_device_desc Bus Blaster
Debug: 33 38 command.c:145 script_debug(): command - ftdi_device_desc ocd_ftdi_device_desc Bus Blaster
Debug: 35 38 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ftdi_vid_pid 0x0403 0x6010
Debug: 36 38 command.c:145 script_debug(): command - ftdi_vid_pid ocd_ftdi_vid_pid 0x0403 0x6010
Debug: 38 38 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ftdi_vid_pid 0x0403 0x8878
Debug: 39 38 command.c:145 script_debug(): command - ftdi_vid_pid ocd_ftdi_vid_pid 0x0403 0x8878
Debug: 41 38 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ftdi_layout_init 0x8c28 0xff3b
Debug: 42 38 command.c:145 script_debug(): command - ftdi_layout_init ocd_ftdi_layout_init 0x8c28 0xff3b
Debug: 44 38 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ftdi_layout_signal nTRST -data 0x0100 -noe 0x0400
Debug: 45 38 command.c:145 script_debug(): command - ftdi_layout_signal ocd_ftdi_layout_signal nTRST -data 0x0100 -noe 0x0400
Debug: 47 38 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ftdi_layout_signal nSRST -data 0x0200 -noe 0x0800
Debug: 48 38 command.c:145 script_debug(): command - ftdi_layout_signal ocd_ftdi_layout_signal nSRST -data 0x0200 -noe 0x0800
Debug: 50 38 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ftdi_layout_signal LED -ndata 0x8000
Debug: 51 38 command.c:145 script_debug(): command - ftdi_layout_signal ocd_ftdi_layout_signal LED -ndata 0x8000
Debug: 53 38 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ftdi_layout_signal SWD_EN -ndata 0x0020 -oe 0x2000
Debug: 54 38 command.c:145 script_debug(): command - ftdi_layout_signal ocd_ftdi_layout_signal SWD_EN -ndata 0x0020 -oe 0x2000
Debug: 56 38 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ftdi_layout_signal SWDIO_OE -ndata 0x1000
Debug: 57 38 command.c:145 script_debug(): command - ftdi_layout_signal ocd_ftdi_layout_signal SWDIO_OE -ndata 0x1000
Debug: 59 38 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select swd
Debug: 60 38 command.c:145 script_debug(): command - ocd_transport ocd_transport select swd
Debug: 61 38 command.c:325 command_new(): BUG: command 'swd' does not have the '.usage' field filled out
Debug: 62 39 command.c:366 register_command_handler(): registering 'ocd_swd'...
Debug: 63 39 command.c:366 register_command_handler(): registering 'ocd_swd'...
Info : 64 39 ftdi.c:918 ftdi_swd_init(): FTDI SWD mode enabled
Debug: 65 39 configuration.c:84 find_file(): found /opt/openocd-test/share/openocd/scripts/target/lpc8xx.cfg
Debug: 66 39 configuration.c:84 find_file(): found /opt/openocd-test/share/openocd/scripts/target/lpc1xxx.cfg
Debug: 67 39 configuration.c:84 find_file(): found /opt/openocd-test/share/openocd/scripts/target/swj-dp.tcl
Debug: 68 39 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 69 39 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 70 39 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 71 39 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 72 39 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 73 39 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 74 39 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 75 40 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 76 40 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 77 40 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 78 40 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_swd newdap lpc8xx cpu -irlen 4 -expected-id 0x0bc11477
Debug: 79 40 command.c:145 script_debug(): command - ocd_swd ocd_swd newdap lpc8xx cpu -irlen 4 -expected-id 0x0bc11477
Debug: 80 40 tcl.c:554 jim_newtap_cmd(): Creating New Tap, Chip: lpc8xx, Tap: cpu, Dotted: lpc8xx.cpu, 4 params
Debug: 81 40 core.c:1296 jtag_tap_init(): Created Tap: lpc8xx.cpu @ abs position 0, irlen 0, capture: 0x0 mask: 0x0
Debug: 82 40 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_target create lpc8xx.cpu cortex_m -chain-position lpc8xx.cpu
Debug: 83 40 command.c:145 script_debug(): command - ocd_target ocd_target create lpc8xx.cpu cortex_m -chain-position lpc8xx.cpu
Debug: 84 40 target.c:1835 target_free_all_working_areas_restore(): freeing all working areas
Debug: 85 40 command.c:366 register_command_handler(): registering 'ocd_arm'...
Debug: 86 40 command.c:366 register_command_handler(): registering 'ocd_arm'...
Debug: 87 40 command.c:366 register_command_handler(): registering 'ocd_arm'...
Debug: 88 40 command.c:366 register_command_handler(): registering 'ocd_arm'...
Debug: 89 40 command.c:366 register_command_handler(): registering 'ocd_arm'...
Debug: 90 40 command.c:366 register_command_handler(): registering 'ocd_arm'...
Debug: 91 40 command.c:366 register_command_handler(): registering 'ocd_dap'...
Debug: 92 40 command.c:366 register_command_handler(): registering 'ocd_dap'...
Debug: 93 40 command.c:366 register_command_handler(): registering 'ocd_dap'...
Debug: 94 40 command.c:366 register_command_handler(): registering 'ocd_dap'...
Debug: 95 40 command.c:366 register_command_handler(): registering 'ocd_dap'...
Debug: 96 40 command.c:366 register_command_handler(): registering 'ocd_dap'...
Debug: 97 40 command.c:366 register_command_handler(): registering 'ocd_dap'...
Debug: 98 40 command.c:366 register_command_handler(): registering 'ocd_cortex_m'...
Debug: 99 40 command.c:366 register_command_handler(): registering 'ocd_cortex_m'...
Debug: 100 40 command.c:366 register_command_handler(): registering 'ocd_cortex_m'...
Debug: 101 40 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 102 40 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 103 40 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 104 40 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 105 41 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 106 41 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 107 41 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 108 41 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 109 41 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 110 41 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 111 41 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 112 41 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 113 41 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 114 41 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 115 41 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 116 41 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 117 41 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 118 41 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 119 41 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 120 41 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 121 41 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 122 41 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 123 41 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 124 41 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 125 41 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 126 41 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 127 41 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 128 41 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 129 41 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 130 41 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 131 41 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 132 41 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 133 41 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 134 41 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 135 41 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 136 41 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 137 41 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 138 41 command.c:366 register_command_handler(): registering 'ocd_lpc8xx.cpu'...
Debug: 139 41 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 41 command.c:145 script_debug(): command - ocd_lpc8xx.cpu ocd_lpc8xx.cpu configure -work-area-phys 0x10000000 -work-area-size 0x400
Debug: 141 41 target.c:1835 target_free_all_working_areas_restore(): freeing all working areas
Debug: 142 41 target.c:1835 target_free_all_working_areas_restore(): freeing all working areas
Debug: 143 41 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 41 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 41 command.c:366 register_command_handler(): registering 'ocd_lpc2000'...
Debug: 147 42 tcl.c:824 handle_flash_bank_command(): 'lpc2000' driver usage field missing
Debug: 148 42 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_lpc8xx.cpu configure -event reset-init
mww 0x40048000 0x02
Debug: 149 42 command.c:145 script_debug(): command - ocd_lpc8xx.cpu ocd_lpc8xx.cpu configure -event reset-init
mww 0x40048000 0x02
Debug: 150 42 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_adapter_khz 10
Debug: 151 42 command.c:145 script_debug(): command - adapter_khz ocd_adapter_khz 10
Debug: 153 42 core.c:1623 jtag_config_khz(): handle jtag khz
Debug: 154 42 core.c:1590 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 155 42 core.c:1590 adapter_khz_to_speed(): convert khz to interface specific speed value
User : 156 42 command.c:546 command_print(): adapter speed: 10 kHz
Debug: 157 42 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_adapter_nsrst_delay 200
Debug: 158 42 command.c:145 script_debug(): command - adapter_nsrst_delay ocd_adapter_nsrst_delay 200
User : 160 42 command.c:546 command_print(): adapter_nsrst_delay: 200
Debug: 161 42 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 162 42 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 163 42 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 164 42 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 165 42 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_cortex_m reset_config sysresetreq
Debug: 166 42 command.c:145 script_debug(): command - ocd_cortex_m ocd_cortex_m reset_config sysresetreq
User : 168 42 command.c:546 command_print(): cortex_m reset_config sysresetreq
Debug: 169 42 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_reset_config none
Debug: 170 42 command.c:145 script_debug(): command - reset_config ocd_reset_config none
User : 172 42 command.c:546 command_print(): none separate
Debug: 173 42 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_init
Debug: 174 42 command.c:145 script_debug(): command - init ocd_init
Debug: 176 42 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_target init
Debug: 177 42 command.c:145 script_debug(): command - ocd_target ocd_target init
Debug: 179 42 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_target names
Debug: 180 42 command.c:145 script_debug(): command - ocd_target ocd_target names
Debug: 181 42 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_lpc8xx.cpu cget -event gdb-flash-erase-start
Debug: 182 42 command.c:145 script_debug(): command - ocd_lpc8xx.cpu ocd_lpc8xx.cpu cget -event gdb-flash-erase-start
Debug: 183 42 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_lpc8xx.cpu configure -event gdb-flash-erase-start reset init
Debug: 184 43 command.c:145 script_debug(): command - ocd_lpc8xx.cpu ocd_lpc8xx.cpu configure -event gdb-flash-erase-start reset init
Debug: 185 43 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_lpc8xx.cpu cget -event gdb-flash-write-end
Debug: 186 43 command.c:145 script_debug(): command - ocd_lpc8xx.cpu ocd_lpc8xx.cpu cget -event gdb-flash-write-end
Debug: 187 43 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_lpc8xx.cpu configure -event gdb-flash-write-end reset halt
Debug: 188 43 command.c:145 script_debug(): command - ocd_lpc8xx.cpu ocd_lpc8xx.cpu configure -event gdb-flash-write-end reset halt
Debug: 189 43 target.c:1311 handle_target_init_command(): Initializing targets...
Debug: 190 43 command.c:366 register_command_handler(): registering 'ocd_target_request'...
Debug: 191 43 command.c:366 register_command_handler(): registering 'ocd_trace'...
Debug: 192 43 command.c:366 register_command_handler(): registering 'ocd_trace'...
Debug: 193 43 command.c:366 register_command_handler(): registering 'ocd_fast_load_image'...
Debug: 194 43 command.c:366 register_command_handler(): registering 'ocd_fast_load'...
Debug: 195 43 command.c:366 register_command_handler(): registering 'ocd_profile'...
Debug: 196 43 command.c:366 register_command_handler(): registering 'ocd_virt2phys'...
Debug: 197 43 command.c:366 register_command_handler(): registering 'ocd_reg'...
Debug: 198 43 command.c:366 register_command_handler(): registering 'ocd_poll'...
Debug: 199 43 command.c:366 register_command_handler(): registering 'ocd_wait_halt'...
Debug: 200 43 command.c:366 register_command_handler(): registering 'ocd_halt'...
Debug: 201 43 command.c:366 register_command_handler(): registering 'ocd_resume'...
Debug: 202 43 command.c:366 register_command_handler(): registering 'ocd_reset'...
Debug: 203 43 command.c:366 register_command_handler(): registering 'ocd_soft_reset_halt'...
Debug: 204 43 command.c:366 register_command_handler(): registering 'ocd_step'...
Debug: 205 43 command.c:366 register_command_handler(): registering 'ocd_mdw'...
Debug: 206 43 command.c:366 register_command_handler(): registering 'ocd_mdh'...
Debug: 207 43 command.c:366 register_command_handler(): registering 'ocd_mdb'...
Debug: 208 43 command.c:366 register_command_handler(): registering 'ocd_mww'...
Debug: 209 43 command.c:366 register_command_handler(): registering 'ocd_mwh'...
Debug: 210 43 command.c:366 register_command_handler(): registering 'ocd_mwb'...
Debug: 211 43 command.c:366 register_command_handler(): registering 'ocd_bp'...
Debug: 212 43 command.c:366 register_command_handler(): registering 'ocd_rbp'...
Debug: 213 43 command.c:366 register_command_handler(): registering 'ocd_wp'...
Debug: 214 43 command.c:366 register_command_handler(): registering 'ocd_rwp'...
Debug: 215 43 command.c:366 register_command_handler(): registering 'ocd_load_image'...
Debug: 216 43 command.c:366 register_command_handler(): registering 'ocd_dump_image'...
Debug: 217 44 command.c:366 register_command_handler(): registering 'ocd_verify_image'...
Debug: 218 44 command.c:366 register_command_handler(): registering 'ocd_test_image'...
Debug: 219 44 command.c:366 register_command_handler(): registering 'ocd_reset_nag'...
Debug: 220 44 command.c:366 register_command_handler(): registering 'ocd_ps'...
Debug: 221 44 command.c:366 register_command_handler(): registering 'ocd_test_mem_access'...
Debug: 222 44 ftdi.c:625 ftdi_initialize(): ftdi interface using shortest path jtag state transitions
Debug: 223 48 mpsse.c:363 mpsse_purge(): -
Debug: 224 48 mpsse.c:564 mpsse_set_data_bits_low_byte(): -
Debug: 225 48 mpsse.c:396 buffer_write_byte(): 80
Debug: 226 48 mpsse.c:396 buffer_write_byte(): 08
Debug: 227 48 mpsse.c:396 buffer_write_byte(): 3b
Debug: 228 48 mpsse.c:581 mpsse_set_data_bits_high_byte(): -
Debug: 229 48 mpsse.c:396 buffer_write_byte(): 82
Debug: 230 48 mpsse.c:396 buffer_write_byte(): ac
Debug: 231 48 mpsse.c:396 buffer_write_byte(): ff
Debug: 232 48 mpsse.c:564 mpsse_set_data_bits_low_byte(): -
Debug: 233 48 mpsse.c:396 buffer_write_byte(): 80
Debug: 234 48 mpsse.c:396 buffer_write_byte(): 08
Debug: 235 48 mpsse.c:396 buffer_write_byte(): 3b
Debug: 236 48 mpsse.c:581 mpsse_set_data_bits_high_byte(): -
Debug: 237 48 mpsse.c:396 buffer_write_byte(): 82
Debug: 238 48 mpsse.c:396 buffer_write_byte(): ac
Debug: 239 49 mpsse.c:396 buffer_write_byte(): ff
Debug: 240 49 mpsse.c:644 mpsse_loopback_config(): off
Debug: 241 49 mpsse.c:396 buffer_write_byte(): 85
Debug: 242 49 mpsse.c:689 mpsse_set_frequency(): target 10000 Hz
Debug: 243 49 mpsse.c:681 mpsse_rtck_config(): off
Debug: 244 49 mpsse.c:396 buffer_write_byte(): 97
Debug: 245 49 mpsse.c:670 mpsse_divide_by_5_config(): off
Debug: 246 49 mpsse.c:396 buffer_write_byte(): 8a
Debug: 247 49 mpsse.c:650 mpsse_set_divisor(): 2999
Debug: 248 49 mpsse.c:396 buffer_write_byte(): 86
Debug: 249 49 mpsse.c:396 buffer_write_byte(): b7
Debug: 250 49 mpsse.c:396 buffer_write_byte(): 0b
Debug: 251 49 mpsse.c:713 mpsse_set_frequency(): actually 10000 Hz
Debug: 252 49 mpsse.c:796 mpsse_flush(): write 18, read 0
Debug: 253 49 mpsse.c:770 write_cb(): transferred 18 of 18
Debug: 254 49 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 49 core.c:1590 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 256 49 core.c:1593 adapter_khz_to_speed(): have interface set up
Debug: 257 49 mpsse.c:689 mpsse_set_frequency(): target 10000 Hz
Debug: 258 49 mpsse.c:681 mpsse_rtck_config(): off
Debug: 259 49 mpsse.c:396 buffer_write_byte(): 97
Debug: 260 49 mpsse.c:670 mpsse_divide_by_5_config(): off
Debug: 261 49 mpsse.c:396 buffer_write_byte(): 8a
Debug: 262 49 mpsse.c:650 mpsse_set_divisor(): 2999
Debug: 263 49 mpsse.c:396 buffer_write_byte(): 86
Debug: 264 49 mpsse.c:396 buffer_write_byte(): b7
Debug: 265 49 mpsse.c:396 buffer_write_byte(): 0b
Debug: 266 49 mpsse.c:713 mpsse_set_frequency(): actually 10000 Hz
Debug: 267 49 core.c:1590 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 268 49 core.c:1593 adapter_khz_to_speed(): have interface set up
Info : 269 49 core.c:1378 adapter_init(): clock speed 10 kHz
Debug: 270 49 openocd.c:137 handle_init_command(): Debug Adapter init complete
Debug: 271 49 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport init
Debug: 272 49 command.c:145 script_debug(): command - ocd_transport ocd_transport init
Debug: 274 49 transport.c:240 handle_transport_init(): handle_transport_init
Debug: 275 49 ftdi.c:1090 ftdi_swd_switch_seq(): JTAG-to-SWD
Debug: 276 49 mpsse.c:438 mpsse_clock_data(): out 118 bits
Debug: 277 49 mpsse.c:396 buffer_write_byte(): 19
Debug: 278 49 mpsse.c:396 buffer_write_byte(): 0d
Debug: 279 49 mpsse.c:396 buffer_write_byte(): 00
Debug: 280 49 mpsse.c:404 buffer_write(): 112 bits
Debug: 281 49 mpsse.c:396 buffer_write_byte(): 1b
Debug: 282 49 mpsse.c:396 buffer_write_byte(): 05
Debug: 283 49 mpsse.c:404 buffer_write(): 6 bits
Debug: 284 49 mpsse.c:438 mpsse_clock_data(): out 8 bits
Debug: 285 49 mpsse.c:396 buffer_write_byte(): 19
Debug: 286 49 mpsse.c:396 buffer_write_byte(): 00
Debug: 287 49 mpsse.c:396 buffer_write_byte(): 00
Debug: 288 49 mpsse.c:404 buffer_write(): 8 bits
Debug: 289 49 mpsse.c:581 mpsse_set_data_bits_high_byte(): -
Debug: 290 49 mpsse.c:396 buffer_write_byte(): 82
Debug: 291 49 mpsse.c:396 buffer_write_byte(): bc
Debug: 292 49 mpsse.c:396 buffer_write_byte(): ff
Debug: 293 49 mpsse.c:438 mpsse_clock_data(): in 38 bits
Debug: 294 49 mpsse.c:396 buffer_write_byte(): 29
Debug: 295 49 mpsse.c:396 buffer_write_byte(): 03
Debug: 296 49 mpsse.c:396 buffer_write_byte(): 00
Debug: 297 49 mpsse.c:414 buffer_add_read(): 32 bits, offset 0
Debug: 298 49 mpsse.c:396 buffer_write_byte(): 2b
Debug: 299 49 mpsse.c:396 buffer_write_byte(): 05
Debug: 300 50 mpsse.c:414 buffer_add_read(): 6 bits, offset 2
Debug: 301 50 mpsse.c:581 mpsse_set_data_bits_high_byte(): -
Debug: 302 50 mpsse.c:396 buffer_write_byte(): 82
Debug: 303 50 mpsse.c:396 buffer_write_byte(): ac
Debug: 304 50 mpsse.c:396 buffer_write_byte(): ff
Debug: 305 50 mpsse.c:438 mpsse_clock_data(): out 8 bits
Debug: 306 50 mpsse.c:396 buffer_write_byte(): 19
Debug: 307 50 mpsse.c:396 buffer_write_byte(): 00
Debug: 308 50 mpsse.c:396 buffer_write_byte(): 00
Debug: 309 50 mpsse.c:404 buffer_write(): 8 bits
Debug: 310 50 mpsse.c:581 mpsse_set_data_bits_high_byte(): -
Debug: 311 50 mpsse.c:396 buffer_write_byte(): 82
Debug: 312 50 mpsse.c:396 buffer_write_byte(): bc
Debug: 313 50 mpsse.c:396 buffer_write_byte(): ff
Debug: 314 50 mpsse.c:438 mpsse_clock_data(): in 5 bits
Debug: 315 50 mpsse.c:396 buffer_write_byte(): 2b
Debug: 316 50 mpsse.c:396 buffer_write_byte(): 04
Debug: 317 50 mpsse.c:414 buffer_add_read(): 5 bits, offset 3
Debug: 318 50 mpsse.c:581 mpsse_set_data_bits_high_byte(): -
Debug: 319 50 mpsse.c:396 buffer_write_byte(): 82
Debug: 320 50 mpsse.c:396 buffer_write_byte(): ac
Debug: 321 50 mpsse.c:396 buffer_write_byte(): ff
Debug: 322 50 mpsse.c:438 mpsse_clock_data(): out 33 bits
Debug: 323 50 mpsse.c:396 buffer_write_byte(): 19
Debug: 324 50 mpsse.c:396 buffer_write_byte(): 03
Debug: 325 50 mpsse.c:396 buffer_write_byte(): 00
Debug: 326 50 mpsse.c:404 buffer_write(): 32 bits
Debug: 327 50 mpsse.c:396 buffer_write_byte(): 1b
Debug: 328 50 mpsse.c:396 buffer_write_byte(): 00
Debug: 329 50 mpsse.c:404 buffer_write(): 1 bits
Debug: 330 50 ftdi.c:944 ftdi_swd_run_queue(): Executing 2 queued transactions
Debug: 331 50 mpsse.c:438 mpsse_clock_data(): 8 bits
Debug: 332 50 mpsse.c:396 buffer_write_byte(): 19
Debug: 333 50 mpsse.c:396 buffer_write_byte(): 00
Debug: 334 50 mpsse.c:396 buffer_write_byte(): 00
Debug: 335 50 mpsse.c:396 buffer_write_byte(): 00
Debug: 336 50 mpsse.c:796 mpsse_flush(): write 66+1, read 6
Debug: 337 50 mpsse.c:396 buffer_write_byte(): 87
Debug: 338 50 mpsse.c:770 write_cb(): transferred 67 of 67
Debug: 339 50 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 50 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 50 mpsse.c:772 write_cb(): 00 00 87
Debug: 342 72 mpsse.c:732 read_cb(): 32 60 fb 99 f0 e1 ff ff
Debug: 343 72 mpsse.c:756 read_cb(): raw chunk 8, transferred 6 of 6
Debug: 344 72 ftdi.c:976 ftdi_swd_run_queue(): JUNK DP read reg 0 = fe1f099f
Debug: 345 72 command.c:628 run_command(): Command failed with error code -4
User : 346 72 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 72 command.c:628 run_command(): Command failed with error code -4
User : 348 72 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