Guest User

protected chip-erase

a guest
Mar 2nd, 2017
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.32 KB | None | 0 0
  1. Debug: 17 1 options.c:181 add_default_dirs(): bindir=/usr/local/bin
  2. Debug: 18 1 options.c:182 add_default_dirs(): pkgdatadir=/usr/local/share/openocd
  3. Debug: 19 1 options.c:183 add_default_dirs(): exepath=/usr/local/bin
  4. Debug: 20 1 options.c:184 add_default_dirs(): bin2data=../share/openocd
  5. Debug: 21 1 configuration.c:42 add_script_search_dir(): adding /Users/thomas/.openocd
  6. Debug: 22 1 configuration.c:42 add_script_search_dir(): adding /usr/local/bin/../share/openocd/site
  7. Debug: 23 1 configuration.c:42 add_script_search_dir(): adding /usr/local/bin/../share/openocd/scripts
  8. Debug: 24 2 configuration.c:82 find_file(): found /usr/local/bin/../share/openocd/scripts/interface/cmsis-dap.cfg
  9. Debug: 25 2 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_interface cmsis-dap
  10. Debug: 26 2 command.c:143 script_debug(): command - interface ocd_interface cmsis-dap
  11. Debug: 28 2 command.c:364 register_command_handler(): registering 'ocd_cmsis-dap'...
  12. Debug: 29 2 command.c:364 register_command_handler(): registering 'ocd_cmsis_dap_vid_pid'...
  13. Debug: 30 2 command.c:364 register_command_handler(): registering 'ocd_cmsis_dap_serial'...
  14. Debug: 31 2 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select swd
  15. Debug: 32 2 command.c:143 script_debug(): command - ocd_transport ocd_transport select swd
  16. Debug: 33 2 command.c:323 command_new(): BUG: command 'swd' does not have the '.usage' field filled out
  17. Debug: 34 2 command.c:364 register_command_handler(): registering 'ocd_swd'...
  18. User : 35 2 command.c:675 command_run_line(): swdUser : 36 2 command.c:677 command_run_line():
  19. Debug: 37 2 configuration.c:82 find_file(): found /usr/local/bin/../share/openocd/scripts/target/at91samdXX.cfg
  20. Debug: 38 2 configuration.c:82 find_file(): found /usr/local/bin/../share/openocd/scripts/target/swj-dp.tcl
  21. Debug: 39 3 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select
  22. Debug: 40 3 command.c:143 script_debug(): command - ocd_transport ocd_transport select
  23. Debug: 41 3 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select
  24. Debug: 42 3 command.c:143 script_debug(): command - ocd_transport ocd_transport select
  25. Debug: 43 3 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select
  26. Debug: 44 3 command.c:143 script_debug(): command - ocd_transport ocd_transport select
  27. Debug: 45 3 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select
  28. Debug: 46 3 command.c:143 script_debug(): command - ocd_transport ocd_transport select
  29. Debug: 47 3 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_swd newdap at91samd cpu -irlen 4 -expected-id 0x4ba00477
  30. Debug: 48 3 command.c:143 script_debug(): command - ocd_swd ocd_swd newdap at91samd cpu -irlen 4 -expected-id 0x4ba00477
  31. Debug: 49 3 tcl.c:549 jim_newtap_cmd(): Creating New Tap, Chip: at91samd, Tap: cpu, Dotted: at91samd.cpu, 4 params
  32. Debug: 50 3 core.c:1304 jtag_tap_init(): Created Tap: at91samd.cpu @ abs position 0, irlen 0, capture: 0x0 mask: 0x0
  33. Debug: 51 3 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_target create at91samd.cpu cortex_m -endian little -chain-position at91samd.cpu
  34. Debug: 52 3 command.c:143 script_debug(): command - ocd_target ocd_target create at91samd.cpu cortex_m -endian little -chain-position at91samd.cpu
  35. Debug: 53 3 target.c:1899 target_free_all_working_areas_restore(): freeing all working areas
  36. Debug: 54 3 command.c:364 register_command_handler(): registering 'ocd_arm'...
  37. Debug: 55 3 command.c:364 register_command_handler(): registering 'ocd_arm'...
  38. Debug: 56 3 command.c:364 register_command_handler(): registering 'ocd_arm'...
  39. Debug: 57 3 command.c:364 register_command_handler(): registering 'ocd_arm'...
  40. Debug: 58 3 command.c:364 register_command_handler(): registering 'ocd_arm'...
  41. Debug: 59 3 command.c:364 register_command_handler(): registering 'ocd_arm'...
  42. Debug: 60 3 command.c:364 register_command_handler(): registering 'ocd_arm'...
  43. Debug: 61 3 command.c:364 register_command_handler(): registering 'ocd_dap'...
  44. Debug: 62 3 command.c:364 register_command_handler(): registering 'ocd_dap'...
  45. Debug: 63 3 command.c:364 register_command_handler(): registering 'ocd_dap'...
  46. Debug: 64 3 command.c:364 register_command_handler(): registering 'ocd_dap'...
  47. Debug: 65 3 command.c:364 register_command_handler(): registering 'ocd_dap'...
  48. Debug: 66 3 command.c:364 register_command_handler(): registering 'ocd_dap'...
  49. Debug: 67 3 command.c:364 register_command_handler(): registering 'ocd_dap'...
  50. Debug: 68 3 command.c:364 register_command_handler(): registering 'ocd_dap'...
  51. Debug: 69 3 command.c:364 register_command_handler(): registering 'ocd_tpiu'...
  52. Debug: 70 3 command.c:364 register_command_handler(): registering 'ocd_itm'...
  53. Debug: 71 3 command.c:364 register_command_handler(): registering 'ocd_itm'...
  54. Debug: 72 3 command.c:364 register_command_handler(): registering 'ocd_cortex_m'...
  55. Debug: 73 3 command.c:364 register_command_handler(): registering 'ocd_cortex_m'...
  56. Debug: 74 3 command.c:364 register_command_handler(): registering 'ocd_cortex_m'...
  57. Debug: 75 3 command.c:364 register_command_handler(): registering 'ocd_at91samd.cpu'...
  58. Debug: 76 3 command.c:364 register_command_handler(): registering 'ocd_at91samd.cpu'...
  59. Debug: 77 3 command.c:364 register_command_handler(): registering 'ocd_at91samd.cpu'...
  60. Debug: 78 3 command.c:364 register_command_handler(): registering 'ocd_at91samd.cpu'...
  61. Debug: 79 3 command.c:364 register_command_handler(): registering 'ocd_at91samd.cpu'...
  62. Debug: 80 3 command.c:364 register_command_handler(): registering 'ocd_at91samd.cpu'...
  63. Debug: 81 3 command.c:364 register_command_handler(): registering 'ocd_at91samd.cpu'...
  64. Debug: 82 3 command.c:364 register_command_handler(): registering 'ocd_at91samd.cpu'...
  65. Debug: 83 3 command.c:364 register_command_handler(): registering 'ocd_at91samd.cpu'...
  66. Debug: 84 3 command.c:364 register_command_handler(): registering 'ocd_at91samd.cpu'...
  67. Debug: 85 4 command.c:364 register_command_handler(): registering 'ocd_at91samd.cpu'...
  68. Debug: 86 4 command.c:364 register_command_handler(): registering 'ocd_at91samd.cpu'...
  69. Debug: 87 4 command.c:364 register_command_handler(): registering 'ocd_at91samd.cpu'...
  70. Debug: 88 4 command.c:364 register_command_handler(): registering 'ocd_at91samd.cpu'...
  71. Debug: 89 4 command.c:364 register_command_handler(): registering 'ocd_at91samd.cpu'...
  72. Debug: 90 4 command.c:364 register_command_handler(): registering 'ocd_at91samd.cpu'...
  73. Debug: 91 4 command.c:364 register_command_handler(): registering 'ocd_at91samd.cpu'...
  74. Debug: 92 4 command.c:364 register_command_handler(): registering 'ocd_at91samd.cpu'...
  75. Debug: 93 4 command.c:364 register_command_handler(): registering 'ocd_at91samd.cpu'...
  76. Debug: 94 4 command.c:364 register_command_handler(): registering 'ocd_at91samd.cpu'...
  77. Debug: 95 4 command.c:364 register_command_handler(): registering 'ocd_at91samd.cpu'...
  78. Debug: 96 4 command.c:364 register_command_handler(): registering 'ocd_at91samd.cpu'...
  79. Debug: 97 4 command.c:364 register_command_handler(): registering 'ocd_at91samd.cpu'...
  80. Debug: 98 4 command.c:364 register_command_handler(): registering 'ocd_at91samd.cpu'...
  81. Debug: 99 4 command.c:364 register_command_handler(): registering 'ocd_at91samd.cpu'...
  82. Debug: 100 4 command.c:364 register_command_handler(): registering 'ocd_at91samd.cpu'...
  83. Debug: 101 4 command.c:364 register_command_handler(): registering 'ocd_at91samd.cpu'...
  84. Debug: 102 4 command.c:364 register_command_handler(): registering 'ocd_at91samd.cpu'...
  85. Debug: 103 4 command.c:364 register_command_handler(): registering 'ocd_at91samd.cpu'...
  86. Debug: 104 4 command.c:364 register_command_handler(): registering 'ocd_at91samd.cpu'...
  87. Debug: 105 4 command.c:364 register_command_handler(): registering 'ocd_at91samd.cpu'...
  88. Debug: 106 4 command.c:364 register_command_handler(): registering 'ocd_at91samd.cpu'...
  89. Debug: 107 4 command.c:364 register_command_handler(): registering 'ocd_at91samd.cpu'...
  90. Debug: 108 4 command.c:364 register_command_handler(): registering 'ocd_at91samd.cpu'...
  91. Debug: 109 4 command.c:364 register_command_handler(): registering 'ocd_at91samd.cpu'...
  92. Debug: 110 4 command.c:364 register_command_handler(): registering 'ocd_at91samd.cpu'...
  93. Debug: 111 4 command.c:364 register_command_handler(): registering 'ocd_at91samd.cpu'...
  94. Debug: 112 4 command.c:364 register_command_handler(): registering 'ocd_at91samd.cpu'...
  95. Debug: 113 4 command.c:364 register_command_handler(): registering 'ocd_at91samd.cpu'...
  96. Debug: 114 4 command.c:364 register_command_handler(): registering 'ocd_at91samd.cpu'...
  97. Debug: 115 4 command.c:364 register_command_handler(): registering 'ocd_at91samd.cpu'...
  98. Debug: 116 4 command.c:364 register_command_handler(): registering 'ocd_at91samd.cpu'...
  99. Debug: 117 4 command.c:364 register_command_handler(): registering 'ocd_at91samd.cpu'...
  100. Debug: 118 4 command.c:364 register_command_handler(): registering 'ocd_at91samd.cpu'...
  101. Debug: 119 4 command.c:364 register_command_handler(): registering 'ocd_at91samd.cpu'...
  102. Debug: 120 4 command.c:364 register_command_handler(): registering 'ocd_at91samd.cpu'...
  103. Debug: 121 4 command.c:364 register_command_handler(): registering 'ocd_at91samd.cpu'...
  104. Debug: 122 4 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_at91samd.cpu configure -work-area-phys 0x20000000 -work-area-size 0x800 -work-area-backup 0
  105. Debug: 123 4 command.c:143 script_debug(): command - ocd_at91samd.cpu ocd_at91samd.cpu configure -work-area-phys 0x20000000 -work-area-size 0x800 -work-area-backup 0
  106. Debug: 124 4 target.c:1899 target_free_all_working_areas_restore(): freeing all working areas
  107. Debug: 125 4 target.c:1899 target_free_all_working_areas_restore(): freeing all working areas
  108. Debug: 126 4 target.c:1899 target_free_all_working_areas_restore(): freeing all working areas
  109. Debug: 127 4 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_at91samd.cpu configure -event reset-deassert-post
  110. at91samd dsu_reset_deassert
  111.  
  112. Debug: 128 4 command.c:143 script_debug(): command - ocd_at91samd.cpu ocd_at91samd.cpu configure -event reset-deassert-post
  113. at91samd dsu_reset_deassert
  114.  
  115. Debug: 129 4 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_reset_config srst_gates_jtag
  116. Debug: 130 4 command.c:143 script_debug(): command - reset_config ocd_reset_config srst_gates_jtag
  117. User : 132 4 command.c:544 command_print(): none separate
  118. Debug: 133 4 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_adapter_khz 400
  119. Debug: 134 4 command.c:143 script_debug(): command - adapter_khz ocd_adapter_khz 400
  120. Debug: 136 4 core.c:1631 jtag_config_khz(): handle jtag khz
  121. Debug: 137 4 core.c:1598 adapter_khz_to_speed(): convert khz to interface specific speed value
  122. Debug: 138 4 core.c:1598 adapter_khz_to_speed(): convert khz to interface specific speed value
  123. User : 139 4 command.c:544 command_print(): adapter speed: 400 kHz
  124. Debug: 140 4 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select
  125. Debug: 141 4 command.c:143 script_debug(): command - ocd_transport ocd_transport select
  126. Debug: 142 4 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_cortex_m reset_config sysresetreq
  127. Debug: 143 4 command.c:143 script_debug(): command - ocd_cortex_m ocd_cortex_m reset_config sysresetreq
  128. User : 145 4 command.c:544 command_print(): cortex_m reset_config sysresetreq
  129. Debug: 146 4 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_flash bank at91samd.flash at91samd 0x00000000 0 1 1 at91samd.cpu
  130. Debug: 147 4 command.c:143 script_debug(): command - ocd_flash ocd_flash bank at91samd.flash at91samd 0x00000000 0 1 1 at91samd.cpu
  131. Debug: 149 4 command.c:323 command_new(): BUG: command 'at91samd dsu_reset_deassert' does not have the '.usage' field filled out
  132. Debug: 150 4 command.c:364 register_command_handler(): registering 'ocd_at91samd'...
  133. Debug: 151 4 command.c:323 command_new(): BUG: command 'at91samd info' does not have the '.usage' field filled out
  134. Debug: 152 4 command.c:364 register_command_handler(): registering 'ocd_at91samd'...
  135. Debug: 153 4 command.c:323 command_new(): BUG: command 'at91samd chip-erase' does not have the '.usage' field filled out
  136. Debug: 154 4 command.c:364 register_command_handler(): registering 'ocd_at91samd'...
  137. Debug: 155 4 command.c:323 command_new(): BUG: command 'at91samd set-security' does not have the '.usage' field filled out
  138. Debug: 156 4 command.c:364 register_command_handler(): registering 'ocd_at91samd'...
  139. Debug: 157 4 command.c:364 register_command_handler(): registering 'ocd_at91samd'...
  140. Debug: 158 4 command.c:364 register_command_handler(): registering 'ocd_at91samd'...
  141. Debug: 159 4 tcl.c:1033 handle_flash_bank_command(): 'at91samd' driver usage field missing
  142. Debug: 160 4 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_init
  143. Debug: 161 4 command.c:143 script_debug(): command - init ocd_init
  144. Debug: 163 4 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_target init
  145. Debug: 164 4 command.c:143 script_debug(): command - ocd_target ocd_target init
  146. Debug: 166 4 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_target names
  147. Debug: 167 4 command.c:143 script_debug(): command - ocd_target ocd_target names
  148. Debug: 168 5 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_at91samd.cpu cget -event gdb-flash-erase-start
  149. Debug: 169 5 command.c:143 script_debug(): command - ocd_at91samd.cpu ocd_at91samd.cpu cget -event gdb-flash-erase-start
  150. Debug: 170 5 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_at91samd.cpu configure -event gdb-flash-erase-start reset init
  151. Debug: 171 5 command.c:143 script_debug(): command - ocd_at91samd.cpu ocd_at91samd.cpu configure -event gdb-flash-erase-start reset init
  152. Debug: 172 5 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_at91samd.cpu cget -event gdb-flash-write-end
  153. Debug: 173 5 command.c:143 script_debug(): command - ocd_at91samd.cpu ocd_at91samd.cpu cget -event gdb-flash-write-end
  154. Debug: 174 5 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_at91samd.cpu configure -event gdb-flash-write-end reset halt
  155. Debug: 175 5 command.c:143 script_debug(): command - ocd_at91samd.cpu ocd_at91samd.cpu configure -event gdb-flash-write-end reset halt
  156. Debug: 176 5 target.c:1324 handle_target_init_command(): Initializing targets...
  157. Debug: 177 5 command.c:364 register_command_handler(): registering 'ocd_target_request'...
  158. Debug: 178 5 command.c:364 register_command_handler(): registering 'ocd_trace'...
  159. Debug: 179 5 command.c:364 register_command_handler(): registering 'ocd_trace'...
  160. Debug: 180 5 command.c:364 register_command_handler(): registering 'ocd_fast_load_image'...
  161. Debug: 181 5 command.c:364 register_command_handler(): registering 'ocd_fast_load'...
  162. Debug: 182 5 command.c:364 register_command_handler(): registering 'ocd_profile'...
  163. Debug: 183 5 command.c:364 register_command_handler(): registering 'ocd_virt2phys'...
  164. Debug: 184 5 command.c:364 register_command_handler(): registering 'ocd_reg'...
  165. Debug: 185 5 command.c:364 register_command_handler(): registering 'ocd_poll'...
  166. Debug: 186 5 command.c:364 register_command_handler(): registering 'ocd_wait_halt'...
  167. Debug: 187 5 command.c:364 register_command_handler(): registering 'ocd_halt'...
  168. Debug: 188 5 command.c:364 register_command_handler(): registering 'ocd_resume'...
  169. Debug: 189 5 command.c:364 register_command_handler(): registering 'ocd_reset'...
  170. Debug: 190 5 command.c:364 register_command_handler(): registering 'ocd_soft_reset_halt'...
  171. Debug: 191 5 command.c:364 register_command_handler(): registering 'ocd_step'...
  172. Debug: 192 5 command.c:364 register_command_handler(): registering 'ocd_mdw'...
  173. Debug: 193 5 command.c:364 register_command_handler(): registering 'ocd_mdh'...
  174. Debug: 194 5 command.c:364 register_command_handler(): registering 'ocd_mdb'...
  175. Debug: 195 5 command.c:364 register_command_handler(): registering 'ocd_mww'...
  176. Debug: 196 5 command.c:364 register_command_handler(): registering 'ocd_mwh'...
  177. Debug: 197 5 command.c:364 register_command_handler(): registering 'ocd_mwb'...
  178. Debug: 198 5 command.c:364 register_command_handler(): registering 'ocd_bp'...
  179. Debug: 199 5 command.c:364 register_command_handler(): registering 'ocd_rbp'...
  180. Debug: 200 5 command.c:364 register_command_handler(): registering 'ocd_wp'...
  181. Debug: 201 5 command.c:364 register_command_handler(): registering 'ocd_rwp'...
  182. Debug: 202 5 command.c:364 register_command_handler(): registering 'ocd_load_image'...
  183. Debug: 203 5 command.c:364 register_command_handler(): registering 'ocd_dump_image'...
  184. Debug: 204 5 command.c:364 register_command_handler(): registering 'ocd_verify_image_checksum'...
  185. Debug: 205 5 command.c:364 register_command_handler(): registering 'ocd_verify_image'...
  186. Debug: 206 5 command.c:364 register_command_handler(): registering 'ocd_test_image'...
  187. Debug: 207 5 command.c:364 register_command_handler(): registering 'ocd_reset_nag'...
  188. Debug: 208 5 command.c:364 register_command_handler(): registering 'ocd_ps'...
  189. Debug: 209 5 command.c:364 register_command_handler(): registering 'ocd_test_mem_access'...
  190. Info : 210 20 cmsis_dap_usb.c:760 cmsis_dap_get_caps_info(): CMSIS-DAP: SWD Supported
  191. Info : 211 20 cmsis_dap_usb.c:762 cmsis_dap_get_caps_info(): CMSIS-DAP: JTAG Supported
  192. Info : 212 21 cmsis_dap_usb.c:853 cmsis_dap_swd_open(): CMSIS-DAP: Interface Initialised (SWD)
  193. Info : 213 21 cmsis_dap_usb.c:740 cmsis_dap_get_version_info(): CMSIS-DAP: FW Version = 01.20.0075
  194. Debug: 214 22 cmsis_dap_usb.c:925 cmsis_dap_init(): CMSIS-DAP: Packet Size = 512
  195. Debug: 215 23 cmsis_dap_usb.c:936 cmsis_dap_init(): CMSIS-DAP: Packet Count = 4
  196. Info : 216 24 cmsis_dap_usb.c:781 cmsis_dap_get_status(): SWCLK/TCK = 1 SWDIO/TMS = 1 TDI = 1 TDO = 1 nTRST = 0 nRESET = 1
  197. Info : 217 27 cmsis_dap_usb.c:979 cmsis_dap_init(): CMSIS-DAP: Interface ready
  198. Debug: 218 27 core.c:1598 adapter_khz_to_speed(): convert khz to interface specific speed value
  199. Debug: 219 27 core.c:1601 adapter_khz_to_speed(): have interface set up
  200. Debug: 220 28 core.c:1598 adapter_khz_to_speed(): convert khz to interface specific speed value
  201. Debug: 221 28 core.c:1601 adapter_khz_to_speed(): have interface set up
  202. Info : 222 28 core.c:1386 adapter_init(): clock speed 400 kHz
  203. Debug: 223 28 openocd.c:140 handle_init_command(): Debug Adapter init complete
  204. Debug: 224 28 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport init
  205. Debug: 225 28 command.c:143 script_debug(): command - ocd_transport ocd_transport init
  206. Debug: 227 28 transport.c:239 handle_transport_init(): handle_transport_init
  207. Debug: 228 29 cmsis_dap_usb.c:810 cmsis_dap_swd_switch_seq(): JTAG-to-SWD
  208. Debug: 229 32 cmsis_dap_usb.c:599 cmsis_dap_swd_run_queue(): Executing 2 queued transactions
  209. Debug: 230 32 cmsis_dap_usb.c:622 cmsis_dap_swd_run_queue(): DP read reg 0 0
  210. Debug: 231 32 cmsis_dap_usb.c:622 cmsis_dap_swd_run_queue(): DP write reg 0 1e
  211. Debug: 232 33 cmsis_dap_usb.c:660 cmsis_dap_swd_run_queue(): SWD ack not OK: 0 JUNK
  212. Debug: 233 33 command.c:626 run_command(): Command failed with error code -4
  213. User : 234 33 command.c:687 command_run_line(): in procedure 'init'
  214. in procedure 'ocd_bouncer'
  215. Debug: 235 33 command.c:626 run_command(): Command failed with error code -4
  216. User : 236 33 command.c:687 command_run_line():
Advertisement
Add Comment
Please, Sign In to add comment