The log is normal for a blank kinetis device.
You've configured reset correctly. Just continue.
So either issue 'reset init' command to see target halted
or start programming by 'program your_shiny_fw.elf'

On 04.12.2017 15:59, [email protected] wrote:
Hello Tom,

Forgot to mail the list, sorry.

Yes I did, here is the result of -d3

regards,

Mark.

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

Debug: 165 6 command.c:143 script_debug(): command - ocd_kx.cpu ocd_kx.cpu 
configure -event reset-init
    kinetis disable_wdog

Debug: 166 6 command.c:143 script_debug(): command - ocd_command ocd_command 
type ocd_reset_config srst_only
Debug: 167 6 command.c:143 script_debug(): command - reset_config 
ocd_reset_config srst_only
User : 169 6 command.c:544 command_print(): srst_only separate srst_nogate 
srst_open_drain connect_deassert_srst
Debug: 170 6 command.c:143 script_debug(): command - ocd_command ocd_command 
type ocd_init
Debug: 171 6 command.c:143 script_debug(): command - init ocd_init
Debug: 173 6 command.c:143 script_debug(): command - ocd_command ocd_command 
type ocd_target init
Debug: 174 6 command.c:143 script_debug(): command - ocd_target ocd_target init
Debug: 176 6 command.c:143 script_debug(): command - ocd_command ocd_command 
type ocd_target names
Debug: 177 6 command.c:143 script_debug(): command - ocd_target ocd_target names
Debug: 178 6 command.c:143 script_debug(): command - ocd_command ocd_command 
type ocd_kx.cpu cget -event gdb-flash-erase-start
Debug: 179 6 command.c:143 script_debug(): command - ocd_kx.cpu ocd_kx.cpu cget 
-event gdb-flash-erase-start
Debug: 180 6 command.c:143 script_debug(): command - ocd_command ocd_command 
type ocd_kx.cpu configure -event gdb-flash-erase-start reset init
Debug: 181 6 command.c:143 script_debug(): command - ocd_kx.cpu ocd_kx.cpu 
configure -event gdb-flash-erase-start reset init
Debug: 182 6 command.c:143 script_debug(): command - ocd_command ocd_command 
type ocd_kx.cpu cget -event gdb-flash-write-end
Debug: 183 6 command.c:143 script_debug(): command - ocd_kx.cpu ocd_kx.cpu cget 
-event gdb-flash-write-end
Debug: 184 6 command.c:143 script_debug(): command - ocd_command ocd_command 
type ocd_kx.cpu configure -event gdb-flash-write-end reset halt
Debug: 185 6 command.c:143 script_debug(): command - ocd_kx.cpu ocd_kx.cpu 
configure -event gdb-flash-write-end reset halt
Debug: 186 6 target.c:1329 handle_target_init_command(): Initializing targets...
Debug: 187 6 command.c:364 register_command_handler(): registering 
'ocd_target_request'...
Debug: 188 6 command.c:364 register_command_handler(): registering 
'ocd_trace'...
Debug: 189 6 command.c:364 register_command_handler(): registering 
'ocd_trace'...
Debug: 190 6 command.c:364 register_command_handler(): registering 
'ocd_fast_load_image'...
Debug: 191 6 command.c:364 register_command_handler(): registering 
'ocd_fast_load'...
Debug: 192 6 command.c:364 register_command_handler(): registering 
'ocd_profile'...
Debug: 193 7 command.c:364 register_command_handler(): registering 
'ocd_virt2phys'...
Debug: 194 7 command.c:364 register_command_handler(): registering 'ocd_reg'...
Debug: 195 7 command.c:364 register_command_handler(): registering 'ocd_poll'...
Debug: 196 7 command.c:364 register_command_handler(): registering 
'ocd_wait_halt'...
Debug: 197 7 command.c:364 register_command_handler(): registering 'ocd_halt'...
Debug: 198 7 command.c:364 register_command_handler(): registering 
'ocd_resume'...
Debug: 199 7 command.c:364 register_command_handler(): registering 
'ocd_reset'...
Debug: 200 7 command.c:364 register_command_handler(): registering 
'ocd_soft_reset_halt'...
Debug: 201 7 command.c:364 register_command_handler(): registering 'ocd_step'...
Debug: 202 7 command.c:364 register_command_handler(): registering 'ocd_mdd'...
Debug: 203 7 command.c:364 register_command_handler(): registering 'ocd_mdw'...
Debug: 204 7 command.c:364 register_command_handler(): registering 'ocd_mdh'...
Debug: 205 7 command.c:364 register_command_handler(): registering 'ocd_mdb'...
Debug: 206 7 command.c:364 register_command_handler(): registering 'ocd_mwd'...
Debug: 207 7 command.c:364 register_command_handler(): registering 'ocd_mww'...
Debug: 208 7 command.c:364 register_command_handler(): registering 'ocd_mwh'...
Debug: 209 7 command.c:364 register_command_handler(): registering 'ocd_mwb'...
Debug: 210 7 command.c:364 register_command_handler(): registering 'ocd_bp'...
Debug: 211 7 command.c:364 register_command_handler(): registering 'ocd_rbp'...
Debug: 212 7 command.c:364 register_command_handler(): registering 'ocd_wp'...
Debug: 213 7 command.c:364 register_command_handler(): registering 'ocd_rwp'...
Debug: 214 7 command.c:364 register_command_handler(): registering 
'ocd_load_image'...
Debug: 215 7 command.c:364 register_command_handler(): registering 
'ocd_dump_image'...
Debug: 216 7 command.c:364 register_command_handler(): registering 
'ocd_verify_image_checksum'...
Debug: 217 7 command.c:364 register_command_handler(): registering 
'ocd_verify_image'...
Debug: 218 7 command.c:364 register_command_handler(): registering 
'ocd_test_image'...
Debug: 219 7 command.c:364 register_command_handler(): registering 
'ocd_reset_nag'...
Debug: 220 7 command.c:364 register_command_handler(): registering 'ocd_ps'...
Debug: 221 7 command.c:364 register_command_handler(): registering 
'ocd_test_mem_access'...
Info : 222 62 cmsis_dap_usb.c:760 cmsis_dap_get_caps_info(): CMSIS-DAP: SWD  
Supported
Info : 223 65 cmsis_dap_usb.c:859 cmsis_dap_swd_open(): CMSIS-DAP: Interface 
Initialised (SWD)
Info : 224 68 cmsis_dap_usb.c:740 cmsis_dap_get_version_info(): CMSIS-DAP: FW 
Version = 1.0
Debug: 225 71 cmsis_dap_usb.c:931 cmsis_dap_init(): CMSIS-DAP: Packet Size = 64
Debug: 226 74 cmsis_dap_usb.c:942 cmsis_dap_init(): CMSIS-DAP: Packet Count = 5
Info : 227 77 cmsis_dap_usb.c:781 cmsis_dap_get_status(): SWCLK/TCK = 0 
SWDIO/TMS = 1 TDI = 0 TDO = 0 nTRST = 0 nRESET = 0
Info : 228 92 cmsis_dap_usb.c:985 cmsis_dap_init(): CMSIS-DAP: Interface ready
Debug: 229 92 core.c:1598 adapter_khz_to_speed(): convert khz to interface 
specific speed value
Debug: 230 92 core.c:1601 adapter_khz_to_speed(): have interface set up
Debug: 231 95 core.c:1598 adapter_khz_to_speed(): convert khz to interface 
specific speed value
Debug: 232 95 core.c:1601 adapter_khz_to_speed(): have interface set up
Info : 233 95 core.c:1386 adapter_init(): clock speed 1000 kHz
Debug: 234 95 openocd.c:140 handle_init_command(): Debug Adapter init complete
Debug: 235 95 command.c:143 script_debug(): command - ocd_command ocd_command 
type ocd_transport init
Debug: 236 95 command.c:143 script_debug(): command - ocd_transport 
ocd_transport init
Debug: 238 95 transport.c:239 handle_transport_init(): handle_transport_init
Debug: 239 101 cmsis_dap_usb.c:810 cmsis_dap_swd_switch_seq(): JTAG-to-SWD
Info : 240 110 adi_v5_swd.c:137 swd_connect(): SWD DPIDR 0x5ba02477
Debug: 241 110 openocd.c:153 handle_init_command(): Examining targets...
Debug: 242 110 target.c:1522 target_call_event_callbacks(): target event 21 
(examine-start)
Debug: 243 110 target.c:4429 target_handle_event(): target: (0) kx.cpu 
(cortex_m) event: 21 (examine-start) action:
       kinetis mdm check_security
Debug: 244 110 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_kinetis mdm check_security
Debug: 245 110 command.c:143 script_debug(): command - ocd_kinetis ocd_kinetis 
mdm check_security
Debug: 247 113 kinetis.c:438 kinetis_mdm_read_register(): MDM_REG[0xfc]: 
001C0030
Debug: 248 116 kinetis.c:438 kinetis_mdm_read_register(): MDM_REG[0x00]: 
00000034
Warn : 249 125 kinetis.c:822 kinetis_check_flash_security_status(): **** Your 
Kinetis MCU is probably locked-up in RESET/WDOG loop. ****
Warn : 250 125 kinetis.c:823 kinetis_check_flash_security_status(): **** Common 
reason is a blank flash (at least a reset vector).  ****
Warn : 251 125 kinetis.c:824 kinetis_check_flash_security_status(): **** Issue 
'kinetis mdm halt' command or if SRST is connected   ****
Warn : 252 125 kinetis.c:825 kinetis_check_flash_security_status(): **** and 
configured, use 'reset halt'                           ****
Warn : 253 125 kinetis.c:826 kinetis_check_flash_security_status(): **** If MCU 
cannot be halted, it is likely secured and running  ****
Warn : 254 125 kinetis.c:827 kinetis_check_flash_security_status(): **** in 
RESET/WDOG loop. Issue 'kinetis mdm mass_erase'         ****
Debug: 255 125 arm_adi_v5.c:609 dap_dp_init():
Debug: 256 128 arm_adi_v5.c:643 dap_dp_init(): DAP: wait CDBGPWRUPACK
Debug: 257 128 arm_adi_v5.h:428 dap_dp_poll_register(): DAP: poll 4, mask 
0x20000000, value 0x20000000
Debug: 258 131 arm_adi_v5.c:650 dap_dp_init(): DAP: wait CSYSPWRUPACK
Debug: 259 131 arm_adi_v5.h:428 dap_dp_poll_register(): DAP: poll 4, mask 
0x80000000, value 0x80000000
Debug: 260 134 cmsis_dap_usb.c:639 cmsis_dap_swd_run_queue(): refusing to 
enable sticky overrun detection
Debug: 261 140 arm_adi_v5.c:791 dap_find_ap(): Found AHB-AP at AP index: 0 
(IDR=0x64770001)
Debug: 262 143 arm_adi_v5.c:718 mem_ap_init(): MEM_AP Packed Transfers: enabled
Debug: 263 143 arm_adi_v5.c:729 mem_ap_init(): MEM_AP CFG: large data 0, long 
address 0, big-endian 0
Debug: 264 146 cmsis_dap_usb.c:660 cmsis_dap_swd_run_queue(): SWD ack not OK: 4 
FAULT
Debug: 265 152 cmsis_dap_usb.c:810 cmsis_dap_swd_switch_seq(): JTAG-to-SWD
Info : 266 161 adi_v5_swd.c:137 swd_connect(): SWD DPIDR 0x5ba02477
Error: 267 164 arm_adi_v5.c:491 mem_ap_read(): Failed to read memory at 
0xe000ed00
Debug: 268 164 target.c:2266 target_read_u32(): address: 0xe000ed00 failed
Debug: 269 164 openocd.c:155 handle_init_command(): target examination failed
Debug: 270 164 command.c:143 script_debug(): command - ocd_command ocd_command 
type ocd_flash init
Debug: 271 164 command.c:143 script_debug(): command - ocd_flash ocd_flash init
Debug: 273 164 tcl.c:1166 handle_flash_init_command(): Initializing flash 
devices...
Debug: 274 164 command.c:364 register_command_handler(): registering 
'ocd_flash'...
Debug: 275 164 command.c:364 register_command_handler(): registering 
'ocd_flash'...
Debug: 276 164 command.c:364 register_command_handler(): registering 
'ocd_flash'...
Debug: 277 164 command.c:364 register_command_handler(): registering 
'ocd_flash'...
Debug: 278 164 command.c:364 register_command_handler(): registering 
'ocd_flash'...
Debug: 279 164 command.c:364 register_command_handler(): registering 
'ocd_flash'...
Debug: 280 164 command.c:364 register_command_handler(): registering 
'ocd_flash'...
Debug: 281 164 command.c:364 register_command_handler(): registering 
'ocd_flash'...
Debug: 282 164 command.c:364 register_command_handler(): registering 
'ocd_flash'...
Debug: 283 164 command.c:364 register_command_handler(): registering 
'ocd_flash'...
Debug: 284 164 command.c:364 register_command_handler(): registering 
'ocd_flash'...
Debug: 285 164 command.c:364 register_command_handler(): registering 
'ocd_flash'...
Debug: 286 164 command.c:364 register_command_handler(): registering 
'ocd_flash'...
Debug: 287 164 command.c:364 register_command_handler(): registering 
'ocd_flash'...
Debug: 288 164 command.c:143 script_debug(): command - ocd_command ocd_command 
type ocd_mflash init
Debug: 289 164 command.c:143 script_debug(): command - ocd_mflash ocd_mflash 
init
Debug: 291 164 mflash.c:1377 handle_mflash_init_command(): Initializing mflash 
devices...
Debug: 292 164 command.c:143 script_debug(): command - ocd_command ocd_command 
type ocd_nand init
Debug: 293 164 command.c:143 script_debug(): command - ocd_nand ocd_nand init
Debug: 295 164 tcl.c:497 handle_nand_init_command(): Initializing NAND 
devices...
Debug: 296 164 command.c:143 script_debug(): command - ocd_command ocd_command 
type ocd_pld init
Debug: 297 164 command.c:143 script_debug(): command - ocd_pld ocd_pld init
Debug: 299 164 pld.c:205 handle_pld_init_command(): Initializing PLDs...
--------------------------------------------------------------------------------

Tomas Vanek <[email protected]> wrote:

        Have you tried what the warning message recommends you?
        You probably have to add -c 'reset_config srst_only'
        to OpenOCD command line and then programming should work.
        If not, attach -d3 log.

        Tom

------------------------------------------------------------------------------
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



------------------------------------------------------------------------------
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