$ openocd -d3 -f interface/cmsis-dap.cfg -f target/ke0x.cfg -c "init" -c
"reset halt" -c "flash banks"
Open On-Chip Debugger 0.10.0+dev-00173-g496fcfd (2017-09-25-11:01)
Licensed under GNU GPL v2
For bug reports, read
    http://openocd.org/doc/doxygen/bugs.html
User : 13 2 command.c:544 command_print(): debug_level: 3
Debug: 14 3 options.c:181 add_default_dirs(): bindir=/usr/local/bin
Debug: 15 3 options.c:182 add_default_dirs():
pkgdatadir=/usr/local/share/openocd
Debug: 16 3 options.c:183 add_default_dirs(): exepath=/usr/local/bin
Debug: 17 3 options.c:184 add_default_dirs(): bin2data=../share/openocd
Debug: 18 3 configuration.c:42 add_script_search_dir(): adding
/home/miller/.openocd
Debug: 19 3 configuration.c:42 add_script_search_dir(): adding
/usr/local/bin/../share/openocd/site
Debug: 20 3 configuration.c:42 add_script_search_dir(): adding
/usr/local/bin/../share/openocd/scripts
Debug: 21 3 configuration.c:82 find_file(): found
/usr/local/bin/../share/openocd/scripts/interface/cmsis-dap.cfg
Debug: 22 3 command.c:143 script_debug(): command - ocd_command ocd_command
type ocd_interface cmsis-dap
Debug: 23 3 command.c:143 script_debug(): command - interface ocd_interface
cmsis-dap
Debug: 25 3 command.c:364 register_command_handler(): registering
'ocd_cmsis-dap'...
Debug: 26 3 command.c:364 register_command_handler(): registering
'ocd_cmsis_dap_vid_pid'...
Debug: 27 3 command.c:364 register_command_handler(): registering
'ocd_cmsis_dap_serial'...
Debug: 28 3 configuration.c:82 find_file(): found
/usr/local/bin/../share/openocd/scripts/target/ke0x.cfg
Debug: 29 3 configuration.c:82 find_file(): found
/usr/local/bin/../share/openocd/scripts/target/swj-dp.tcl
Debug: 30 3 command.c:143 script_debug(): command - ocd_command ocd_command
type ocd_transport select
Debug: 31 3 command.c:143 script_debug(): command - ocd_transport
ocd_transport select
Info : 32 3 transport.c:286 jim_transport_select(): auto-selecting first
available session transport "swd". To override use 'transport select
<transport>'.
Debug: 33 3 command.c:323 command_new(): BUG: command 'swd' does not have
the '.usage' field filled out
Debug: 34 3 command.c:364 register_command_handler(): registering
'ocd_swd'...
Debug: 35 3 command.c:143 script_debug(): command - ocd_command ocd_command
type ocd_transport select
Debug: 36 4 command.c:143 script_debug(): command - ocd_transport
ocd_transport select
Debug: 37 4 command.c:143 script_debug(): command - ocd_command ocd_command
type ocd_transport select
Debug: 38 4 command.c:143 script_debug(): command - ocd_transport
ocd_transport select
Debug: 39 4 command.c:143 script_debug(): command - ocd_command ocd_command
type ocd_transport select
Debug: 40 4 command.c:143 script_debug(): command - ocd_transport
ocd_transport select
Debug: 41 4 command.c:143 script_debug(): command - ocd_command ocd_command
type ocd_swd newdap ke cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id
0x0bc11477
Debug: 42 4 command.c:143 script_debug(): command - ocd_swd ocd_swd newdap
ke cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x0bc11477
Debug: 43 4 tcl.c:549 jim_newtap_cmd(): Creating New Tap, Chip: ke, Tap:
cpu, Dotted: ke.cpu, 8 params
Debug: 44 4 core.c:1304 jtag_tap_init(): Created Tap: ke.cpu @ abs position
0, irlen 0, capture: 0x0 mask: 0x0
Debug: 45 4 command.c:143 script_debug(): command - ocd_command ocd_command
type ocd_target create ke.cpu cortex_m -chain-position ke.cpu
Debug: 46 4 command.c:143 script_debug(): command - ocd_target ocd_target
create ke.cpu cortex_m -chain-position ke.cpu
Debug: 47 4 target.c:1920 target_free_all_working_areas_restore(): freeing
all working areas
Debug: 48 4 command.c:364 register_command_handler(): registering
'ocd_arm'...
Debug: 49 4 command.c:364 register_command_handler(): registering
'ocd_arm'...
Debug: 50 4 command.c:364 register_command_handler(): registering
'ocd_arm'...
Debug: 51 4 command.c:364 register_command_handler(): registering
'ocd_arm'...
Debug: 52 4 command.c:364 register_command_handler(): registering
'ocd_arm'...
Debug: 53 4 command.c:364 register_command_handler(): registering
'ocd_arm'...
Debug: 54 4 command.c:364 register_command_handler(): registering
'ocd_arm'...
Debug: 55 4 command.c:364 register_command_handler(): registering
'ocd_dap'...
Debug: 56 4 command.c:364 register_command_handler(): registering
'ocd_dap'...
Debug: 57 4 command.c:364 register_command_handler(): registering
'ocd_dap'...
Debug: 58 4 command.c:364 register_command_handler(): registering
'ocd_dap'...
Debug: 59 4 command.c:364 register_command_handler(): registering
'ocd_dap'...
Debug: 60 4 command.c:364 register_command_handler(): registering
'ocd_dap'...
Debug: 61 4 command.c:364 register_command_handler(): registering
'ocd_dap'...
Debug: 62 4 command.c:364 register_command_handler(): registering
'ocd_dap'...
Debug: 63 4 command.c:364 register_command_handler(): registering
'ocd_tpiu'...
Debug: 64 4 command.c:364 register_command_handler(): registering
'ocd_itm'...
Debug: 65 4 command.c:364 register_command_handler(): registering
'ocd_itm'...
Debug: 66 4 command.c:364 register_command_handler(): registering
'ocd_cortex_m'...
Debug: 67 4 command.c:364 register_command_handler(): registering
'ocd_cortex_m'...
Debug: 68 4 command.c:364 register_command_handler(): registering
'ocd_cortex_m'...
Debug: 69 5 command.c:364 register_command_handler(): registering
'ocd_ke.cpu'...
Debug: 70 5 command.c:364 register_command_handler(): registering
'ocd_ke.cpu'...
Debug: 71 5 command.c:364 register_command_handler(): registering
'ocd_ke.cpu'...
Debug: 72 5 command.c:364 register_command_handler(): registering
'ocd_ke.cpu'...
Debug: 73 5 command.c:364 register_command_handler(): registering
'ocd_ke.cpu'...
Debug: 74 5 command.c:364 register_command_handler(): registering
'ocd_ke.cpu'...
Debug: 75 5 command.c:364 register_command_handler(): registering
'ocd_ke.cpu'...
Debug: 76 5 command.c:364 register_command_handler(): registering
'ocd_ke.cpu'...
Debug: 77 5 command.c:364 register_command_handler(): registering
'ocd_ke.cpu'...
Debug: 78 5 command.c:364 register_command_handler(): registering
'ocd_ke.cpu'...
Debug: 79 5 command.c:364 register_command_handler(): registering
'ocd_ke.cpu'...
Debug: 80 5 command.c:364 register_command_handler(): registering
'ocd_ke.cpu'...
Debug: 81 5 command.c:364 register_command_handler(): registering
'ocd_ke.cpu'...
Debug: 82 5 command.c:364 register_command_handler(): registering
'ocd_ke.cpu'...
Debug: 83 5 command.c:364 register_command_handler(): registering
'ocd_ke.cpu'...
Debug: 84 5 command.c:364 register_command_handler(): registering
'ocd_ke.cpu'...
Debug: 85 5 command.c:364 register_command_handler(): registering
'ocd_ke.cpu'...
Debug: 86 5 command.c:364 register_command_handler(): registering
'ocd_ke.cpu'...
Debug: 87 5 command.c:364 register_command_handler(): registering
'ocd_ke.cpu'...
Debug: 88 5 command.c:364 register_command_handler(): registering
'ocd_ke.cpu'...
Debug: 89 5 command.c:364 register_command_handler(): registering
'ocd_ke.cpu'...
Debug: 90 5 command.c:364 register_command_handler(): registering
'ocd_ke.cpu'...
Debug: 91 5 command.c:364 register_command_handler(): registering
'ocd_ke.cpu'...
Debug: 92 5 command.c:364 register_command_handler(): registering
'ocd_ke.cpu'...
Debug: 93 5 command.c:364 register_command_handler(): registering
'ocd_ke.cpu'...
Debug: 94 5 command.c:364 register_command_handler(): registering
'ocd_ke.cpu'...
Debug: 95 5 command.c:364 register_command_handler(): registering
'ocd_ke.cpu'...
Debug: 96 5 command.c:364 register_command_handler(): registering
'ocd_ke.cpu'...
Debug: 97 5 command.c:364 register_command_handler(): registering
'ocd_ke.cpu'...
Debug: 98 5 command.c:364 register_command_handler(): registering
'ocd_ke.cpu'...
Debug: 99 5 command.c:364 register_command_handler(): registering
'ocd_ke.cpu'...
Debug: 100 5 command.c:364 register_command_handler(): registering
'ocd_ke.cpu'...
Debug: 101 5 command.c:364 register_command_handler(): registering
'ocd_ke.cpu'...
Debug: 102 5 command.c:364 register_command_handler(): registering
'ocd_ke.cpu'...
Debug: 103 5 command.c:364 register_command_handler(): registering
'ocd_ke.cpu'...
Debug: 104 5 command.c:364 register_command_handler(): registering
'ocd_ke.cpu'...
Debug: 105 5 command.c:364 register_command_handler(): registering
'ocd_ke.cpu'...
Debug: 106 5 command.c:364 register_command_handler(): registering
'ocd_ke.cpu'...
Debug: 107 5 command.c:364 register_command_handler(): registering
'ocd_ke.cpu'...
Debug: 108 5 command.c:364 register_command_handler(): registering
'ocd_ke.cpu'...
Debug: 109 5 command.c:364 register_command_handler(): registering
'ocd_ke.cpu'...
Debug: 110 5 command.c:364 register_command_handler(): registering
'ocd_ke.cpu'...
Debug: 111 5 command.c:364 register_command_handler(): registering
'ocd_ke.cpu'...
Debug: 112 5 command.c:364 register_command_handler(): registering
'ocd_ke.cpu'...
Debug: 113 5 command.c:364 register_command_handler(): registering
'ocd_ke.cpu'...
Debug: 114 5 command.c:364 register_command_handler(): registering
'ocd_ke.cpu'...
Debug: 115 5 command.c:364 register_command_handler(): registering
'ocd_ke.cpu'...
Debug: 116 5 command.c:143 script_debug(): command - ocd_command
ocd_command type ocd_ke.cpu configure -work-area-phys 0x20000000
-work-area-size 0x400 -work-area-backup 0
Debug: 117 5 command.c:143 script_debug(): command - ocd_ke.cpu ocd_ke.cpu
configure -work-area-phys 0x20000000 -work-area-size 0x400
-work-area-backup 0
Debug: 118 5 target.c:1920 target_free_all_working_areas_restore(): freeing
all working areas
Debug: 119 5 target.c:1920 target_free_all_working_areas_restore(): freeing
all working areas
Debug: 120 5 target.c:1920 target_free_all_working_areas_restore(): freeing
all working areas
Debug: 121 5 command.c:143 script_debug(): command - ocd_command
ocd_command type ocd_flash bank ke.flash kinetis_ke 0 0 0 0 ke.cpu
Debug: 122 5 command.c:143 script_debug(): command - ocd_flash ocd_flash
bank ke.flash kinetis_ke 0 0 0 0 ke.cpu
Debug: 124 5 command.c:364 register_command_handler(): registering
'ocd_kinetis_ke'...
Debug: 125 6 command.c:364 register_command_handler(): registering
'ocd_kinetis_ke'...
Debug: 126 6 command.c:364 register_command_handler(): registering
'ocd_kinetis_ke'...
Debug: 127 6 command.c:364 register_command_handler(): registering
'ocd_kinetis_ke'...
Debug: 128 6 command.c:364 register_command_handler(): registering
'ocd_kinetis_ke'...
Info : 129 6 kinetis_ke.c:669 kinetis_ke_flash_bank_command(): add
flash_bank kinetis_ke ke.flash
Debug: 130 6 tcl.c:1100 handle_flash_bank_command(): 'kinetis_ke' driver
usage field missing
Debug: 131 6 command.c:143 script_debug(): command - ocd_command
ocd_command type ocd_adapter_khz 1000
Debug: 132 6 command.c:143 script_debug(): command - adapter_khz
ocd_adapter_khz 1000
Debug: 134 6 core.c:1631 jtag_config_khz(): handle jtag khz
Debug: 135 6 core.c:1598 adapter_khz_to_speed(): convert khz to interface
specific speed value
Debug: 136 6 core.c:1598 adapter_khz_to_speed(): convert khz to interface
specific speed value
User : 137 6 command.c:544 command_print(): adapter speed: 1000 kHz
Debug: 138 6 command.c:143 script_debug(): command - ocd_command
ocd_command type ocd_reset_config srst_nogate
Debug: 139 6 command.c:143 script_debug(): command - reset_config
ocd_reset_config srst_nogate
User : 141 6 command.c:544 command_print(): none separate
Debug: 142 6 command.c:143 script_debug(): command - ocd_command
ocd_command type ocd_transport select
Debug: 143 6 command.c:143 script_debug(): command - ocd_transport
ocd_transport select
Debug: 144 6 command.c:143 script_debug(): command - ocd_command
ocd_command type ocd_ke.cpu configure -event examine-end
      kinetis_ke mdm check_security

Debug: 145 6 command.c:143 script_debug(): command - ocd_ke.cpu ocd_ke.cpu
configure -event examine-end
      kinetis_ke mdm check_security

Debug: 146 6 command.c:143 script_debug(): command - ocd_command
ocd_command type ocd_cortex_m reset_config sysresetreq
Debug: 147 6 command.c:143 script_debug(): command - ocd_cortex_m
ocd_cortex_m reset_config sysresetreq
User : 149 6 command.c:544 command_print(): cortex_m reset_config
sysresetreq
Debug: 150 6 command.c:143 script_debug(): command - ocd_command
ocd_command type ocd_init
Debug: 151 6 command.c:143 script_debug(): command - init ocd_init
Debug: 153 6 command.c:143 script_debug(): command - ocd_command
ocd_command type ocd_target init
Debug: 154 6 command.c:143 script_debug(): command - ocd_target ocd_target
init
Debug: 156 6 command.c:143 script_debug(): command - ocd_command
ocd_command type ocd_target names
Debug: 157 6 command.c:143 script_debug(): command - ocd_target ocd_target
names
Debug: 158 6 command.c:143 script_debug(): command - ocd_command
ocd_command type ocd_ke.cpu cget -event gdb-flash-erase-start
Debug: 159 6 command.c:143 script_debug(): command - ocd_ke.cpu ocd_ke.cpu
cget -event gdb-flash-erase-start
Debug: 160 6 command.c:143 script_debug(): command - ocd_command
ocd_command type ocd_ke.cpu configure -event gdb-flash-erase-start reset
init
Debug: 161 6 command.c:143 script_debug(): command - ocd_ke.cpu ocd_ke.cpu
configure -event gdb-flash-erase-start reset init
Debug: 162 6 command.c:143 script_debug(): command - ocd_command
ocd_command type ocd_ke.cpu cget -event gdb-flash-write-end
Debug: 163 6 command.c:143 script_debug(): command - ocd_ke.cpu ocd_ke.cpu
cget -event gdb-flash-write-end
Debug: 164 6 command.c:143 script_debug(): command - ocd_command
ocd_command type ocd_ke.cpu configure -event gdb-flash-write-end reset halt
Debug: 165 6 command.c:143 script_debug(): command - ocd_ke.cpu ocd_ke.cpu
configure -event gdb-flash-write-end reset halt
Debug: 166 7 target.c:1329 handle_target_init_command(): Initializing
targets...
Debug: 167 7 command.c:364 register_command_handler(): registering
'ocd_target_request'...
Debug: 168 7 command.c:364 register_command_handler(): registering
'ocd_trace'...
Debug: 169 7 command.c:364 register_command_handler(): registering
'ocd_trace'...
Debug: 170 7 command.c:364 register_command_handler(): registering
'ocd_fast_load_image'...
Debug: 171 7 command.c:364 register_command_handler(): registering
'ocd_fast_load'...
Debug: 172 7 command.c:364 register_command_handler(): registering
'ocd_profile'...
Debug: 173 7 command.c:364 register_command_handler(): registering
'ocd_virt2phys'...
Debug: 174 7 command.c:364 register_command_handler(): registering
'ocd_reg'...
Debug: 175 7 command.c:364 register_command_handler(): registering
'ocd_poll'...
Debug: 176 7 command.c:364 register_command_handler(): registering
'ocd_wait_halt'...
Debug: 177 7 command.c:364 register_command_handler(): registering
'ocd_halt'...
Debug: 178 7 command.c:364 register_command_handler(): registering
'ocd_resume'...
Debug: 179 7 command.c:364 register_command_handler(): registering
'ocd_reset'...
Debug: 180 7 command.c:364 register_command_handler(): registering
'ocd_soft_reset_halt'...
Debug: 181 7 command.c:364 register_command_handler(): registering
'ocd_step'...
Debug: 182 7 command.c:364 register_command_handler(): registering
'ocd_mdd'...
Debug: 183 7 command.c:364 register_command_handler(): registering
'ocd_mdw'...
Debug: 184 7 command.c:364 register_command_handler(): registering
'ocd_mdh'...
Debug: 185 7 command.c:364 register_command_handler(): registering
'ocd_mdb'...
Debug: 186 7 command.c:364 register_command_handler(): registering
'ocd_mwd'...
Debug: 187 7 command.c:364 register_command_handler(): registering
'ocd_mww'...
Debug: 188 7 command.c:364 register_command_handler(): registering
'ocd_mwh'...
Debug: 189 7 command.c:364 register_command_handler(): registering
'ocd_mwb'...
Debug: 190 7 command.c:364 register_command_handler(): registering
'ocd_bp'...
Debug: 191 7 command.c:364 register_command_handler(): registering
'ocd_rbp'...
Debug: 192 7 command.c:364 register_command_handler(): registering
'ocd_wp'...
Debug: 193 7 command.c:364 register_command_handler(): registering
'ocd_rwp'...
Debug: 194 7 command.c:364 register_command_handler(): registering
'ocd_load_image'...
Debug: 195 7 command.c:364 register_command_handler(): registering
'ocd_dump_image'...
Debug: 196 7 command.c:364 register_command_handler(): registering
'ocd_verify_image_checksum'...
Debug: 197 7 command.c:364 register_command_handler(): registering
'ocd_verify_image'...
Debug: 198 7 command.c:364 register_command_handler(): registering
'ocd_test_image'...
Debug: 199 7 command.c:364 register_command_handler(): registering
'ocd_reset_nag'...
Debug: 200 7 command.c:364 register_command_handler(): registering
'ocd_ps'...
Debug: 201 7 command.c:364 register_command_handler(): registering
'ocd_test_mem_access'...
Info : 202 70 cmsis_dap_usb.c:760 cmsis_dap_get_caps_info(): CMSIS-DAP:
SWD  Supported
Info : 203 70 cmsis_dap_usb.c:762 cmsis_dap_get_caps_info(): CMSIS-DAP:
JTAG Supported
Info : 204 72 cmsis_dap_usb.c:859 cmsis_dap_swd_open(): CMSIS-DAP:
Interface Initialised (SWD)
Info : 205 74 cmsis_dap_usb.c:740 cmsis_dap_get_version_info(): CMSIS-DAP:
FW Version = 1.0
Debug: 206 76 cmsis_dap_usb.c:931 cmsis_dap_init(): CMSIS-DAP: Packet Size
= 64
Debug: 207 78 cmsis_dap_usb.c:942 cmsis_dap_init(): CMSIS-DAP: Packet Count
= 8
Info : 208 80 cmsis_dap_usb.c:781 cmsis_dap_get_status(): SWCLK/TCK = 1
SWDIO/TMS = 1 TDI = 1 TDO = 1 nTRST = 0 nRESET = 1
Info : 209 90 cmsis_dap_usb.c:985 cmsis_dap_init(): CMSIS-DAP: Interface
ready
Debug: 210 90 core.c:1598 adapter_khz_to_speed(): convert khz to interface
specific speed value
Debug: 211 90 core.c:1601 adapter_khz_to_speed(): have interface set up
Debug: 212 92 core.c:1598 adapter_khz_to_speed(): convert khz to interface
specific speed value
Debug: 213 92 core.c:1601 adapter_khz_to_speed(): have interface set up
Info : 214 92 core.c:1386 adapter_init(): clock speed 1000 kHz
Debug: 215 92 openocd.c:140 handle_init_command(): Debug Adapter init
complete
Debug: 216 92 command.c:143 script_debug(): command - ocd_command
ocd_command type ocd_transport init
Debug: 217 92 command.c:143 script_debug(): command - ocd_transport
ocd_transport init
Debug: 219 92 transport.c:239 handle_transport_init(): handle_transport_init
Debug: 220 96 cmsis_dap_usb.c:810 cmsis_dap_swd_switch_seq(): JTAG-to-SWD
Info : 221 102 adi_v5_swd.c:137 swd_connect(): SWD DPIDR 0x0bc11477
Debug: 222 102 openocd.c:153 handle_init_command(): Examining targets...
Debug: 223 102 target.c:1522 target_call_event_callbacks(): target event 21
(examine-start)
Debug: 224 102 arm_adi_v5.c:603 dap_dp_init():
Debug: 225 104 arm_adi_v5.c:637 dap_dp_init(): DAP: wait CDBGPWRUPACK
Debug: 226 104 arm_adi_v5.h:428 dap_dp_poll_register(): DAP: poll 4, mask
0x20000000, value 0x20000000
Debug: 227 106 arm_adi_v5.c:644 dap_dp_init(): DAP: wait CSYSPWRUPACK
Debug: 228 106 arm_adi_v5.h:428 dap_dp_poll_register(): DAP: poll 4, mask
0x80000000, value 0x80000000
Debug: 229 108 cmsis_dap_usb.c:639 cmsis_dap_swd_run_queue(): refusing to
enable sticky overrun detection
Debug: 230 112 arm_adi_v5.c:785 dap_find_ap(): Found AHB-AP at AP index: 0
(IDR=0x04770031)
Debug: 231 114 arm_adi_v5.c:712 mem_ap_init(): MEM_AP Packed Transfers:
disabled
Debug: 232 114 arm_adi_v5.c:723 mem_ap_init(): MEM_AP CFG: large data 0,
long address 0, big-endian 0
Debug: 233 116 target.c:2262 target_read_u32(): address: 0xe000ed00, value:
0x410cc600
Debug: 234 116 cortex_m.c:1947 cortex_m_examine(): Cortex-M0 r0p0 processor
detected
Debug: 235 116 cortex_m.c:1955 cortex_m_examine(): cpuid: 0x410cc600
Debug: 236 116 target.c:2350 target_write_u32(): address: 0xe000edfc,
value: 0x01000000
Debug: 237 120 target.c:2262 target_read_u32(): address: 0xe0002000, value:
0x00000021
Debug: 238 120 target.c:2350 target_write_u32(): address: 0xe0002008,
value: 0x00000000
Debug: 239 122 target.c:2350 target_write_u32(): address: 0xe000200c,
value: 0x00000000
Debug: 240 124 cortex_m.c:2046 cortex_m_examine(): FPB fpcr 0x21, numcode
2, numlit 0
Debug: 241 126 target.c:2262 target_read_u32(): address: 0xe0001000, value:
0x20000000
Debug: 242 126 target.c:2350 target_write_u32(): address: 0xe0001028,
value: 0x00000000
Debug: 243 128 target.c:2350 target_write_u32(): address: 0xe0001038,
value: 0x00000000
Debug: 244 130 cortex_m.c:1857 cortex_m_dwt_setup(): DWT dwtcr 0x20000000,
comp 2, watch/trigger
Info : 245 130 cortex_m.c:2056 cortex_m_examine(): ke.cpu: hardware has 2
breakpoints, 2 watchpoints
Debug: 246 130 target.c:1522 target_call_event_callbacks(): target event 22
(examine-end)
Debug: 247 130 target.c:4429 target_handle_event(): target: (0) ke.cpu
(cortex_m) event: 22 (examine-end) action:
      kinetis_ke mdm check_security

Debug: 248 130 command.c:143 script_debug(): command - ocd_command
ocd_command type ocd_kinetis_ke mdm check_security
Debug: 249 130 command.c:143 script_debug(): command - ocd_kinetis_ke
ocd_kinetis_ke mdm check_security
Debug: 251 134 kinetis_ke.c:182 kinetis_ke_mdm_read_register():
MDM_REG[0xfc]: 001C0020
Debug: 252 136 kinetis_ke.c:182 kinetis_ke_mdm_read_register():
MDM_REG[0x00]: 0001000A
Debug: 253 138 kinetis_ke.c:182 kinetis_ke_mdm_read_register():
MDM_REG[0x00]: 0001000A
Info : 254 138 kinetis_ke.c:650 kinetis_ke_check_flash_security_status():
MDM: Chip is unsecured. Continuing.
Debug: 255 138 command.c:143 script_debug(): command - ocd_command
ocd_command type ocd_flash init
Debug: 256 138 command.c:143 script_debug(): command - ocd_flash ocd_flash
init
Debug: 258 140 tcl.c:1166 handle_flash_init_command(): Initializing flash
devices...
Debug: 259 140 command.c:364 register_command_handler(): registering
'ocd_flash'...
Debug: 260 140 command.c:364 register_command_handler(): registering
'ocd_flash'...
Debug: 261 140 command.c:364 register_command_handler(): registering
'ocd_flash'...
Debug: 262 140 command.c:364 register_command_handler(): registering
'ocd_flash'...
Debug: 263 140 command.c:364 register_command_handler(): registering
'ocd_flash'...
Debug: 264 140 command.c:364 register_command_handler(): registering
'ocd_flash'...
Debug: 265 140 command.c:364 register_command_handler(): registering
'ocd_flash'...
Debug: 266 140 command.c:364 register_command_handler(): registering
'ocd_flash'...
Debug: 267 140 command.c:364 register_command_handler(): registering
'ocd_flash'...
Debug: 268 140 command.c:364 register_command_handler(): registering
'ocd_flash'...
Debug: 269 140 command.c:364 register_command_handler(): registering
'ocd_flash'...
Debug: 270 140 command.c:364 register_command_handler(): registering
'ocd_flash'...
Debug: 271 140 command.c:364 register_command_handler(): registering
'ocd_flash'...
Debug: 272 140 command.c:364 register_command_handler(): registering
'ocd_flash'...
Debug: 273 140 command.c:143 script_debug(): command - ocd_command
ocd_command type ocd_mflash init
Debug: 274 140 command.c:143 script_debug(): command - ocd_mflash
ocd_mflash init
Debug: 276 142 mflash.c:1377 handle_mflash_init_command(): Initializing
mflash devices...
Debug: 277 142 command.c:143 script_debug(): command - ocd_command
ocd_command type ocd_nand init
Debug: 278 142 command.c:143 script_debug(): command - ocd_nand ocd_nand
init
Debug: 280 144 tcl.c:497 handle_nand_init_command(): Initializing NAND
devices...
Debug: 281 144 command.c:143 script_debug(): command - ocd_command
ocd_command type ocd_pld init
Debug: 282 144 command.c:143 script_debug(): command - ocd_pld ocd_pld init
Debug: 284 146 pld.c:205 handle_pld_init_command(): Initializing PLDs...
Debug: 285 146 command.c:143 script_debug(): command - ocd_command
ocd_command type ocd_reset halt
Debug: 286 146 command.c:143 script_debug(): command - reset ocd_reset halt
Debug: 288 148 target.c:1540 target_call_reset_callbacks(): target reset 2
(halt)
Debug: 289 148 command.c:143 script_debug(): command - ocd_command
ocd_command type ocd_target names
Debug: 290 148 command.c:143 script_debug(): command - ocd_target
ocd_target names
Debug: 291 148 command.c:143 script_debug(): command - ocd_command
ocd_command type ocd_ke.cpu invoke-event reset-start
Debug: 292 149 command.c:143 script_debug(): command - ocd_ke.cpu
ocd_ke.cpu invoke-event reset-start
Debug: 293 149 command.c:143 script_debug(): command - ocd_command
ocd_command type ocd_transport select
Debug: 294 149 command.c:143 script_debug(): command - ocd_transport
ocd_transport select
Debug: 295 149 command.c:143 script_debug(): command - ocd_command
ocd_command type ocd_transport select
Debug: 296 149 command.c:143 script_debug(): command - ocd_transport
ocd_transport select
Debug: 297 149 command.c:143 script_debug(): command - ocd_command
ocd_command type ocd_ke.cpu invoke-event examine-start
Debug: 298 149 command.c:143 script_debug(): command - ocd_ke.cpu
ocd_ke.cpu invoke-event examine-start
Debug: 299 149 command.c:143 script_debug(): command - ocd_command
ocd_command type ocd_ke.cpu arp_examine allow-defer
Debug: 300 149 command.c:143 script_debug(): command - ocd_ke.cpu
ocd_ke.cpu arp_examine allow-defer
Debug: 301 149 arm_adi_v5.c:603 dap_dp_init():
Debug: 302 151 arm_adi_v5.c:637 dap_dp_init(): DAP: wait CDBGPWRUPACK
Debug: 303 151 arm_adi_v5.h:428 dap_dp_poll_register(): DAP: poll 4, mask
0x20000000, value 0x20000000
Debug: 304 153 arm_adi_v5.c:644 dap_dp_init(): DAP: wait CSYSPWRUPACK
Debug: 305 153 arm_adi_v5.h:428 dap_dp_poll_register(): DAP: poll 4, mask
0x80000000, value 0x80000000
Debug: 306 155 cmsis_dap_usb.c:639 cmsis_dap_swd_run_queue(): refusing to
enable sticky overrun detection
Debug: 307 159 arm_adi_v5.c:785 dap_find_ap(): Found AHB-AP at AP index: 0
(IDR=0x04770031)
Debug: 308 161 arm_adi_v5.c:712 mem_ap_init(): MEM_AP Packed Transfers:
disabled
Debug: 309 161 arm_adi_v5.c:723 mem_ap_init(): MEM_AP CFG: large data 0,
long address 0, big-endian 0
Debug: 310 161 command.c:143 script_debug(): command - ocd_command
ocd_command type ocd_ke.cpu invoke-event examine-end
Debug: 311 161 command.c:143 script_debug(): command - ocd_ke.cpu
ocd_ke.cpu invoke-event examine-end
Debug: 312 161 target.c:4429 target_handle_event(): target: (0) ke.cpu
(cortex_m) event: 22 (examine-end) action:
      kinetis_ke mdm check_security

Debug: 313 161 command.c:143 script_debug(): command - ocd_command
ocd_command type ocd_kinetis_ke mdm check_security
Debug: 314 161 command.c:143 script_debug(): command - ocd_kinetis_ke
ocd_kinetis_ke mdm check_security
Debug: 316 163 kinetis_ke.c:182 kinetis_ke_mdm_read_register():
MDM_REG[0xfc]: 001C0020
Debug: 317 165 kinetis_ke.c:182 kinetis_ke_mdm_read_register():
MDM_REG[0x00]: 0001000A
Debug: 318 167 kinetis_ke.c:182 kinetis_ke_mdm_read_register():
MDM_REG[0x00]: 0001000A
Info : 319 167 kinetis_ke.c:650 kinetis_ke_check_flash_security_status():
MDM: Chip is unsecured. Continuing.
Debug: 320 167 command.c:143 script_debug(): command - ocd_command
ocd_command type ocd_ke.cpu invoke-event reset-assert-pre
Debug: 321 167 command.c:143 script_debug(): command - ocd_ke.cpu
ocd_ke.cpu invoke-event reset-assert-pre
Debug: 322 167 command.c:143 script_debug(): command - ocd_command
ocd_command type ocd_transport select
Debug: 323 167 command.c:143 script_debug(): command - ocd_transport
ocd_transport select
Debug: 324 167 command.c:143 script_debug(): command - ocd_command
ocd_command type ocd_ke.cpu arp_reset assert 1
Debug: 325 167 command.c:143 script_debug(): command - ocd_ke.cpu
ocd_ke.cpu arp_reset assert 1
Debug: 326 167 target.c:1920 target_free_all_working_areas_restore():
freeing all working areas
Debug: 327 167 cortex_m.c:965 cortex_m_assert_reset(): target->state: halted
Debug: 328 171 cortex_m.c:1057 cortex_m_assert_reset(): Using Cortex-M
SYSRESETREQ
Debug: 329 173 arm_adi_v5.c:603 dap_dp_init():
Debug: 330 175 arm_adi_v5.c:637 dap_dp_init(): DAP: wait CDBGPWRUPACK
Debug: 331 175 arm_adi_v5.h:428 dap_dp_poll_register(): DAP: poll 4, mask
0x20000000, value 0x20000000
Debug: 332 177 arm_adi_v5.c:644 dap_dp_init(): DAP: wait CSYSPWRUPACK
Debug: 333 177 arm_adi_v5.h:428 dap_dp_poll_register(): DAP: poll 4, mask
0x80000000, value 0x80000000
Debug: 334 179 cmsis_dap_usb.c:639 cmsis_dap_swd_run_queue(): refusing to
enable sticky overrun detection
Debug: 335 183 cortex_m.c:583 cortex_m_halt(): target->state: reset
Debug: 336 183 command.c:143 script_debug(): command - ocd_command
ocd_command type ocd_ke.cpu invoke-event reset-assert-post
Debug: 337 183 command.c:143 script_debug(): command - ocd_ke.cpu
ocd_ke.cpu invoke-event reset-assert-post
Debug: 338 183 command.c:143 script_debug(): command - ocd_command
ocd_command type ocd_ke.cpu invoke-event reset-deassert-pre
Debug: 339 183 command.c:143 script_debug(): command - ocd_ke.cpu
ocd_ke.cpu invoke-event reset-deassert-pre
Debug: 340 183 command.c:143 script_debug(): command - ocd_command
ocd_command type ocd_transport select
Debug: 341 183 command.c:143 script_debug(): command - ocd_transport
ocd_transport select
Debug: 342 184 command.c:143 script_debug(): command - ocd_command
ocd_command type ocd_ke.cpu arp_reset deassert 1
Debug: 343 184 command.c:143 script_debug(): command - ocd_ke.cpu
ocd_ke.cpu arp_reset deassert 1
Debug: 344 184 target.c:1920 target_free_all_working_areas_restore():
freeing all working areas
Debug: 345 184 cortex_m.c:1108 cortex_m_deassert_reset(): target->state:
reset
Debug: 346 236 core.c:647 swd_add_reset(): SRST line released
Debug: 347 236 command.c:143 script_debug(): command - ocd_command
ocd_command type ocd_ke.cpu invoke-event reset-deassert-post
Debug: 348 236 command.c:143 script_debug(): command - ocd_ke.cpu
ocd_ke.cpu invoke-event reset-deassert-post
Debug: 349 236 command.c:143 script_debug(): command - ocd_command
ocd_command type ocd_transport select
Debug: 350 236 command.c:143 script_debug(): command - ocd_transport
ocd_transport select
Debug: 351 236 command.c:143 script_debug(): command - ocd_command
ocd_command type ocd_ke.cpu was_examined
Debug: 352 236 command.c:143 script_debug(): command - ocd_ke.cpu
ocd_ke.cpu was_examined
Debug: 353 237 command.c:143 script_debug(): command - ocd_command
ocd_command type ocd_ke.cpu arp_waitstate halted 1000
Debug: 354 237 command.c:143 script_debug(): command - ocd_ke.cpu
ocd_ke.cpu arp_waitstate halted 1000
Debug: 355 238 target.c:2905 target_wait_state(): waiting for target
halted...
Debug: 356 240 cortex_m.c:529 cortex_m_poll(): Exit from reset with
dcb_dhcsr 0x30003
Debug: 357 242 cortex_m.c:233 cortex_m_endreset_event(): DCB_DEMCR =
0x01000401
Debug: 358 246 target.c:2350 target_write_u32(): address: 0xe0002000,
value: 0x00000003
Debug: 359 250 target.c:2262 target_read_u32(): address: 0xe0002000, value:
0x00000021
Debug: 360 250 target.c:2350 target_write_u32(): address: 0xe0002008,
value: 0x00000000
Debug: 361 252 target.c:2350 target_write_u32(): address: 0xe000200c,
value: 0x00000000
Debug: 362 254 target.c:2350 target_write_u32(): address: 0xe0001020,
value: 0x00000000
Debug: 363 256 target.c:2350 target_write_u32(): address: 0xe0001024,
value: 0x00000000
Debug: 364 258 target.c:2350 target_write_u32(): address: 0xe0001028,
value: 0x00000000
Debug: 365 260 target.c:2350 target_write_u32(): address: 0xe0001030,
value: 0x00000000
Debug: 366 262 target.c:2350 target_write_u32(): address: 0xe0001034,
value: 0x00000000
Debug: 367 264 target.c:2350 target_write_u32(): address: 0xe0001038,
value: 0x00000000
Debug: 368 268 cortex_m.c:413 cortex_m_debug_entry():
Debug: 369 274 cortex_m.c:162 cortex_m_clear_halt():  NVIC_DFSR 0x9
Debug: 370 278 cortex_m.c:1515 cortex_m_load_core_reg_u32(): load from core
reg 0  value 0x16000000
Debug: 371 280 cortex_m.c:1515 cortex_m_load_core_reg_u32(): load from core
reg 1  value 0x800000
Debug: 372 282 cortex_m.c:1515 cortex_m_load_core_reg_u32(): load from core
reg 2  value 0x8000000
Debug: 373 284 cortex_m.c:1515 cortex_m_load_core_reg_u32(): load from core
reg 3  value 0x2480000
Debug: 374 286 cortex_m.c:1515 cortex_m_load_core_reg_u32(): load from core
reg 4  value 0xe012004
Debug: 375 288 cortex_m.c:1515 cortex_m_load_core_reg_u32(): load from core
reg 5  value 0x1c80000
Debug: 376 290 cortex_m.c:1515 cortex_m_load_core_reg_u32(): load from core
reg 6  value 0x10004800
Debug: 377 292 cortex_m.c:1515 cortex_m_load_core_reg_u32(): load from core
reg 7  value 0x28020800
Debug: 378 294 cortex_m.c:1515 cortex_m_load_core_reg_u32(): load from core
reg 8  value 0x42100040
Debug: 379 296 cortex_m.c:1515 cortex_m_load_core_reg_u32(): load from core
reg 9  value 0x2001400
Debug: 380 298 cortex_m.c:1515 cortex_m_load_core_reg_u32(): load from core
reg 10  value 0x84200000
Debug: 381 300 cortex_m.c:1515 cortex_m_load_core_reg_u32(): load from core
reg 11  value 0xc41000
Debug: 382 302 cortex_m.c:1515 cortex_m_load_core_reg_u32(): load from core
reg 12  value 0x600808
Debug: 383 304 cortex_m.c:1515 cortex_m_load_core_reg_u32(): load from core
reg 13  value 0xfffffffc
Debug: 384 306 cortex_m.c:1515 cortex_m_load_core_reg_u32(): load from core
reg 14  value 0xfffffff9
Debug: 385 308 cortex_m.c:1515 cortex_m_load_core_reg_u32(): load from core
reg 15  value 0xfffffffe
Debug: 386 310 cortex_m.c:1515 cortex_m_load_core_reg_u32(): load from core
reg 16  value 0x1000000
Debug: 387 312 cortex_m.c:1515 cortex_m_load_core_reg_u32(): load from core
reg 17  value 0xfffffffc
Debug: 388 314 cortex_m.c:1515 cortex_m_load_core_reg_u32(): load from core
reg 18  value 0x4008200
Debug: 389 316 cortex_m.c:1569 cortex_m_load_core_reg_u32(): load from
special reg 19 value 0x0
Debug: 390 318 cortex_m.c:1569 cortex_m_load_core_reg_u32(): load from
special reg 20 value 0x0
Debug: 391 320 cortex_m.c:1569 cortex_m_load_core_reg_u32(): load from
special reg 21 value 0x0
Debug: 392 322 cortex_m.c:1569 cortex_m_load_core_reg_u32(): load from
special reg 22 value 0x0
Debug: 393 322 cortex_m.c:473 cortex_m_debug_entry(): entered debug state
in core mode: Thread at PC 0xfffffffe, target->state: halted
Debug: 394 322 target.c:1522 target_call_event_callbacks(): target event 0
(gdb-halt)
Debug: 395 322 target.c:1522 target_call_event_callbacks(): target event 1
(halted)
User : 396 322 armv7m.c:556 armv7m_arch_state(): target halted due to
debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0xfffffffe msp: 0xfffffffc
Debug: 397 322 command.c:143 script_debug(): command - ocd_command
ocd_command type ocd_ke.cpu curstate
Debug: 398 322 command.c:143 script_debug(): command - ocd_ke.cpu
ocd_ke.cpu curstate
Debug: 399 322 command.c:143 script_debug(): command - ocd_command
ocd_command type ocd_ke.cpu invoke-event reset-end
Debug: 400 322 command.c:143 script_debug(): command - ocd_ke.cpu
ocd_ke.cpu invoke-event reset-end
Debug: 401 324 command.c:143 script_debug(): command - ocd_command
ocd_command type ocd_flash banks
Debug: 402 324 command.c:143 script_debug(): command - ocd_flash ocd_flash
banks
User : 404 326 tcl.c:1117 handle_flash_banks_command(): #0 : ke.flash
(kinetis_ke) at 0x00000000, size 0x00000000, buswidth 0, chipwidth 0
Debug: 405 326 command.c:143 script_debug(): command - ocd_command
ocd_command type ocd_init
Debug: 406 326 command.c:143 script_debug(): command - init ocd_init


On Mon, Sep 25, 2017 at 12:26 PM, Tomas Vanek <[email protected]
> wrote:

> On 25.09.2017 20:40, David 'Miller' Lowe wrote:
>
>> I have replaced KEAZ128 my processor and am stepping more lightly now (as
>> trying to flash with GDB caused the chip to brick last time).
>>
>> Should the 'flash banks' command reply accurately?  It replies size=0 but
>> should be 0x20000
>>
>> Miller
>>
>
> Please send -d3 log.
>
> Tomas
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to