On 13/03/15 09:48, Paul Fertser wrote:
> On Fri, Mar 13, 2015 at 09:36:35AM +0000, Chris Fryer wrote:
>> This is a log of attempting to connect to a secured part:
> Is that with 2596 applied? Where does "reset init" come from? I think
> it might be one of the reasons mdm mass erase doesn't work.
>
That did not have 2596 applied.
I'm working now with a clean clone of
git://git.code.sf.net/p/openocd/code with 2356, 2591 an 2596 applied by
the Cherry-Pick download links.
The "reset init" is in my openocd.cfg script. It's been there since I
first started using oocd in 2013. I've tried taking it out (see below.
should I replace it with just reset? or nothing at all?).
I can connect to non-secure parts fine but when I attempt to connect to
a running secure part, the part immediately sleeps (supply current -> 0 mA).
Here's a log with 2596 applied with "reset init":
Open On-Chip Debugger 0.9.0-dev-00349-gd4ca401 (2015-03-13-10:20)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.sourceforge.net/doc/doxygen/bugs.html
User : 13 3 command.c:546 command_print(): debug_level: 3
Debug: 14 3 options.c:98 add_default_dirs(): bindir=/usr/local/bin
Debug: 15 3 options.c:99 add_default_dirs():
pkgdatadir=/usr/local/share/openocd
Debug: 16 3 options.c:100 add_default_dirs(): run_prefix=
Debug: 17 3 configuration.c:44 add_script_search_dir(): adding
/home/chris/.openocd
Debug: 18 3 configuration.c:44 add_script_search_dir(): adding
/usr/local/share/openocd/site
Debug: 19 3 configuration.c:44 add_script_search_dir(): adding
/usr/local/share/openocd/scripts
Debug: 20 3 configuration.c:84 find_file(): found openocd.cfg
Debug: 21 4 configuration.c:84 find_file(): found
/usr/local/share/openocd/scripts/interface/cmsis-dap.cfg
Debug: 22 4 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_interface cmsis-dap
Debug: 23 4 command.c:145 script_debug(): command - interface
ocd_interface cmsis-dap
Debug: 25 4 command.c:366 register_command_handler(): registering
'ocd_cmsis-dap'...
Debug: 26 4 command.c:366 register_command_handler(): registering
'ocd_cmsis_dap_vid_pid'...
Debug: 27 4 command.c:366 register_command_handler(): registering
'ocd_cmsis_dap_serial'...
Info : 28 4 transport.c:118 allow_transports(): only one transport
option; autoselect 'swd'
Debug: 29 4 command.c:325 command_new(): BUG: command 'swd' does not
have the '.usage' field filled out
Debug: 30 4 command.c:366 register_command_handler(): registering
'ocd_swd'...
Debug: 31 4 command.c:366 register_command_handler(): registering
'ocd_swd'...
Debug: 32 4 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_reset_config srst_only
Debug: 33 4 command.c:145 script_debug(): command - reset_config
ocd_reset_config srst_only
User : 35 4 command.c:546 command_print(): srst_only separate
srst_gates_jtag srst_open_drain connect_deassert_srst
Debug: 36 4 configuration.c:84 find_file(): found
/usr/local/share/openocd/scripts/target/kx.cfg
Debug: 37 4 configuration.c:84 find_file(): found
/usr/local/share/openocd/scripts/target/swj-dp.tcl
Debug: 38 4 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_transport select
Debug: 39 4 command.c:145 script_debug(): command - ocd_transport
ocd_transport select
Debug: 40 4 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_transport select
Debug: 41 4 command.c:145 script_debug(): command - ocd_transport
ocd_transport select
Debug: 42 4 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_transport select
Debug: 43 4 command.c:145 script_debug(): command - ocd_transport
ocd_transport select
Debug: 44 4 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_transport select
Debug: 45 5 command.c:145 script_debug(): command - ocd_transport
ocd_transport select
Debug: 46 5 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_transport select
Debug: 47 5 command.c:145 script_debug(): command - ocd_transport
ocd_transport select
Debug: 48 5 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_swd newdap MK10DN32VFM5 cpu -irlen 4 -ircapture 0x1
-irmask 0xf -expected-id 0x2ba01477
Debug: 49 5 command.c:145 script_debug(): command - ocd_swd ocd_swd
newdap MK10DN32VFM5 cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id
0x2ba01477
Debug: 50 5 tcl.c:554 jim_newtap_cmd(): Creating New Tap, Chip:
MK10DN32VFM5, Tap: cpu, Dotted: MK10DN32VFM5.cpu, 8 params
Debug: 51 5 core.c:1302 jtag_tap_init(): Created Tap: MK10DN32VFM5.cpu @
abs position 0, irlen 0, capture: 0x0 mask: 0x0
Debug: 52 5 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_target create MK10DN32VFM5.cpu cortex_m
-chain-position MK10DN32VFM5.cpu
Debug: 53 5 command.c:145 script_debug(): command - ocd_target
ocd_target create MK10DN32VFM5.cpu cortex_m -chain-position MK10DN32VFM5.cpu
Debug: 54 5 target.c:1835 target_free_all_working_areas_restore():
freeing all working areas
Debug: 55 5 command.c:366 register_command_handler(): registering
'ocd_arm'...
Debug: 56 5 command.c:366 register_command_handler(): registering
'ocd_arm'...
Debug: 57 5 command.c:366 register_command_handler(): registering
'ocd_arm'...
Debug: 58 5 command.c:366 register_command_handler(): registering
'ocd_arm'...
Debug: 59 5 command.c:366 register_command_handler(): registering
'ocd_arm'...
Debug: 60 5 command.c:366 register_command_handler(): registering
'ocd_arm'...
Debug: 61 5 command.c:366 register_command_handler(): registering
'ocd_dap'...
Debug: 62 5 command.c:366 register_command_handler(): registering
'ocd_dap'...
Debug: 63 5 command.c:366 register_command_handler(): registering
'ocd_dap'...
Debug: 64 5 command.c:366 register_command_handler(): registering
'ocd_dap'...
Debug: 65 5 command.c:366 register_command_handler(): registering
'ocd_dap'...
Debug: 66 5 command.c:366 register_command_handler(): registering
'ocd_dap'...
Debug: 67 5 command.c:366 register_command_handler(): registering
'ocd_dap'...
Debug: 68 5 command.c:366 register_command_handler(): registering
'ocd_cortex_m'...
Debug: 69 5 command.c:366 register_command_handler(): registering
'ocd_cortex_m'...
Debug: 70 5 command.c:366 register_command_handler(): registering
'ocd_cortex_m'...
Debug: 71 5 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 72 5 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 73 5 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 74 5 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 75 5 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 76 5 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 77 5 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 78 5 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 79 5 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 80 5 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 81 5 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 82 5 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 83 5 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 84 5 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 85 5 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 86 5 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 87 5 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 88 5 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 89 6 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 90 6 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 91 6 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 92 6 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 93 6 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 94 6 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 95 6 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 96 6 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 97 6 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 98 6 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 99 6 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 100 6 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 101 6 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 102 6 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 103 6 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 104 6 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 105 6 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 106 6 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 107 6 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 108 6 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 109 6 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_MK10DN32VFM5.cpu configure -event examine-end
kinetis mdm check_security
Debug: 110 6 command.c:145 script_debug(): command -
ocd_MK10DN32VFM5.cpu ocd_MK10DN32VFM5.cpu configure -event examine-end
kinetis mdm check_security
Debug: 111 6 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_MK10DN32VFM5.cpu configure -work-area-phys
0x20000000 -work-area-size 0x4000 -work-area-backup 0
Debug: 112 6 command.c:145 script_debug(): command -
ocd_MK10DN32VFM5.cpu ocd_MK10DN32VFM5.cpu configure -work-area-phys
0x20000000 -work-area-size 0x4000 -work-area-backup 0
Debug: 113 6 target.c:1835 target_free_all_working_areas_restore():
freeing all working areas
Debug: 114 6 target.c:1835 target_free_all_working_areas_restore():
freeing all working areas
Debug: 115 6 target.c:1835 target_free_all_working_areas_restore():
freeing all working areas
Debug: 116 6 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_flash bank MK10DN32VFM5.flash kinetis 0 0 0 0
MK10DN32VFM5.cpu
Debug: 117 6 command.c:145 script_debug(): command - ocd_flash ocd_flash
bank MK10DN32VFM5.flash kinetis 0 0 0 0 MK10DN32VFM5.cpu
Debug: 119 6 command.c:366 register_command_handler(): registering
'ocd_kinetis'...
Debug: 120 6 command.c:366 register_command_handler(): registering
'ocd_kinetis'...
Debug: 121 6 command.c:366 register_command_handler(): registering
'ocd_kinetis'...
Debug: 122 6 command.c:366 register_command_handler(): registering
'ocd_kinetis'...
Info : 123 6 kinetis.c:491 kinetis_flash_bank_command(): add flash_bank
kinetis MK10DN32VFM5.flash
Debug: 124 6 tcl.c:824 handle_flash_bank_command(): 'kinetis' driver
usage field missing
Debug: 125 6 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_adapter_khz 1000
Debug: 126 6 command.c:145 script_debug(): command - adapter_khz
ocd_adapter_khz 1000
Debug: 128 6 core.c:1629 jtag_config_khz(): handle jtag khz
Debug: 129 6 core.c:1596 adapter_khz_to_speed(): convert khz to
interface specific speed value
Debug: 130 6 core.c:1596 adapter_khz_to_speed(): convert khz to
interface specific speed value
User : 131 6 command.c:546 command_print(): adapter speed: 1000 kHz
Debug: 132 6 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_reset_config srst_nogate
Debug: 133 6 command.c:145 script_debug(): command - reset_config
ocd_reset_config srst_nogate
User : 135 6 command.c:546 command_print(): srst_only separate
srst_nogate srst_open_drain connect_deassert_srst
Debug: 136 7 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_transport select
Debug: 137 7 command.c:145 script_debug(): command - ocd_transport
ocd_transport select
Debug: 138 7 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_cortex_m reset_config sysresetreq
Debug: 139 7 command.c:145 script_debug(): command - ocd_cortex_m
ocd_cortex_m reset_config sysresetreq
User : 141 7 command.c:546 command_print(): cortex_m reset_config
sysresetreq
Debug: 142 7 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_reset_config srst_only srst_nogate connect_assert_srst
Debug: 143 7 command.c:145 script_debug(): command - reset_config
ocd_reset_config srst_only srst_nogate connect_assert_srst
User : 145 7 command.c:546 command_print(): srst_only separate
srst_nogate srst_open_drain connect_assert_srst
Debug: 146 7 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_init
Debug: 147 7 command.c:145 script_debug(): command - init ocd_init
Debug: 149 7 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_target init
Debug: 150 7 command.c:145 script_debug(): command - ocd_target
ocd_target init
Debug: 152 7 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_target names
Debug: 153 7 command.c:145 script_debug(): command - ocd_target
ocd_target names
Debug: 154 7 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_MK10DN32VFM5.cpu cget -event gdb-flash-erase-start
Debug: 155 7 command.c:145 script_debug(): command -
ocd_MK10DN32VFM5.cpu ocd_MK10DN32VFM5.cpu cget -event gdb-flash-erase-start
Debug: 156 7 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_MK10DN32VFM5.cpu configure -event
gdb-flash-erase-start reset init
Debug: 157 7 command.c:145 script_debug(): command -
ocd_MK10DN32VFM5.cpu ocd_MK10DN32VFM5.cpu configure -event
gdb-flash-erase-start reset init
Debug: 158 7 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_MK10DN32VFM5.cpu cget -event gdb-flash-write-end
Debug: 159 7 command.c:145 script_debug(): command -
ocd_MK10DN32VFM5.cpu ocd_MK10DN32VFM5.cpu cget -event gdb-flash-write-end
Debug: 160 7 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_MK10DN32VFM5.cpu configure -event
gdb-flash-write-end reset halt
Debug: 161 7 command.c:145 script_debug(): command -
ocd_MK10DN32VFM5.cpu ocd_MK10DN32VFM5.cpu configure -event
gdb-flash-write-end reset halt
Debug: 162 7 target.c:1311 handle_target_init_command(): Initializing
targets...
Debug: 163 7 command.c:366 register_command_handler(): registering
'ocd_target_request'...
Debug: 164 7 command.c:366 register_command_handler(): registering
'ocd_trace'...
Debug: 165 7 command.c:366 register_command_handler(): registering
'ocd_trace'...
Debug: 166 7 command.c:366 register_command_handler(): registering
'ocd_fast_load_image'...
Debug: 167 7 command.c:366 register_command_handler(): registering
'ocd_fast_load'...
Debug: 168 7 command.c:366 register_command_handler(): registering
'ocd_profile'...
Debug: 169 7 command.c:366 register_command_handler(): registering
'ocd_virt2phys'...
Debug: 170 7 command.c:366 register_command_handler(): registering
'ocd_reg'...
Debug: 171 7 command.c:366 register_command_handler(): registering
'ocd_poll'...
Debug: 172 7 command.c:366 register_command_handler(): registering
'ocd_wait_halt'...
Debug: 173 7 command.c:366 register_command_handler(): registering
'ocd_halt'...
Debug: 174 7 command.c:366 register_command_handler(): registering
'ocd_resume'...
Debug: 175 8 command.c:366 register_command_handler(): registering
'ocd_reset'...
Debug: 176 8 command.c:366 register_command_handler(): registering
'ocd_soft_reset_halt'...
Debug: 177 8 command.c:366 register_command_handler(): registering
'ocd_step'...
Debug: 178 8 command.c:366 register_command_handler(): registering
'ocd_mdw'...
Debug: 179 8 command.c:366 register_command_handler(): registering
'ocd_mdh'...
Debug: 180 8 command.c:366 register_command_handler(): registering
'ocd_mdb'...
Debug: 181 8 command.c:366 register_command_handler(): registering
'ocd_mww'...
Debug: 182 8 command.c:366 register_command_handler(): registering
'ocd_mwh'...
Debug: 183 8 command.c:366 register_command_handler(): registering
'ocd_mwb'...
Debug: 184 8 command.c:366 register_command_handler(): registering
'ocd_bp'...
Debug: 185 8 command.c:366 register_command_handler(): registering
'ocd_rbp'...
Debug: 186 8 command.c:366 register_command_handler(): registering
'ocd_wp'...
Debug: 187 8 command.c:366 register_command_handler(): registering
'ocd_rwp'...
Debug: 188 8 command.c:366 register_command_handler(): registering
'ocd_load_image'...
Debug: 189 8 command.c:366 register_command_handler(): registering
'ocd_dump_image'...
Debug: 190 8 command.c:366 register_command_handler(): registering
'ocd_verify_image'...
Debug: 191 8 command.c:366 register_command_handler(): registering
'ocd_test_image'...
Debug: 192 8 command.c:366 register_command_handler(): registering
'ocd_reset_nag'...
Debug: 193 8 command.c:366 register_command_handler(): registering
'ocd_ps'...
Debug: 194 8 command.c:366 register_command_handler(): registering
'ocd_test_mem_access'...
Info : 195 12 cmsis_dap_usb.c:683 cmsis_dap_get_caps_info(): CMSIS-DAP:
SWD Supported
Info : 196 13 cmsis_dap_usb.c:784 cmsis_dap_swd_open(): CMSIS-DAP:
Interface Initialised (SWD)
Info : 197 14 cmsis_dap_usb.c:663 cmsis_dap_get_version_info():
CMSIS-DAP: FW Version = 1.0
Debug: 198 15 cmsis_dap_usb.c:856 cmsis_dap_init(): CMSIS-DAP: Packet
Size = 64
Debug: 199 16 cmsis_dap_usb.c:867 cmsis_dap_init(): CMSIS-DAP: Packet
Count = 32
Info : 200 17 cmsis_dap_usb.c:704 cmsis_dap_get_status(): SWCLK/TCK = 0
SWDIO/TMS = 1 TDI = 0 TDO = 0 nTRST = 0 nRESET = 1
Info : 201 22 cmsis_dap_usb.c:904 cmsis_dap_init(): Connecting under reset
Info : 202 23 cmsis_dap_usb.c:910 cmsis_dap_init(): CMSIS-DAP: Interface
ready
Debug: 203 23 core.c:1596 adapter_khz_to_speed(): convert khz to
interface specific speed value
Debug: 204 23 core.c:1599 adapter_khz_to_speed(): have interface set up
Debug: 205 24 core.c:1596 adapter_khz_to_speed(): convert khz to
interface specific speed value
Debug: 206 24 core.c:1599 adapter_khz_to_speed(): have interface set up
Info : 207 24 core.c:1384 adapter_init(): clock speed 1000 kHz
Debug: 208 24 openocd.c:137 handle_init_command(): Debug Adapter init
complete
Debug: 209 25 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_transport init
Debug: 210 25 command.c:145 script_debug(): command - ocd_transport
ocd_transport init
Debug: 212 25 transport.c:240 handle_transport_init(): handle_transport_init
Debug: 213 25 cmsis_dap_usb.c:731 cmsis_dap_swd_switch_seq(): JTAG-to-SWD
Debug: 214 27 cmsis_dap_usb.c:522 cmsis_dap_swd_run_queue(): Executing 2
queued transactions
Debug: 215 27 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read reg 0 0
Debug: 216 27 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP write
reg 0 1e
Debug: 217 29 cmsis_dap_usb.c:600 cmsis_dap_swd_run_queue(): Read
result: 2ba01477
Info : 218 29 adi_v5_swd.c:125 swd_connect(): SWD IDCODE 0x2ba01477
Debug: 219 29 openocd.c:150 handle_init_command(): Examining targets...
Debug: 220 29 target.c:1463 target_call_event_callbacks(): target event
21 (examine-start)
Debug: 221 29 arm_adi_v5.c:647 ahbap_debugport_init():
Debug: 222 29 arm_adi_v5.c:688 ahbap_debugport_init(): DAP: wait
CDBGPWRUPACK
Debug: 223 29 arm_adi_v5.h:391 dap_dp_poll_register(): DAP: poll 4, mask
0x0820000000, value 0x20000000
Debug: 224 29 cmsis_dap_usb.c:522 cmsis_dap_swd_run_queue(): Executing 5
queued transactions
Debug: 225 29 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read reg 4 0
Debug: 226 29 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP write
reg 4 20
Debug: 227 29 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read reg 4 0
Debug: 228 29 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP write
reg 4 50000000
Debug: 229 29 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read reg 4 0
Debug: 230 31 cmsis_dap_usb.c:600 cmsis_dap_swd_run_queue(): Read result: 40
Debug: 231 31 cmsis_dap_usb.c:600 cmsis_dap_swd_run_queue(): Read result: 40
Debug: 232 31 cmsis_dap_usb.c:600 cmsis_dap_swd_run_queue(): Read
result: f0000040
Debug: 233 31 arm_adi_v5.c:695 ahbap_debugport_init(): DAP: wait
CSYSPWRUPACK
Debug: 234 31 arm_adi_v5.h:391 dap_dp_poll_register(): DAP: poll 4, mask
0x0880000000, value 0x80000000
Debug: 235 31 cmsis_dap_usb.c:522 cmsis_dap_swd_run_queue(): Executing 1
queued transactions
Debug: 236 31 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read reg 4 0
Debug: 237 33 cmsis_dap_usb.c:600 cmsis_dap_swd_run_queue(): Read
result: f0000040
Debug: 238 33 cmsis_dap_usb.c:522 cmsis_dap_swd_run_queue(): Executing
11 queued transactions
Debug: 239 33 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read reg 4 0
Debug: 240 33 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP write
reg 4 50000001
Debug: 241 33 cmsis_dap_usb.c:562 cmsis_dap_swd_run_queue(): refusing to
enable sticky overrun detection
Debug: 242 33 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read reg 4 0
Debug: 243 33 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP write
reg 8 0
Debug: 244 33 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): AP write
reg 0 a2000020
Debug: 245 33 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): AP write
reg 4 0
Debug: 246 33 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): AP read reg 0 0
Debug: 247 33 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read reg c 0
Debug: 248 33 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP write
reg 8 f0
Debug: 249 33 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): AP read reg 4 0
Debug: 250 33 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read reg c 0
Debug: 251 35 cmsis_dap_usb.c:600 cmsis_dap_swd_run_queue(): Read
result: f0000040
Debug: 252 35 cmsis_dap_usb.c:600 cmsis_dap_swd_run_queue(): Read
result: f0000040
Debug: 253 35 cmsis_dap_usb.c:600 cmsis_dap_swd_run_queue(): Read
result: 23000020
Debug: 254 35 cmsis_dap_usb.c:600 cmsis_dap_swd_run_queue(): Read
result: 23000020
Debug: 255 35 cmsis_dap_usb.c:600 cmsis_dap_swd_run_queue(): Read result: 0
Debug: 256 35 cmsis_dap_usb.c:600 cmsis_dap_swd_run_queue(): Read result: 0
Debug: 257 35 arm_adi_v5.c:744 ahbap_debugport_init(): MEM_AP Packed
Transfers: enabled
Debug: 258 35 arm_adi_v5.c:755 ahbap_debugport_init(): MEM_AP CFG: large
data 0, long address 0, big-endian 0
Debug: 259 35 cmsis_dap_usb.c:522 cmsis_dap_swd_run_queue(): Executing 5
queued transactions
Debug: 260 35 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP write
reg 8 0
Debug: 261 35 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): AP write
reg 4 e000ed00
Debug: 262 35 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): AP write
reg 0 a2000022
Debug: 263 35 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): AP read reg c 0
Debug: 264 35 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read reg c 0
Debug: 265 37 cmsis_dap_usb.c:583 cmsis_dap_swd_run_queue(): SWD ack not
OK: 4 FAULT
Debug: 266 38 cmsis_dap_usb.c:731 cmsis_dap_swd_switch_seq(): JTAG-to-SWD
Debug: 267 40 cmsis_dap_usb.c:522 cmsis_dap_swd_run_queue(): Executing 2
queued transactions
Debug: 268 40 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read reg 0 0
Debug: 269 40 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP write
reg 0 1e
Debug: 270 42 cmsis_dap_usb.c:600 cmsis_dap_swd_run_queue(): Read
result: 2ba01477
Info : 271 42 adi_v5_swd.c:125 swd_connect(): SWD IDCODE 0x2ba01477
Debug: 272 42 cmsis_dap_usb.c:522 cmsis_dap_swd_run_queue(): Executing 2
queued transactions
Debug: 273 42 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): AP read reg 4 0
Debug: 274 42 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read reg c 0
Debug: 275 44 cmsis_dap_usb.c:600 cmsis_dap_swd_run_queue(): Read
result: e000ed00
Debug: 276 44 cmsis_dap_usb.c:600 cmsis_dap_swd_run_queue(): Read
result: e000ed00
Error: 277 44 arm_adi_v5.c:512 mem_ap_read(): Failed to read memory at
0xe000ed00
Debug: 278 44 target.c:2181 target_read_u32(): address: 0xe000ed00 failed
Debug: 279 44 openocd.c:152 handle_init_command(): target examination failed
Debug: 280 44 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_flash init
Debug: 281 45 command.c:145 script_debug(): command - ocd_flash
ocd_flash init
Debug: 282 45 cmsis_dap_usb.c:522 cmsis_dap_swd_run_queue(): Executing 5
queued transactions
Debug: 283 45 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): AP write
reg 0 a2000002
Debug: 284 45 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): AP write
reg 4 e000edf0
Debug: 285 45 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP write
reg 8 10
Debug: 286 45 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): AP read reg 0 0
Debug: 287 45 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read reg c 0
Debug: 288 46 cmsis_dap_usb.c:583 cmsis_dap_swd_run_queue(): SWD ack not
OK: 4 FAULT
User : 289 46 target.c:2525 handle_target(): Polling target
MK10DN32VFM5.cpu failed, GDB will be halted. Polling again in 100ms
Debug: 290 46 target.c:1463 target_call_event_callbacks(): target event
0 (gdb-halt)
Debug: 292 46 tcl.c:890 handle_flash_init_command(): Initializing flash
devices...
Debug: 293 46 command.c:366 register_command_handler(): registering
'ocd_flash'...
Debug: 294 47 command.c:366 register_command_handler(): registering
'ocd_flash'...
Debug: 295 47 command.c:366 register_command_handler(): registering
'ocd_flash'...
Debug: 296 47 command.c:366 register_command_handler(): registering
'ocd_flash'...
Debug: 297 47 command.c:366 register_command_handler(): registering
'ocd_flash'...
Debug: 298 47 command.c:366 register_command_handler(): registering
'ocd_flash'...
Debug: 299 47 command.c:366 register_command_handler(): registering
'ocd_flash'...
Debug: 300 47 command.c:366 register_command_handler(): registering
'ocd_flash'...
Debug: 301 47 command.c:366 register_command_handler(): registering
'ocd_flash'...
Debug: 302 47 command.c:366 register_command_handler(): registering
'ocd_flash'...
Debug: 303 47 command.c:366 register_command_handler(): registering
'ocd_flash'...
Debug: 304 47 command.c:366 register_command_handler(): registering
'ocd_flash'...
Debug: 305 47 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_mflash init
Debug: 306 47 command.c:145 script_debug(): command - ocd_mflash
ocd_mflash init
Debug: 308 47 mflash.c:1379 handle_mflash_init_command(): Initializing
mflash devices...
Debug: 309 47 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_nand init
Debug: 310 47 command.c:145 script_debug(): command - ocd_nand ocd_nand init
Debug: 311 48 cmsis_dap_usb.c:731 cmsis_dap_swd_switch_seq(): JTAG-to-SWD
Debug: 312 50 cmsis_dap_usb.c:522 cmsis_dap_swd_run_queue(): Executing 2
queued transactions
Debug: 313 50 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read reg 0 0
Debug: 314 50 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP write
reg 0 1e
Debug: 315 52 cmsis_dap_usb.c:600 cmsis_dap_swd_run_queue(): Read
result: 2ba01477
Info : 316 52 adi_v5_swd.c:125 swd_connect(): SWD IDCODE 0x2ba01477
Debug: 317 52 cmsis_dap_usb.c:522 cmsis_dap_swd_run_queue(): Executing 2
queued transactions
Debug: 318 52 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): AP read reg 0 0
Debug: 319 52 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read reg c 0
Debug: 320 54 cmsis_dap_usb.c:583 cmsis_dap_swd_run_queue(): SWD ack not
OK: 1 FAULT
User : 321 54 target.c:2525 handle_target(): Polling target
MK10DN32VFM5.cpu failed, GDB will be halted. Polling again in 300ms
Debug: 322 54 target.c:1463 target_call_event_callbacks(): target event
0 (gdb-halt)
Debug: 324 54 tcl.c:497 handle_nand_init_command(): Initializing NAND
devices...
Debug: 325 55 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_pld init
Debug: 326 55 command.c:145 script_debug(): command - ocd_pld ocd_pld init
Debug: 328 55 pld.c:207 handle_pld_init_command(): Initializing PLDs...
Debug: 329 55 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_reset init
Debug: 330 55 command.c:145 script_debug(): command - reset ocd_reset init
Debug: 332 55 target.c:1481 target_call_reset_callbacks(): target reset
3 (init)
Debug: 333 55 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_target names
Debug: 334 55 command.c:145 script_debug(): command - ocd_target
ocd_target names
Debug: 335 55 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_MK10DN32VFM5.cpu invoke-event reset-start
Debug: 336 55 command.c:145 script_debug(): command -
ocd_MK10DN32VFM5.cpu ocd_MK10DN32VFM5.cpu invoke-event reset-start
Debug: 337 55 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_transport select
Debug: 338 55 command.c:145 script_debug(): command - ocd_transport
ocd_transport select
Debug: 339 55 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_transport select
Debug: 340 55 command.c:145 script_debug(): command - ocd_transport
ocd_transport select
Debug: 341 55 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_MK10DN32VFM5.cpu invoke-event examine-start
Debug: 342 55 command.c:145 script_debug(): command -
ocd_MK10DN32VFM5.cpu ocd_MK10DN32VFM5.cpu invoke-event examine-start
Debug: 343 55 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_MK10DN32VFM5.cpu arp_examine
Debug: 344 55 command.c:145 script_debug(): command -
ocd_MK10DN32VFM5.cpu ocd_MK10DN32VFM5.cpu arp_examine
Debug: 345 56 arm_adi_v5.c:647 ahbap_debugport_init():
Debug: 346 56 cmsis_dap_usb.c:731 cmsis_dap_swd_switch_seq(): JTAG-to-SWD
Debug: 347 58 cmsis_dap_usb.c:522 cmsis_dap_swd_run_queue(): Executing 2
queued transactions
Debug: 348 58 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read reg 0 0
Debug: 349 58 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP write
reg 0 1e
Debug: 350 60 cmsis_dap_usb.c:600 cmsis_dap_swd_run_queue(): Read
result: 2ba01477
Info : 351 60 adi_v5_swd.c:125 swd_connect(): SWD IDCODE 0x2ba01477
Debug: 352 60 arm_adi_v5.c:688 ahbap_debugport_init(): DAP: wait
CDBGPWRUPACK
Debug: 353 60 arm_adi_v5.h:391 dap_dp_poll_register(): DAP: poll 4, mask
0x0820000000, value 0x20000000
Debug: 354 60 cmsis_dap_usb.c:522 cmsis_dap_swd_run_queue(): Executing 5
queued transactions
Debug: 355 60 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read reg 4 0
Debug: 356 60 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP write
reg 4 20
Debug: 357 61 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read reg 4 0
Debug: 358 61 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP write
reg 4 50000000
Debug: 359 61 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read reg 4 0
Debug: 360 62 cmsis_dap_usb.c:600 cmsis_dap_swd_run_queue(): Read
result: f0000040
Debug: 361 62 cmsis_dap_usb.c:600 cmsis_dap_swd_run_queue(): Read result: 40
Debug: 362 62 cmsis_dap_usb.c:600 cmsis_dap_swd_run_queue(): Read
result: f0000040
Debug: 363 62 arm_adi_v5.c:695 ahbap_debugport_init(): DAP: wait
CSYSPWRUPACK
Debug: 364 62 arm_adi_v5.h:391 dap_dp_poll_register(): DAP: poll 4, mask
0x0880000000, value 0x80000000
Debug: 365 62 cmsis_dap_usb.c:522 cmsis_dap_swd_run_queue(): Executing 1
queued transactions
Debug: 366 62 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read reg 4 0
Debug: 367 64 cmsis_dap_usb.c:600 cmsis_dap_swd_run_queue(): Read
result: f0000040
Debug: 368 64 cmsis_dap_usb.c:522 cmsis_dap_swd_run_queue(): Executing
11 queued transactions
Debug: 369 64 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read reg 4 0
Debug: 370 64 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP write
reg 4 50000001
Debug: 371 64 cmsis_dap_usb.c:562 cmsis_dap_swd_run_queue(): refusing to
enable sticky overrun detection
Debug: 372 64 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read reg 4 0
Debug: 373 64 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP write
reg 8 0
Debug: 374 64 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): AP write
reg 0 a2000020
Debug: 375 64 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): AP write
reg 4 0
Debug: 376 64 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): AP read reg 0 0
Debug: 377 64 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read reg c 0
Debug: 378 64 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP write
reg 8 f0
Debug: 379 64 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): AP read reg 4 0
Debug: 380 64 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read reg c 0
Debug: 381 66 cmsis_dap_usb.c:600 cmsis_dap_swd_run_queue(): Read
result: f0000040
Debug: 382 66 cmsis_dap_usb.c:600 cmsis_dap_swd_run_queue(): Read
result: f0000040
Debug: 383 66 cmsis_dap_usb.c:600 cmsis_dap_swd_run_queue(): Read
result: 23000020
Debug: 384 66 cmsis_dap_usb.c:600 cmsis_dap_swd_run_queue(): Read
result: 23000020
Debug: 385 66 cmsis_dap_usb.c:600 cmsis_dap_swd_run_queue(): Read result: 0
Debug: 386 66 cmsis_dap_usb.c:600 cmsis_dap_swd_run_queue(): Read result: 0
Debug: 387 66 arm_adi_v5.c:744 ahbap_debugport_init(): MEM_AP Packed
Transfers: enabled
Debug: 388 67 arm_adi_v5.c:755 ahbap_debugport_init(): MEM_AP CFG: large
data 0, long address 0, big-endian 0
Debug: 389 67 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_MK10DN32VFM5.cpu invoke-event examine-end
Debug: 390 67 command.c:145 script_debug(): command -
ocd_MK10DN32VFM5.cpu ocd_MK10DN32VFM5.cpu invoke-event examine-end
Debug: 391 67 target.c:4209 target_handle_event(): target: (0)
MK10DN32VFM5.cpu (cortex_m) event: 22 (examine-end) action:
kinetis mdm check_security
Debug: 392 67 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_kinetis mdm check_security
Debug: 393 67 command.c:145 script_debug(): command - ocd_kinetis
ocd_kinetis mdm check_security
Debug: 395 67 cmsis_dap_usb.c:522 cmsis_dap_swd_run_queue(): Executing 3
queued transactions
Debug: 396 67 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP write
reg 8 10000f0
Debug: 397 67 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): AP read reg c 0
Debug: 398 67 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read reg c 0
Debug: 399 69 cmsis_dap_usb.c:600 cmsis_dap_swd_run_queue(): Read
result: 1c0000
Debug: 400 69 cmsis_dap_usb.c:600 cmsis_dap_swd_run_queue(): Read
result: 1c0000
Debug: 401 69 kinetis.c:268 kinetis_mdm_read_register(): MDM_REG[0xfc]:
001C0000
Debug: 402 69 cmsis_dap_usb.c:522 cmsis_dap_swd_run_queue(): Executing 3
queued transactions
Debug: 403 69 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP write
reg 8 1000000
Debug: 404 69 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): AP read reg 0 0
Debug: 405 69 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read reg c 0
Debug: 406 71 cmsis_dap_usb.c:600 cmsis_dap_swd_run_queue(): Read
result: 4002e
Debug: 407 71 cmsis_dap_usb.c:600 cmsis_dap_swd_run_queue(): Read
result: 4002e
Debug: 408 71 kinetis.c:268 kinetis_mdm_read_register(): MDM_REG[0x00]:
0004002E
Debug: 409 71 cmsis_dap_usb.c:522 cmsis_dap_swd_run_queue(): Executing 2
queued transactions
Debug: 410 71 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): AP read reg 0 0
Debug: 411 71 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read reg c 0
Debug: 412 73 cmsis_dap_usb.c:600 cmsis_dap_swd_run_queue(): Read
result: 4002e
Debug: 413 73 cmsis_dap_usb.c:600 cmsis_dap_swd_run_queue(): Read
result: 4002e
Debug: 414 73 kinetis.c:268 kinetis_mdm_read_register(): MDM_REG[0x00]:
0004002E
Warn : 415 73 kinetis.c:460 kinetis_check_flash_security_status():
*********** ATTENTION! ATTENTION! ATTENTION! ATTENTION! **********
Warn : 416 73 kinetis.c:461 kinetis_check_flash_security_status():
**** ****
Warn : 417 73 kinetis.c:462 kinetis_check_flash_security_status(): ****
Your Kinetis MCU is in secured state, which means that, ****
Warn : 418 73 kinetis.c:463 kinetis_check_flash_security_status(): ****
with exception for very basic communication, JTAG/SWD ****
Warn : 419 73 kinetis.c:464 kinetis_check_flash_security_status(): ****
interface will NOT work. In order to restore its ****
Warn : 420 73 kinetis.c:465 kinetis_check_flash_security_status(): ****
functionality please issue 'kinetis mdm mass_erase' ****
Warn : 421 73 kinetis.c:466 kinetis_check_flash_security_status(): ****
command, power cycle the MCU and restart OpenOCD. ****
Warn : 422 73 kinetis.c:467 kinetis_check_flash_security_status():
**** ****
Warn : 423 73 kinetis.c:468 kinetis_check_flash_security_status():
*********** ATTENTION! ATTENTION! ATTENTION! ATTENTION! **********
Debug: 424 74 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_MK10DN32VFM5.cpu invoke-event reset-assert-pre
Debug: 425 74 command.c:145 script_debug(): command -
ocd_MK10DN32VFM5.cpu ocd_MK10DN32VFM5.cpu invoke-event reset-assert-pre
Debug: 426 74 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_transport select
Debug: 427 74 command.c:145 script_debug(): command - ocd_transport
ocd_transport select
Debug: 428 74 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_MK10DN32VFM5.cpu arp_reset assert 1
Debug: 429 74 command.c:145 script_debug(): command -
ocd_MK10DN32VFM5.cpu ocd_MK10DN32VFM5.cpu arp_reset assert 1
Debug: 430 74 target.c:1835 target_free_all_working_areas_restore():
freeing all working areas
Debug: 431 74 cortex_m.c:971 cortex_m_assert_reset(): target->state: unknown
Debug: 432 75 core.c:644 swd_add_reset(): SRST line asserted
Debug: 433 76 cmsis_dap_usb.c:522 cmsis_dap_swd_run_queue(): Executing 6
queued transactions
Debug: 434 76 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP write
reg 8 0
Debug: 435 76 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): AP write
reg 0 a2000002
Debug: 436 76 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): AP write
reg 4 e000edf0
Debug: 437 76 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP write
reg 8 10
Debug: 438 76 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): AP read reg 0 0
Debug: 439 76 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read reg c 0
Debug: 440 77 cmsis_dap_usb.c:583 cmsis_dap_swd_run_queue(): SWD ack not
OK: 5 FAULT
User : 441 78 command.c:546 command_print(): in procedure 'reset' called
at file "openocd.cfg", line 10
in procedure 'ocd_bouncer'
Debug: 442 78 command.c:628 run_command(): Command failed with error code -4
User : 443 78 command.c:666 command_run_line(): openocd.cfg:10: Error:
in procedure 'script'
at file "embedded:startup.tcl", line 58
in procedure 'reset' called at file "openocd.cfg", line 10
Debug: 444 78 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_init
Debug: 445 78 command.c:145 script_debug(): command - init ocd_init
Debug: 447 179 cmsis_dap_usb.c:731 cmsis_dap_swd_switch_seq(): JTAG-to-SWD
Debug: 448 181 cmsis_dap_usb.c:522 cmsis_dap_swd_run_queue(): Executing
2 queued transactions
Debug: 449 181 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read
reg 0 0
Debug: 450 181 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP write
reg 0 1e
Debug: 451 183 cmsis_dap_usb.c:600 cmsis_dap_swd_run_queue(): Read
result: 2ba01477
Info : 452 183 adi_v5_swd.c:125 swd_connect(): SWD IDCODE 0x2ba01477
Debug: 453 183 cmsis_dap_usb.c:522 cmsis_dap_swd_run_queue(): Executing
2 queued transactions
Debug: 454 183 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): AP read
reg 0 0
Debug: 455 184 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read
reg c 0
Debug: 456 185 cmsis_dap_usb.c:583 cmsis_dap_swd_run_queue(): SWD ack
not OK: 1 FAULT
User : 457 185 target.c:2525 handle_target(): Polling target
MK10DN32VFM5.cpu failed, GDB will be halted. Polling again in 700ms
Debug: 458 185 target.c:1463 target_call_event_callbacks(): target event
0 (gdb-halt)
Debug: 459 987 cmsis_dap_usb.c:731 cmsis_dap_swd_switch_seq(): JTAG-to-SWD
Debug: 460 989 cmsis_dap_usb.c:522 cmsis_dap_swd_run_queue(): Executing
2 queued transactions
Debug: 461 989 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read
reg 0 0
Debug: 462 989 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP write
reg 0 1e
Debug: 463 991 cmsis_dap_usb.c:583 cmsis_dap_swd_run_queue(): SWD ack
not OK: 0 JUNK
User : 464 991 target.c:2525 handle_target(): Polling target
MK10DN32VFM5.cpu failed, GDB will be halted. Polling again in 1500ms
Debug: 465 991 target.c:1463 target_call_event_callbacks(): target event
0 (gdb-halt)
Debug: 466 2595 cmsis_dap_usb.c:731 cmsis_dap_swd_switch_seq(): JTAG-to-SWD
Debug: 467 2597 cmsis_dap_usb.c:522 cmsis_dap_swd_run_queue(): Executing
2 queued transactions
Debug: 468 2597 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read
reg 0 0
Debug: 469 2597 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP write
reg 0 1e
Debug: 470 2599 cmsis_dap_usb.c:583 cmsis_dap_swd_run_queue(): SWD ack
not OK: 0 JUNK
User : 471 2599 target.c:2525 handle_target(): Polling target
MK10DN32VFM5.cpu failed, GDB will be halted. Polling again in 3100ms
Debug: 472 2599 target.c:1463 target_call_event_callbacks(): target
event 0 (gdb-halt)
Info : 473 4165 server.c:90 add_connection(): accepting 'telnet'
connection on tcp/4444
Debug: 474 5869 cmsis_dap_usb.c:731 cmsis_dap_swd_switch_seq(): JTAG-to-SWD
Debug: 475 5871 cmsis_dap_usb.c:522 cmsis_dap_swd_run_queue(): Executing
2 queued transactions
Debug: 476 5871 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read
reg 0 0
Debug: 477 5871 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP write
reg 0 1e
Debug: 478 5873 cmsis_dap_usb.c:583 cmsis_dap_swd_run_queue(): SWD ack
not OK: 0 JUNK
User : 479 5873 target.c:2525 handle_target(): Polling target
MK10DN32VFM5.cpu failed, GDB will be halted. Polling again in 6300ms
Debug: 480 5874 target.c:1463 target_call_event_callbacks(): target
event 0 (gdb-halt)
Debug: 481 13203 cmsis_dap_usb.c:731 cmsis_dap_swd_switch_seq(): JTAG-to-SWD
Debug: 482 13205 cmsis_dap_usb.c:522 cmsis_dap_swd_run_queue():
Executing 2 queued transactions
Debug: 483 13205 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read
reg 0 0
Debug: 484 13205 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP write
reg 0 1e
Debug: 485 13207 cmsis_dap_usb.c:583 cmsis_dap_swd_run_queue(): SWD ack
not OK: 0 JUNK
User : 486 13207 target.c:2525 handle_target(): Polling target
MK10DN32VFM5.cpu failed, GDB will be halted. Polling again in 6300ms
Debug: 487 13208 target.c:1463 target_call_event_callbacks(): target
event 0 (gdb-halt)
Debug: 488 13325 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_kinetis mdm mass_erase
Debug: 489 13326 command.c:145 script_debug(): command - ocd_kinetis
ocd_kinetis mdm mass_erase
Debug: 491 13326 kinetis.c:235 kinetis_mdm_write_register():
MDM_REG[0x04] <- 00000008
Debug: 492 13326 cmsis_dap_usb.c:731 cmsis_dap_swd_switch_seq(): JTAG-to-SWD
Debug: 493 13328 cmsis_dap_usb.c:522 cmsis_dap_swd_run_queue():
Executing 2 queued transactions
Debug: 494 13328 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read
reg 0 0
Debug: 495 13328 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP write
reg 0 1e
Debug: 496 13330 cmsis_dap_usb.c:583 cmsis_dap_swd_run_queue(): SWD ack
not OK: 0 JUNK
Debug: 497 13330 kinetis.c:239 kinetis_mdm_write_register(): MDM: failed
to queue a write request
Debug: 498 13330 command.c:628 run_command(): Command failed with error
code -4
User : 499 13330 command.c:666 command_run_line(): in procedure 'kinetis'
Debug: 500 17613 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_shutdown
Debug: 501 17614 command.c:145 script_debug(): command - shutdown
ocd_shutdown
User : 503 17614 server.c:607 handle_shutdown_command(): shutdown
command invoked
Info : 504 17614 server.c:483 server_loop(): dropped 'telnet' connection
and with "reset init" removed:
Open On-Chip Debugger 0.9.0-dev-00349-gd4ca401 (2015-03-13-10:20)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.sourceforge.net/doc/doxygen/bugs.html
User : 13 3 command.c:546 command_print(): debug_level: 3
Debug: 14 3 options.c:98 add_default_dirs(): bindir=/usr/local/bin
Debug: 15 3 options.c:99 add_default_dirs():
pkgdatadir=/usr/local/share/openocd
Debug: 16 3 options.c:100 add_default_dirs(): run_prefix=
Debug: 17 3 configuration.c:44 add_script_search_dir(): adding
/home/chris/.openocd
Debug: 18 3 configuration.c:44 add_script_search_dir(): adding
/usr/local/share/openocd/site
Debug: 19 3 configuration.c:44 add_script_search_dir(): adding
/usr/local/share/openocd/scripts
Debug: 20 3 configuration.c:84 find_file(): found openocd.cfg
Debug: 21 3 configuration.c:84 find_file(): found
/usr/local/share/openocd/scripts/interface/cmsis-dap.cfg
Debug: 22 3 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_interface cmsis-dap
Debug: 23 3 command.c:145 script_debug(): command - interface
ocd_interface cmsis-dap
Debug: 25 3 command.c:366 register_command_handler(): registering
'ocd_cmsis-dap'...
Debug: 26 3 command.c:366 register_command_handler(): registering
'ocd_cmsis_dap_vid_pid'...
Debug: 27 3 command.c:366 register_command_handler(): registering
'ocd_cmsis_dap_serial'...
Info : 28 3 transport.c:118 allow_transports(): only one transport
option; autoselect 'swd'
Debug: 29 3 command.c:325 command_new(): BUG: command 'swd' does not
have the '.usage' field filled out
Debug: 30 3 command.c:366 register_command_handler(): registering
'ocd_swd'...
Debug: 31 3 command.c:366 register_command_handler(): registering
'ocd_swd'...
Debug: 32 3 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_reset_config srst_only
Debug: 33 3 command.c:145 script_debug(): command - reset_config
ocd_reset_config srst_only
User : 35 3 command.c:546 command_print(): srst_only separate
srst_gates_jtag srst_open_drain connect_deassert_srst
Debug: 36 3 configuration.c:84 find_file(): found
/usr/local/share/openocd/scripts/target/kx.cfg
Debug: 37 4 configuration.c:84 find_file(): found
/usr/local/share/openocd/scripts/target/swj-dp.tcl
Debug: 38 4 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_transport select
Debug: 39 4 command.c:145 script_debug(): command - ocd_transport
ocd_transport select
Debug: 40 4 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_transport select
Debug: 41 4 command.c:145 script_debug(): command - ocd_transport
ocd_transport select
Debug: 42 4 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_transport select
Debug: 43 4 command.c:145 script_debug(): command - ocd_transport
ocd_transport select
Debug: 44 4 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_transport select
Debug: 45 4 command.c:145 script_debug(): command - ocd_transport
ocd_transport select
Debug: 46 4 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_transport select
Debug: 47 4 command.c:145 script_debug(): command - ocd_transport
ocd_transport select
Debug: 48 4 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_swd newdap MK10DN32VFM5 cpu -irlen 4 -ircapture 0x1
-irmask 0xf -expected-id 0x2ba01477
Debug: 49 4 command.c:145 script_debug(): command - ocd_swd ocd_swd
newdap MK10DN32VFM5 cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id
0x2ba01477
Debug: 50 4 tcl.c:554 jim_newtap_cmd(): Creating New Tap, Chip:
MK10DN32VFM5, Tap: cpu, Dotted: MK10DN32VFM5.cpu, 8 params
Debug: 51 4 core.c:1302 jtag_tap_init(): Created Tap: MK10DN32VFM5.cpu @
abs position 0, irlen 0, capture: 0x0 mask: 0x0
Debug: 52 4 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_target create MK10DN32VFM5.cpu cortex_m
-chain-position MK10DN32VFM5.cpu
Debug: 53 4 command.c:145 script_debug(): command - ocd_target
ocd_target create MK10DN32VFM5.cpu cortex_m -chain-position MK10DN32VFM5.cpu
Debug: 54 4 target.c:1835 target_free_all_working_areas_restore():
freeing all working areas
Debug: 55 4 command.c:366 register_command_handler(): registering
'ocd_arm'...
Debug: 56 4 command.c:366 register_command_handler(): registering
'ocd_arm'...
Debug: 57 4 command.c:366 register_command_handler(): registering
'ocd_arm'...
Debug: 58 4 command.c:366 register_command_handler(): registering
'ocd_arm'...
Debug: 59 4 command.c:366 register_command_handler(): registering
'ocd_arm'...
Debug: 60 4 command.c:366 register_command_handler(): registering
'ocd_arm'...
Debug: 61 4 command.c:366 register_command_handler(): registering
'ocd_dap'...
Debug: 62 4 command.c:366 register_command_handler(): registering
'ocd_dap'...
Debug: 63 4 command.c:366 register_command_handler(): registering
'ocd_dap'...
Debug: 64 4 command.c:366 register_command_handler(): registering
'ocd_dap'...
Debug: 65 4 command.c:366 register_command_handler(): registering
'ocd_dap'...
Debug: 66 4 command.c:366 register_command_handler(): registering
'ocd_dap'...
Debug: 67 4 command.c:366 register_command_handler(): registering
'ocd_dap'...
Debug: 68 4 command.c:366 register_command_handler(): registering
'ocd_cortex_m'...
Debug: 69 4 command.c:366 register_command_handler(): registering
'ocd_cortex_m'...
Debug: 70 4 command.c:366 register_command_handler(): registering
'ocd_cortex_m'...
Debug: 71 4 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 72 4 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 73 4 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 74 4 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 75 4 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 76 4 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 77 4 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 78 4 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 79 4 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 80 4 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 81 4 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 82 4 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 83 5 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 84 5 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 85 5 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 86 5 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 87 5 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 88 5 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 89 5 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 90 5 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 91 5 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 92 5 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 93 5 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 94 5 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 95 5 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 96 5 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 97 5 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 98 5 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 99 5 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 100 5 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 101 5 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 102 5 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 103 5 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 104 5 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 105 5 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 106 5 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 107 5 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 108 5 command.c:366 register_command_handler(): registering
'ocd_MK10DN32VFM5.cpu'...
Debug: 109 5 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_MK10DN32VFM5.cpu configure -event examine-end
kinetis mdm check_security
Debug: 110 5 command.c:145 script_debug(): command -
ocd_MK10DN32VFM5.cpu ocd_MK10DN32VFM5.cpu configure -event examine-end
kinetis mdm check_security
Debug: 111 5 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_MK10DN32VFM5.cpu configure -work-area-phys
0x20000000 -work-area-size 0x4000 -work-area-backup 0
Debug: 112 5 command.c:145 script_debug(): command -
ocd_MK10DN32VFM5.cpu ocd_MK10DN32VFM5.cpu configure -work-area-phys
0x20000000 -work-area-size 0x4000 -work-area-backup 0
Debug: 113 5 target.c:1835 target_free_all_working_areas_restore():
freeing all working areas
Debug: 114 5 target.c:1835 target_free_all_working_areas_restore():
freeing all working areas
Debug: 115 5 target.c:1835 target_free_all_working_areas_restore():
freeing all working areas
Debug: 116 5 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_flash bank MK10DN32VFM5.flash kinetis 0 0 0 0
MK10DN32VFM5.cpu
Debug: 117 5 command.c:145 script_debug(): command - ocd_flash ocd_flash
bank MK10DN32VFM5.flash kinetis 0 0 0 0 MK10DN32VFM5.cpu
Debug: 119 5 command.c:366 register_command_handler(): registering
'ocd_kinetis'...
Debug: 120 5 command.c:366 register_command_handler(): registering
'ocd_kinetis'...
Debug: 121 5 command.c:366 register_command_handler(): registering
'ocd_kinetis'...
Debug: 122 5 command.c:366 register_command_handler(): registering
'ocd_kinetis'...
Info : 123 5 kinetis.c:491 kinetis_flash_bank_command(): add flash_bank
kinetis MK10DN32VFM5.flash
Debug: 124 5 tcl.c:824 handle_flash_bank_command(): 'kinetis' driver
usage field missing
Debug: 125 5 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_adapter_khz 1000
Debug: 126 5 command.c:145 script_debug(): command - adapter_khz
ocd_adapter_khz 1000
Debug: 128 5 core.c:1629 jtag_config_khz(): handle jtag khz
Debug: 129 5 core.c:1596 adapter_khz_to_speed(): convert khz to
interface specific speed value
Debug: 130 5 core.c:1596 adapter_khz_to_speed(): convert khz to
interface specific speed value
User : 131 5 command.c:546 command_print(): adapter speed: 1000 kHz
Debug: 132 5 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_reset_config srst_nogate
Debug: 133 5 command.c:145 script_debug(): command - reset_config
ocd_reset_config srst_nogate
User : 135 5 command.c:546 command_print(): srst_only separate
srst_nogate srst_open_drain connect_deassert_srst
Debug: 136 5 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_transport select
Debug: 137 5 command.c:145 script_debug(): command - ocd_transport
ocd_transport select
Debug: 138 5 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_cortex_m reset_config sysresetreq
Debug: 139 5 command.c:145 script_debug(): command - ocd_cortex_m
ocd_cortex_m reset_config sysresetreq
User : 141 5 command.c:546 command_print(): cortex_m reset_config
sysresetreq
Debug: 142 5 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_reset_config srst_only srst_nogate connect_assert_srst
Debug: 143 5 command.c:145 script_debug(): command - reset_config
ocd_reset_config srst_only srst_nogate connect_assert_srst
User : 145 5 command.c:546 command_print(): srst_only separate
srst_nogate srst_open_drain connect_assert_srst
Debug: 146 5 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_init
Debug: 147 5 command.c:145 script_debug(): command - init ocd_init
Debug: 149 6 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_target init
Debug: 150 6 command.c:145 script_debug(): command - ocd_target
ocd_target init
Debug: 152 6 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_target names
Debug: 153 6 command.c:145 script_debug(): command - ocd_target
ocd_target names
Debug: 154 6 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_MK10DN32VFM5.cpu cget -event gdb-flash-erase-start
Debug: 155 6 command.c:145 script_debug(): command -
ocd_MK10DN32VFM5.cpu ocd_MK10DN32VFM5.cpu cget -event gdb-flash-erase-start
Debug: 156 6 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_MK10DN32VFM5.cpu configure -event
gdb-flash-erase-start reset init
Debug: 157 6 command.c:145 script_debug(): command -
ocd_MK10DN32VFM5.cpu ocd_MK10DN32VFM5.cpu configure -event
gdb-flash-erase-start reset init
Debug: 158 6 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_MK10DN32VFM5.cpu cget -event gdb-flash-write-end
Debug: 159 6 command.c:145 script_debug(): command -
ocd_MK10DN32VFM5.cpu ocd_MK10DN32VFM5.cpu cget -event gdb-flash-write-end
Debug: 160 6 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_MK10DN32VFM5.cpu configure -event
gdb-flash-write-end reset halt
Debug: 161 6 command.c:145 script_debug(): command -
ocd_MK10DN32VFM5.cpu ocd_MK10DN32VFM5.cpu configure -event
gdb-flash-write-end reset halt
Debug: 162 6 target.c:1311 handle_target_init_command(): Initializing
targets...
Debug: 163 6 command.c:366 register_command_handler(): registering
'ocd_target_request'...
Debug: 164 6 command.c:366 register_command_handler(): registering
'ocd_trace'...
Debug: 165 6 command.c:366 register_command_handler(): registering
'ocd_trace'...
Debug: 166 6 command.c:366 register_command_handler(): registering
'ocd_fast_load_image'...
Debug: 167 6 command.c:366 register_command_handler(): registering
'ocd_fast_load'...
Debug: 168 6 command.c:366 register_command_handler(): registering
'ocd_profile'...
Debug: 169 6 command.c:366 register_command_handler(): registering
'ocd_virt2phys'...
Debug: 170 6 command.c:366 register_command_handler(): registering
'ocd_reg'...
Debug: 171 6 command.c:366 register_command_handler(): registering
'ocd_poll'...
Debug: 172 6 command.c:366 register_command_handler(): registering
'ocd_wait_halt'...
Debug: 173 6 command.c:366 register_command_handler(): registering
'ocd_halt'...
Debug: 174 6 command.c:366 register_command_handler(): registering
'ocd_resume'...
Debug: 175 6 command.c:366 register_command_handler(): registering
'ocd_reset'...
Debug: 176 6 command.c:366 register_command_handler(): registering
'ocd_soft_reset_halt'...
Debug: 177 6 command.c:366 register_command_handler(): registering
'ocd_step'...
Debug: 178 6 command.c:366 register_command_handler(): registering
'ocd_mdw'...
Debug: 179 6 command.c:366 register_command_handler(): registering
'ocd_mdh'...
Debug: 180 6 command.c:366 register_command_handler(): registering
'ocd_mdb'...
Debug: 181 6 command.c:366 register_command_handler(): registering
'ocd_mww'...
Debug: 182 6 command.c:366 register_command_handler(): registering
'ocd_mwh'...
Debug: 183 6 command.c:366 register_command_handler(): registering
'ocd_mwb'...
Debug: 184 6 command.c:366 register_command_handler(): registering
'ocd_bp'...
Debug: 185 6 command.c:366 register_command_handler(): registering
'ocd_rbp'...
Debug: 186 6 command.c:366 register_command_handler(): registering
'ocd_wp'...
Debug: 187 6 command.c:366 register_command_handler(): registering
'ocd_rwp'...
Debug: 188 6 command.c:366 register_command_handler(): registering
'ocd_load_image'...
Debug: 189 6 command.c:366 register_command_handler(): registering
'ocd_dump_image'...
Debug: 190 6 command.c:366 register_command_handler(): registering
'ocd_verify_image'...
Debug: 191 6 command.c:366 register_command_handler(): registering
'ocd_test_image'...
Debug: 192 6 command.c:366 register_command_handler(): registering
'ocd_reset_nag'...
Debug: 193 6 command.c:366 register_command_handler(): registering
'ocd_ps'...
Debug: 194 6 command.c:366 register_command_handler(): registering
'ocd_test_mem_access'...
Info : 195 10 cmsis_dap_usb.c:683 cmsis_dap_get_caps_info(): CMSIS-DAP:
SWD Supported
Info : 196 11 cmsis_dap_usb.c:784 cmsis_dap_swd_open(): CMSIS-DAP:
Interface Initialised (SWD)
Info : 197 12 cmsis_dap_usb.c:663 cmsis_dap_get_version_info():
CMSIS-DAP: FW Version = 1.0
Debug: 198 13 cmsis_dap_usb.c:856 cmsis_dap_init(): CMSIS-DAP: Packet
Size = 64
Debug: 199 14 cmsis_dap_usb.c:867 cmsis_dap_init(): CMSIS-DAP: Packet
Count = 32
Info : 200 15 cmsis_dap_usb.c:704 cmsis_dap_get_status(): SWCLK/TCK = 0
SWDIO/TMS = 1 TDI = 0 TDO = 0 nTRST = 0 nRESET = 1
Info : 201 20 cmsis_dap_usb.c:904 cmsis_dap_init(): Connecting under reset
Info : 202 21 cmsis_dap_usb.c:910 cmsis_dap_init(): CMSIS-DAP: Interface
ready
Debug: 203 21 core.c:1596 adapter_khz_to_speed(): convert khz to
interface specific speed value
Debug: 204 21 core.c:1599 adapter_khz_to_speed(): have interface set up
Debug: 205 22 core.c:1596 adapter_khz_to_speed(): convert khz to
interface specific speed value
Debug: 206 22 core.c:1599 adapter_khz_to_speed(): have interface set up
Info : 207 22 core.c:1384 adapter_init(): clock speed 1000 kHz
Debug: 208 22 openocd.c:137 handle_init_command(): Debug Adapter init
complete
Debug: 209 22 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_transport init
Debug: 210 22 command.c:145 script_debug(): command - ocd_transport
ocd_transport init
Debug: 212 22 transport.c:240 handle_transport_init(): handle_transport_init
Debug: 213 23 cmsis_dap_usb.c:731 cmsis_dap_swd_switch_seq(): JTAG-to-SWD
Debug: 214 25 cmsis_dap_usb.c:522 cmsis_dap_swd_run_queue(): Executing 2
queued transactions
Debug: 215 25 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read reg 0 0
Debug: 216 25 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP write
reg 0 1e
Debug: 217 27 cmsis_dap_usb.c:600 cmsis_dap_swd_run_queue(): Read
result: 2ba01477
Info : 218 27 adi_v5_swd.c:125 swd_connect(): SWD IDCODE 0x2ba01477
Debug: 219 27 openocd.c:150 handle_init_command(): Examining targets...
Debug: 220 27 target.c:1463 target_call_event_callbacks(): target event
21 (examine-start)
Debug: 221 27 arm_adi_v5.c:647 ahbap_debugport_init():
Debug: 222 27 arm_adi_v5.c:688 ahbap_debugport_init(): DAP: wait
CDBGPWRUPACK
Debug: 223 27 arm_adi_v5.h:391 dap_dp_poll_register(): DAP: poll 4, mask
0x0820000000, value 0x20000000
Debug: 224 27 cmsis_dap_usb.c:522 cmsis_dap_swd_run_queue(): Executing 5
queued transactions
Debug: 225 27 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read reg 4 0
Debug: 226 27 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP write
reg 4 20
Debug: 227 27 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read reg 4 0
Debug: 228 27 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP write
reg 4 50000000
Debug: 229 27 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read reg 4 0
Debug: 230 29 cmsis_dap_usb.c:600 cmsis_dap_swd_run_queue(): Read result: 40
Debug: 231 29 cmsis_dap_usb.c:600 cmsis_dap_swd_run_queue(): Read result: 40
Debug: 232 29 cmsis_dap_usb.c:600 cmsis_dap_swd_run_queue(): Read
result: f0000040
Debug: 233 29 arm_adi_v5.c:695 ahbap_debugport_init(): DAP: wait
CSYSPWRUPACK
Debug: 234 29 arm_adi_v5.h:391 dap_dp_poll_register(): DAP: poll 4, mask
0x0880000000, value 0x80000000
Debug: 235 29 cmsis_dap_usb.c:522 cmsis_dap_swd_run_queue(): Executing 1
queued transactions
Debug: 236 29 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read reg 4 0
Debug: 237 31 cmsis_dap_usb.c:600 cmsis_dap_swd_run_queue(): Read
result: f0000040
Debug: 238 31 cmsis_dap_usb.c:522 cmsis_dap_swd_run_queue(): Executing
11 queued transactions
Debug: 239 31 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read reg 4 0
Debug: 240 31 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP write
reg 4 50000001
Debug: 241 31 cmsis_dap_usb.c:562 cmsis_dap_swd_run_queue(): refusing to
enable sticky overrun detection
Debug: 242 31 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read reg 4 0
Debug: 243 31 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP write
reg 8 0
Debug: 244 31 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): AP write
reg 0 a2000020
Debug: 245 31 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): AP write
reg 4 0
Debug: 246 31 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): AP read reg 0 0
Debug: 247 31 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read reg c 0
Debug: 248 31 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP write
reg 8 f0
Debug: 249 31 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): AP read reg 4 0
Debug: 250 31 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read reg c 0
Debug: 251 33 cmsis_dap_usb.c:600 cmsis_dap_swd_run_queue(): Read
result: f0000040
Debug: 252 33 cmsis_dap_usb.c:600 cmsis_dap_swd_run_queue(): Read
result: f0000040
Debug: 253 33 cmsis_dap_usb.c:600 cmsis_dap_swd_run_queue(): Read
result: 23000020
Debug: 254 33 cmsis_dap_usb.c:600 cmsis_dap_swd_run_queue(): Read
result: 23000020
Debug: 255 33 cmsis_dap_usb.c:600 cmsis_dap_swd_run_queue(): Read result: 0
Debug: 256 33 cmsis_dap_usb.c:600 cmsis_dap_swd_run_queue(): Read result: 0
Debug: 257 33 arm_adi_v5.c:744 ahbap_debugport_init(): MEM_AP Packed
Transfers: enabled
Debug: 258 33 arm_adi_v5.c:755 ahbap_debugport_init(): MEM_AP CFG: large
data 0, long address 0, big-endian 0
Debug: 259 33 cmsis_dap_usb.c:522 cmsis_dap_swd_run_queue(): Executing 5
queued transactions
Debug: 260 33 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP write
reg 8 0
Debug: 261 33 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): AP write
reg 4 e000ed00
Debug: 262 33 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): AP write
reg 0 a2000022
Debug: 263 33 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): AP read reg c 0
Debug: 264 33 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read reg c 0
Debug: 265 35 cmsis_dap_usb.c:583 cmsis_dap_swd_run_queue(): SWD ack not
OK: 4 FAULT
Debug: 266 36 cmsis_dap_usb.c:731 cmsis_dap_swd_switch_seq(): JTAG-to-SWD
Debug: 267 38 cmsis_dap_usb.c:522 cmsis_dap_swd_run_queue(): Executing 2
queued transactions
Debug: 268 38 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read reg 0 0
Debug: 269 38 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP write
reg 0 1e
Debug: 270 40 cmsis_dap_usb.c:600 cmsis_dap_swd_run_queue(): Read
result: 2ba01477
Info : 271 40 adi_v5_swd.c:125 swd_connect(): SWD IDCODE 0x2ba01477
Debug: 272 40 cmsis_dap_usb.c:522 cmsis_dap_swd_run_queue(): Executing 2
queued transactions
Debug: 273 40 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): AP read reg 4 0
Debug: 274 40 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read reg c 0
Debug: 275 42 cmsis_dap_usb.c:600 cmsis_dap_swd_run_queue(): Read
result: e000ed00
Debug: 276 42 cmsis_dap_usb.c:600 cmsis_dap_swd_run_queue(): Read
result: e000ed00
Error: 277 42 arm_adi_v5.c:512 mem_ap_read(): Failed to read memory at
0xe000ed00
Debug: 278 42 target.c:2181 target_read_u32(): address: 0xe000ed00 failed
Debug: 279 42 openocd.c:152 handle_init_command(): target examination failed
Debug: 280 42 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_flash init
Debug: 281 42 command.c:145 script_debug(): command - ocd_flash
ocd_flash init
Debug: 282 42 cmsis_dap_usb.c:522 cmsis_dap_swd_run_queue(): Executing 5
queued transactions
Debug: 283 42 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): AP write
reg 0 a2000002
Debug: 284 42 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): AP write
reg 4 e000edf0
Debug: 285 42 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP write
reg 8 10
Debug: 286 42 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): AP read reg 0 0
Debug: 287 42 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read reg c 0
Debug: 288 44 cmsis_dap_usb.c:583 cmsis_dap_swd_run_queue(): SWD ack not
OK: 4 FAULT
User : 289 44 target.c:2525 handle_target(): Polling target
MK10DN32VFM5.cpu failed, GDB will be halted. Polling again in 100ms
Debug: 290 44 target.c:1463 target_call_event_callbacks(): target event
0 (gdb-halt)
Debug: 292 44 tcl.c:890 handle_flash_init_command(): Initializing flash
devices...
Debug: 293 44 command.c:366 register_command_handler(): registering
'ocd_flash'...
Debug: 294 44 command.c:366 register_command_handler(): registering
'ocd_flash'...
Debug: 295 44 command.c:366 register_command_handler(): registering
'ocd_flash'...
Debug: 296 44 command.c:366 register_command_handler(): registering
'ocd_flash'...
Debug: 297 44 command.c:366 register_command_handler(): registering
'ocd_flash'...
Debug: 298 44 command.c:366 register_command_handler(): registering
'ocd_flash'...
Debug: 299 44 command.c:366 register_command_handler(): registering
'ocd_flash'...
Debug: 300 44 command.c:366 register_command_handler(): registering
'ocd_flash'...
Debug: 301 44 command.c:366 register_command_handler(): registering
'ocd_flash'...
Debug: 302 44 command.c:366 register_command_handler(): registering
'ocd_flash'...
Debug: 303 44 command.c:366 register_command_handler(): registering
'ocd_flash'...
Debug: 304 44 command.c:366 register_command_handler(): registering
'ocd_flash'...
Debug: 305 44 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_mflash init
Debug: 306 44 command.c:145 script_debug(): command - ocd_mflash
ocd_mflash init
Debug: 308 44 mflash.c:1379 handle_mflash_init_command(): Initializing
mflash devices...
Debug: 309 44 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_nand init
Debug: 310 44 command.c:145 script_debug(): command - ocd_nand ocd_nand init
Debug: 311 46 cmsis_dap_usb.c:731 cmsis_dap_swd_switch_seq(): JTAG-to-SWD
Debug: 312 48 cmsis_dap_usb.c:522 cmsis_dap_swd_run_queue(): Executing 2
queued transactions
Debug: 313 48 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read reg 0 0
Debug: 314 48 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP write
reg 0 1e
Debug: 315 50 cmsis_dap_usb.c:600 cmsis_dap_swd_run_queue(): Read
result: 2ba01477
Info : 316 50 adi_v5_swd.c:125 swd_connect(): SWD IDCODE 0x2ba01477
Debug: 317 50 cmsis_dap_usb.c:522 cmsis_dap_swd_run_queue(): Executing 2
queued transactions
Debug: 318 50 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): AP read reg 0 0
Debug: 319 50 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read reg c 0
Debug: 320 52 cmsis_dap_usb.c:583 cmsis_dap_swd_run_queue(): SWD ack not
OK: 1 FAULT
User : 321 52 target.c:2525 handle_target(): Polling target
MK10DN32VFM5.cpu failed, GDB will be halted. Polling again in 300ms
Debug: 322 52 target.c:1463 target_call_event_callbacks(): target event
0 (gdb-halt)
Debug: 324 52 tcl.c:497 handle_nand_init_command(): Initializing NAND
devices...
Debug: 325 52 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_pld init
Debug: 326 52 command.c:145 script_debug(): command - ocd_pld ocd_pld init
Debug: 328 52 pld.c:207 handle_pld_init_command(): Initializing PLDs...
Debug: 329 52 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_init
Debug: 330 52 command.c:145 script_debug(): command - init ocd_init
Debug: 332 254 cmsis_dap_usb.c:731 cmsis_dap_swd_switch_seq(): JTAG-to-SWD
Debug: 333 256 cmsis_dap_usb.c:522 cmsis_dap_swd_run_queue(): Executing
2 queued transactions
Debug: 334 256 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read
reg 0 0
Debug: 335 256 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP write
reg 0 1e
Debug: 336 258 cmsis_dap_usb.c:600 cmsis_dap_swd_run_queue(): Read
result: 2ba01477
Info : 337 258 adi_v5_swd.c:125 swd_connect(): SWD IDCODE 0x2ba01477
Debug: 338 258 cmsis_dap_usb.c:522 cmsis_dap_swd_run_queue(): Executing
2 queued transactions
Debug: 339 258 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): AP read
reg 0 0
Debug: 340 258 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read
reg c 0
Debug: 341 260 cmsis_dap_usb.c:583 cmsis_dap_swd_run_queue(): SWD ack
not OK: 1 FAULT
User : 342 260 target.c:2525 handle_target(): Polling target
MK10DN32VFM5.cpu failed, GDB will be halted. Polling again in 700ms
Debug: 343 260 target.c:1463 target_call_event_callbacks(): target event
0 (gdb-halt)
Debug: 344 1063 cmsis_dap_usb.c:731 cmsis_dap_swd_switch_seq(): JTAG-to-SWD
Debug: 345 1065 cmsis_dap_usb.c:522 cmsis_dap_swd_run_queue(): Executing
2 queued transactions
Debug: 346 1065 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read
reg 0 0
Debug: 347 1065 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP write
reg 0 1e
Debug: 348 1067 cmsis_dap_usb.c:583 cmsis_dap_swd_run_queue(): SWD ack
not OK: 0 JUNK
User : 349 1067 target.c:2525 handle_target(): Polling target
MK10DN32VFM5.cpu failed, GDB will be halted. Polling again in 1500ms
Debug: 350 1067 target.c:1463 target_call_event_callbacks(): target
event 0 (gdb-halt)
Debug: 351 2671 cmsis_dap_usb.c:731 cmsis_dap_swd_switch_seq(): JTAG-to-SWD
Debug: 352 2673 cmsis_dap_usb.c:522 cmsis_dap_swd_run_queue(): Executing
2 queued transactions
Debug: 353 2673 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read
reg 0 0
Debug: 354 2673 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP write
reg 0 1e
Debug: 355 2675 cmsis_dap_usb.c:583 cmsis_dap_swd_run_queue(): SWD ack
not OK: 0 JUNK
User : 356 2675 target.c:2525 handle_target(): Polling target
MK10DN32VFM5.cpu failed, GDB will be halted. Polling again in 3100ms
Debug: 357 2675 target.c:1463 target_call_event_callbacks(): target
event 0 (gdb-halt)
Info : 358 3446 server.c:90 add_connection(): accepting 'telnet'
connection on tcp/4444
Debug: 359 5510 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_poll
Debug: 360 5510 command.c:145 script_debug(): command - poll ocd_poll
User : 362 5510 command.c:546 command_print(): background polling: on
User : 363 5510 command.c:546 command_print(): TAP: MK10DN32VFM5.cpu
(enabled)
Debug: 364 5512 cmsis_dap_usb.c:731 cmsis_dap_swd_switch_seq(): JTAG-to-SWD
Debug: 365 5514 cmsis_dap_usb.c:522 cmsis_dap_swd_run_queue(): Executing
2 queued transactions
Debug: 366 5514 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read
reg 0 0
Debug: 367 5514 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP write
reg 0 1e
Debug: 368 5516 cmsis_dap_usb.c:583 cmsis_dap_swd_run_queue(): SWD ack
not OK: 0 JUNK
Debug: 369 5516 command.c:628 run_command(): Command failed with error
code -4
User : 370 5516 command.c:666 command_run_line(): in procedure 'poll'
Debug: 371 6018 cmsis_dap_usb.c:731 cmsis_dap_swd_switch_seq(): JTAG-to-SWD
Debug: 372 6020 cmsis_dap_usb.c:522 cmsis_dap_swd_run_queue(): Executing
2 queued transactions
Debug: 373 6020 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read
reg 0 0
Debug: 374 6020 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP write
reg 0 1e
Debug: 375 6022 cmsis_dap_usb.c:583 cmsis_dap_swd_run_queue(): SWD ack
not OK: 0 JUNK
User : 376 6022 target.c:2525 handle_target(): Polling target
MK10DN32VFM5.cpu failed, GDB will be halted. Polling again in 6300ms
Debug: 377 6022 target.c:1463 target_call_event_callbacks(): target
event 0 (gdb-halt)
Debug: 378 13118 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_kinetis mdm mass_erase
Debug: 379 13118 command.c:145 script_debug(): command - ocd_kinetis
ocd_kinetis mdm mass_erase
Debug: 381 13120 core.c:644 swd_add_reset(): SRST line asserted
Debug: 382 13120 kinetis.c:235 kinetis_mdm_write_register():
MDM_REG[0x04] <- 00000008
Debug: 383 13121 cmsis_dap_usb.c:731 cmsis_dap_swd_switch_seq(): JTAG-to-SWD
Debug: 384 13123 cmsis_dap_usb.c:522 cmsis_dap_swd_run_queue():
Executing 2 queued transactions
Debug: 385 13123 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read
reg 0 0
Debug: 386 13123 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP write
reg 0 1e
Debug: 387 13124 cmsis_dap_usb.c:600 cmsis_dap_swd_run_queue(): Read
result: 2ba01477
Info : 388 13125 adi_v5_swd.c:125 swd_connect(): SWD IDCODE 0x2ba01477
Debug: 389 13125 cmsis_dap_usb.c:522 cmsis_dap_swd_run_queue():
Executing 2 queued transactions
Debug: 390 13125 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP write
reg 8 1000000
Debug: 391 13125 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): AP write
reg 4 8
Debug: 392 13127 cmsis_dap_usb.c:583 cmsis_dap_swd_run_queue(): SWD ack
not OK: 2 FAULT
Debug: 393 13127 kinetis.c:245 kinetis_mdm_write_register(): MDM:
dap_run failed
Debug: 394 13127 command.c:628 run_command(): Command failed with error
code -4
User : 395 13127 command.c:666 command_run_line(): in procedure 'kinetis'
Debug: 396 13228 cmsis_dap_usb.c:731 cmsis_dap_swd_switch_seq(): JTAG-to-SWD
Debug: 397 13230 cmsis_dap_usb.c:522 cmsis_dap_swd_run_queue():
Executing 2 queued transactions
Debug: 398 13230 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read
reg 0 0
Debug: 399 13230 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP write
reg 0 1e
Debug: 400 13232 cmsis_dap_usb.c:600 cmsis_dap_swd_run_queue(): Read
result: 2ba01477
Info : 401 13232 adi_v5_swd.c:125 swd_connect(): SWD IDCODE 0x2ba01477
Debug: 402 13232 cmsis_dap_usb.c:522 cmsis_dap_swd_run_queue():
Executing 5 queued transactions
Debug: 403 13232 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): AP write
reg 0 a2000002
Debug: 404 13232 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): AP write
reg 4 e000edf0
Debug: 405 13232 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP write
reg 8 1000010
Debug: 406 13232 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): AP read
reg 0 0
Debug: 407 13232 cmsis_dap_usb.c:545 cmsis_dap_swd_run_queue(): DP read
reg c 0
Debug: 408 13234 cmsis_dap_usb.c:583 cmsis_dap_swd_run_queue(): SWD ack
not OK: 1 FAULT
User : 409 13234 target.c:2525 handle_target(): Polling target
MK10DN32VFM5.cpu failed, GDB will be halted. Polling again in 6300ms
Debug: 410 13234 target.c:1463 target_call_event_callbacks(): target
event 0 (gdb-halt)
Debug: 411 17798 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_shutdown
Debug: 412 17798 command.c:145 script_debug(): command - shutdown
ocd_shutdown
User : 414 17798 server.c:607 handle_shutdown_command(): shutdown
command invoked
Info : 415 17799 server.c:483 server_loop(): dropped 'telnet' connection
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel