Guest User

Untitled

a guest
Jun 3rd, 2024
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 39.13 KB | None | 0 0
  1. openocd -f openocd_stm32f4xx.cfg -d3 -c "program build/project.elf verify reset exit"
  2. Open On-Chip Debugger 0.12.0
  3. Licensed under GNU GPL v2
  4. For bug reports, read
  5. http://openocd.org/doc/doxygen/bugs.html
  6. User : 3 1 options.c:52 configuration_output_handler(): debug_level: 3
  7. User : 4 1 options.c:52 configuration_output_handler():
  8. Debug: 5 1 options.c:233 add_default_dirs(): bindir=/usr/bin
  9. Debug: 6 1 options.c:234 add_default_dirs(): pkgdatadir=/usr/share/openocd
  10. Debug: 7 1 options.c:235 add_default_dirs(): exepath=/usr/bin
  11. Debug: 8 1 options.c:236 add_default_dirs(): bin2data=../share/openocd
  12. Debug: 9 1 configuration.c:33 add_script_search_dir(): adding /home/fleck/.config/openocd
  13. Debug: 10 1 configuration.c:33 add_script_search_dir(): adding /home/fleck/.openocd
  14. Debug: 11 1 configuration.c:33 add_script_search_dir(): adding /usr/bin/../share/openocd/site
  15. Debug: 12 1 configuration.c:33 add_script_search_dir(): adding /usr/bin/../share/openocd/scripts
  16. Debug: 13 1 command.c:155 script_debug(): command - ocd_find openocd_stm32f4xx.cfg
  17. Debug: 14 1 configuration.c:88 find_file(): found openocd_stm32f4xx.cfg
  18. Debug: 15 1 command.c:155 script_debug(): command - ocd_find interface/jlink.cfg
  19. Debug: 16 1 configuration.c:88 find_file(): found /usr/bin/../share/openocd/scripts/interface/jlink.cfg
  20. Debug: 17 1 command.c:155 script_debug(): command - adapter driver jlink
  21. Debug: 18 1 command.c:155 script_debug(): command - transport select swd
  22. Debug: 19 1 command.c:155 script_debug(): command - ocd_find target/stm32f4x.cfg
  23. Debug: 20 1 configuration.c:88 find_file(): found /usr/bin/../share/openocd/scripts/target/stm32f4x.cfg
  24. Debug: 21 1 command.c:155 script_debug(): command - ocd_find target/swj-dp.tcl
  25. Debug: 22 1 configuration.c:88 find_file(): found /usr/bin/../share/openocd/scripts/target/swj-dp.tcl
  26. Debug: 23 1 command.c:155 script_debug(): command - transport select
  27. Debug: 24 1 command.c:155 script_debug(): command - ocd_find mem_helper.tcl
  28. Debug: 25 1 configuration.c:88 find_file(): found /usr/bin/../share/openocd/scripts/mem_helper.tcl
  29. Debug: 26 1 command.c:155 script_debug(): command - add_usage_text mrw address
  30. Debug: 27 1 command.c:155 script_debug(): command - add_help_text mrw Returns value of word in memory.
  31. Debug: 28 1 command.c:155 script_debug(): command - add_usage_text mrh address
  32. Debug: 29 1 command.c:155 script_debug(): command - add_help_text mrh Returns value of halfword in memory.
  33. Debug: 30 1 command.c:155 script_debug(): command - add_usage_text mrb address
  34. Debug: 31 1 command.c:155 script_debug(): command - add_help_text mrb Returns value of byte in memory.
  35. Debug: 32 1 command.c:155 script_debug(): command - add_usage_text mmw address setbits clearbits
  36. Debug: 33 1 command.c:155 script_debug(): command - add_help_text mmw Modify word in memory. new_val = (old_val & ~clearbits) | setbits;
  37. Debug: 34 1 command.c:155 script_debug(): command - transport select
  38. Debug: 35 1 command.c:155 script_debug(): command - expr [ string first "jtag" $_TRANSPORT ] != -1
  39. Debug: 36 1 command.c:155 script_debug(): command - transport select
  40. Debug: 37 1 command.c:155 script_debug(): command - expr [ string first "jtag" $_TRANSPORT ] != -1
  41. Debug: 38 1 command.c:155 script_debug(): command - transport select
  42. Debug: 39 1 command.c:155 script_debug(): command - expr [ string first "swd" $_TRANSPORT ] != -1
  43. Debug: 40 1 command.c:155 script_debug(): command - swd newdap stm32f4x cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x2ba01477
  44. Debug: 41 1 tcl.c:557 jim_newtap_cmd(): Creating New Tap, Chip: stm32f4x, Tap: cpu, Dotted: stm32f4x.cpu, 8 params
  45. Debug: 42 1 core.c:1474 jtag_tap_init(): Created Tap: stm32f4x.cpu @ abs position 0, irlen 0, capture: 0x0 mask: 0x0
  46. Debug: 43 1 command.c:155 script_debug(): command - dap create stm32f4x.dap -chain-position stm32f4x.cpu
  47. Debug: 44 1 command.c:155 script_debug(): command - transport select
  48. Debug: 45 1 command.c:155 script_debug(): command - expr [ string first "jtag" $_TRANSPORT ] != -1
  49. Debug: 46 1 command.c:155 script_debug(): command - target create stm32f4x.cpu cortex_m -endian little -dap stm32f4x.dap
  50. Debug: 47 1 command.c:289 register_command(): command 'tpiu' is already registered
  51. Debug: 48 1 command.c:289 register_command(): command 'rtt' is already registered
  52. Debug: 49 1 command.c:155 script_debug(): command - stm32f4x.cpu configure -work-area-phys 0x20000000 -work-area-size 0x8000 -work-area-backup 0
  53. Debug: 50 1 target.c:2199 target_free_all_working_areas_restore(): freeing all working areas
  54. Debug: 51 1 target.c:2199 target_free_all_working_areas_restore(): freeing all working areas
  55. Debug: 52 1 target.c:2199 target_free_all_working_areas_restore(): freeing all working areas
  56. Debug: 53 1 command.c:155 script_debug(): command - flash bank stm32f4x.flash stm32f2x 0 0 0 0 stm32f4x.cpu
  57. Debug: 54 1 tcl.c:1305 handle_flash_bank_command(): 'stm32f2x' driver usage field missing
  58. Debug: 55 1 command.c:155 script_debug(): command - flash bank stm32f4x.otp stm32f2x 0x1fff7800 0 0 0 stm32f4x.cpu
  59. Debug: 56 1 command.c:289 register_command(): command 'stm32f2x' is already registered
  60. Debug: 57 1 command.c:289 register_command(): command 'stm32f2x lock' is already registered
  61. Debug: 58 1 command.c:289 register_command(): command 'stm32f2x unlock' is already registered
  62. Debug: 59 1 command.c:289 register_command(): command 'stm32f2x mass_erase' is already registered
  63. Debug: 60 1 command.c:289 register_command(): command 'stm32f2x options_read' is already registered
  64. Debug: 61 1 command.c:289 register_command(): command 'stm32f2x options_write' is already registered
  65. Debug: 62 1 command.c:289 register_command(): command 'stm32f2x optcr2_write' is already registered
  66. Debug: 63 1 command.c:289 register_command(): command 'stm32f2x otp' is already registered
  67. Debug: 64 1 tcl.c:1305 handle_flash_bank_command(): 'stm32f2x' driver usage field missing
  68. Debug: 65 1 command.c:155 script_debug(): command - adapter speed 2000
  69. Debug: 66 1 adapter.c:251 adapter_config_khz(): handle adapter khz
  70. Debug: 67 1 adapter.c:215 adapter_khz_to_speed(): convert khz to adapter specific speed value
  71. Debug: 68 1 adapter.c:215 adapter_khz_to_speed(): convert khz to adapter specific speed value
  72. Debug: 69 1 command.c:155 script_debug(): command - adapter srst delay 100
  73. Debug: 70 1 command.c:155 script_debug(): command - transport select
  74. Debug: 71 1 command.c:155 script_debug(): command - expr [ string first "jtag" $_TRANSPORT ] != -1
  75. Debug: 72 1 command.c:155 script_debug(): command - reset_config srst_nogate
  76. Debug: 73 1 command.c:155 script_debug(): command - transport select
  77. Debug: 74 1 command.c:155 script_debug(): command - expr [ string first "hla" $_TRANSPORT ] != -1
  78. Debug: 75 1 command.c:155 script_debug(): command - cortex_m reset_config sysresetreq
  79. Debug: 76 1 command.c:155 script_debug(): command - stm32f4x.cpu configure -event examine-end
  80. # Enable debug during low power modes (uses more power)
  81. # DBGMCU_CR |= DBG_STANDBY | DBG_STOP | DBG_SLEEP
  82. mmw 0xE0042004 0x00000007 0
  83.  
  84. # Stop watchdog counters during halt
  85. # DBGMCU_APB1_FZ |= DBG_IWDG_STOP | DBG_WWDG_STOP
  86. mmw 0xE0042008 0x00001800 0
  87.  
  88. Debug: 77 1 command.c:155 script_debug(): command - tpiu create stm32f4x.tpiu -dap stm32f4x.dap -ap-num 0 -baseaddr 0xE0040000
  89. Debug: 78 1 command.c:155 script_debug(): command - stm32f4x.tpiu configure -event pre-enable _proc_pre_enable_stm32f4x.tpiu stm32f4x
  90. Debug: 79 1 command.c:155 script_debug(): command - stm32f4x.cpu configure -event reset-init
  91. # Configure PLL to boost clock to HSI x 4 (64 MHz)
  92. mww 0x40023804 0x08012008 ;# RCC_PLLCFGR 16 Mhz /8 (M) * 128 (N) /4(P)
  93. mww 0x40023C00 0x00000102 ;# FLASH_ACR = PRFTBE | 2(Latency)
  94. mmw 0x40023800 0x01000000 0 ;# RCC_CR |= PLLON
  95. sleep 10 ;# Wait for PLL to lock
  96. mmw 0x40023808 0x00001000 0 ;# RCC_CFGR |= RCC_CFGR_PPRE1_DIV2
  97. mmw 0x40023808 0x00000002 0 ;# RCC_CFGR |= RCC_CFGR_SW_PLL
  98.  
  99. # Boost JTAG frequency
  100. adapter speed 8000
  101.  
  102. Debug: 80 1 command.c:155 script_debug(): command - stm32f4x.cpu configure -event reset-start
  103. # Reduce speed since CPU speed will slow down to 16MHz with the reset
  104. adapter speed 2000
  105.  
  106. Debug: 81 1 command.c:155 script_debug(): command - adapter speed 500
  107. Debug: 82 1 adapter.c:251 adapter_config_khz(): handle adapter khz
  108. Debug: 83 1 adapter.c:215 adapter_khz_to_speed(): convert khz to adapter specific speed value
  109. Debug: 84 1 adapter.c:215 adapter_khz_to_speed(): convert khz to adapter specific speed value
  110. User : 85 1 options.c:52 configuration_output_handler(): adapter speed: 500 kHz
  111. User : 86 1 options.c:52 configuration_output_handler():
  112. Debug: 87 1 command.c:155 script_debug(): command - init
  113. Debug: 88 1 command.c:155 script_debug(): command - target init
  114. Debug: 89 1 command.c:155 script_debug(): command - target names
  115. Debug: 90 1 command.c:155 script_debug(): command - stm32f4x.cpu cget -event gdb-flash-erase-start
  116. Debug: 91 1 command.c:155 script_debug(): command - stm32f4x.cpu configure -event gdb-flash-erase-start reset init
  117. Debug: 92 1 command.c:155 script_debug(): command - stm32f4x.cpu cget -event gdb-flash-write-end
  118. Debug: 93 1 command.c:155 script_debug(): command - stm32f4x.cpu configure -event gdb-flash-write-end reset halt
  119. Debug: 94 1 command.c:155 script_debug(): command - stm32f4x.cpu cget -event gdb-attach
  120. Debug: 95 1 command.c:155 script_debug(): command - stm32f4x.cpu configure -event gdb-attach halt 1000
  121. Debug: 96 1 target.c:1657 handle_target_init_command(): Initializing targets...
  122. Debug: 97 1 semihosting_common.c:109 semihosting_common_init():
  123. Debug: 98 1 jlink.c:635 jlink_init(): Using libjaylink 0.3.1 (compiled with 0.3.1)
  124. Debug: 99 7 jlink.c:514 jaylink_log_handler(): Found device (VID:PID = 1366:0101, bus:address = 001:007)
  125. Debug: 100 7 jlink.c:514 jaylink_log_handler(): Device: USB address = 0
  126. Debug: 101 7 jlink.c:514 jaylink_log_handler(): Device: Serial number = 50121742
  127. Debug: 102 7 jlink.c:514 jaylink_log_handler(): Allocating new device instance
  128. Debug: 103 7 jlink.c:514 jaylink_log_handler(): Found 1 USB device(s)
  129. Debug: 104 7 jlink.c:514 jaylink_log_handler(): Trying to open device (bus:address = 001:007)
  130. Debug: 105 7 jlink.c:514 jaylink_log_handler(): Using endpoint 81 (IN) and 01 (OUT)
  131. Debug: 106 7 jlink.c:514 jaylink_log_handler(): Device opened successfully
  132. Info : 114 8 jlink.c:707 jlink_init(): J-Link V9 compiled May 7 2021 16:26:12
  133. Info : 127 8 jlink.c:748 jlink_init(): Hardware version: 9.10
  134. Info : 140 8 jlink.c:789 jlink_init(): VTarget = 3.314 V
  135. Debug: 146 9 jlink.c:514 jaylink_log_handler(): Last read operation left 16 bytes in the buffer
  136. Debug: 156 9 jlink.c:942 jlink_reset(): TRST: 0, SRST: 0
  137. Debug: 167 12 adapter.c:215 adapter_khz_to_speed(): convert khz to adapter specific speed value
  138. Debug: 168 12 adapter.c:219 adapter_khz_to_speed(): have adapter set up
  139. Debug: 175 12 adapter.c:215 adapter_khz_to_speed(): convert khz to adapter specific speed value
  140. Debug: 176 12 adapter.c:219 adapter_khz_to_speed(): have adapter set up
  141. Info : 177 12 adapter.c:179 adapter_init(): clock speed 500 kHz
  142. Debug: 178 12 openocd.c:134 handle_init_command(): Debug Adapter init complete
  143. Debug: 179 12 command.c:155 script_debug(): command - transport init
  144. Debug: 180 12 transport.c:219 handle_transport_init(): handle_transport_init
  145. Debug: 181 12 command.c:155 script_debug(): command - dap init
  146. Debug: 182 12 arm_dap.c:97 dap_init_all(): Initializing all DAPs ...
  147. Debug: 183 12 arm_dap.c:121 dap_init_all(): DAP stm32f4x.cpu configured by default to use ADIv5 protocol
  148. Debug: 184 12 jlink.c:2117 jlink_swd_switch_seq(): JTAG-to-SWD
  149. Debug: 185 12 jlink.c:2161 jlink_swd_run_queue(): Executing 1 queued transactions
  150. Info : 194 13 adi_v5_swd.c:370 swd_connect_single(): SWD DPIDR 0x2ba01477
  151. Debug: 195 13 jlink.c:2161 jlink_swd_run_queue(): Executing 1 queued transactions
  152. Debug: 204 13 arm_adi_v5.c:679 dap_dp_init(): stm32f4x.dap
  153. Debug: 205 13 arm_adi_v5.c:711 dap_dp_init(): DAP: wait CDBGPWRUPACK
  154. Debug: 206 13 arm_adi_v5.h:638 dap_dp_poll_register(): DAP: poll 4, mask 0x20000000, value 0x20000000
  155. Debug: 207 13 jlink.c:2161 jlink_swd_run_queue(): Executing 5 queued transactions
  156. Debug: 216 14 arm_adi_v5.c:719 dap_dp_init(): DAP: wait CSYSPWRUPACK
  157. Debug: 217 14 arm_adi_v5.h:638 dap_dp_poll_register(): DAP: poll 4, mask 0x80000000, value 0x80000000
  158. Debug: 218 14 jlink.c:2161 jlink_swd_run_queue(): Executing 1 queued transactions
  159. Debug: 227 14 jlink.c:2161 jlink_swd_run_queue(): Executing 3 queued transactions
  160. Debug: 236 15 openocd.c:151 handle_init_command(): Examining targets...
  161. Debug: 237 15 target.c:1843 target_call_event_callbacks(): target event 19 (examine-start) for core stm32f4x.cpu
  162. Debug: 238 15 arm_adi_v5.c:1095 dap_get_ap(): refcount AP#0x0 get 1
  163. Debug: 239 15 jlink.c:2161 jlink_swd_run_queue(): Executing 3 queued transactions
  164. Debug: 248 16 arm_adi_v5.c:1038 dap_find_get_ap(): Found MEM-AP AHB3 at AP index: 0 (IDR=0x24770011)
  165. Debug: 249 16 jlink.c:2161 jlink_swd_run_queue(): Executing 2 queued transactions
  166. Debug: 258 16 jlink.c:2161 jlink_swd_run_queue(): Executing 5 queued transactions
  167. Debug: 267 17 arm_adi_v5.c:825 mem_ap_init(): MEM_AP Packed Transfers: enabled
  168. Debug: 268 17 arm_adi_v5.c:836 mem_ap_init(): MEM_AP CFG: large data 0, long address 0, big-endian 0
  169. Debug: 269 17 jlink.c:2161 jlink_swd_run_queue(): Executing 4 queued transactions
  170. Debug: 278 17 target.c:2628 target_read_u32(): address: 0xe000ed00, value: 0x410fc241
  171. Info : 279 17 cortex_m.c:2369 cortex_m_examine(): [stm32f4x.cpu] Cortex-M4 r0p1 processor detected
  172. Debug: 280 17 cortex_m.c:2384 cortex_m_examine(): [stm32f4x.cpu] cpuid: 0x410fc241
  173. Debug: 281 17 jlink.c:2161 jlink_swd_run_queue(): Executing 3 queued transactions
  174. Debug: 290 18 target.c:2628 target_read_u32(): address: 0xe000ef40, value: 0x10110021
  175. Debug: 291 18 jlink.c:2161 jlink_swd_run_queue(): Executing 2 queued transactions
  176. Debug: 300 18 target.c:2628 target_read_u32(): address: 0xe000ef44, value: 0x11000011
  177. Debug: 301 18 cortex_m.c:2392 cortex_m_examine(): [stm32f4x.cpu] Cortex-M4 floating point feature FPv4_SP found
  178. Debug: 302 18 jlink.c:2161 jlink_swd_run_queue(): Executing 3 queued transactions
  179. Debug: 311 19 target.c:2628 target_read_u32(): address: 0xe000edf0, value: 0x03010001
  180. Debug: 312 19 cortex_m.c:2441 cortex_m_examine(): [stm32f4x.cpu] reset happened some time ago, ignore
  181. Debug: 313 19 target.c:2716 target_write_u32(): address: 0xe000edfc, value: 0x01000000
  182. Debug: 314 19 jlink.c:2161 jlink_swd_run_queue(): Executing 2 queued transactions
  183. Debug: 323 19 jlink.c:2161 jlink_swd_run_queue(): Executing 3 queued transactions
  184. Debug: 332 19 target.c:2628 target_read_u32(): address: 0xe0002000, value: 0x00000261
  185. Debug: 333 19 target.c:2716 target_write_u32(): address: 0xe0002008, value: 0x00000000
  186. Debug: 334 19 jlink.c:2161 jlink_swd_run_queue(): Executing 2 queued transactions
  187. Debug: 343 20 target.c:2716 target_write_u32(): address: 0xe000200c, value: 0x00000000
  188. Debug: 344 20 jlink.c:2161 jlink_swd_run_queue(): Executing 1 queued transactions
  189. Debug: 353 20 target.c:2716 target_write_u32(): address: 0xe0002010, value: 0x00000000
  190. Debug: 354 20 jlink.c:2161 jlink_swd_run_queue(): Executing 1 queued transactions
  191. Debug: 363 20 target.c:2716 target_write_u32(): address: 0xe0002014, value: 0x00000000
  192. Debug: 364 20 jlink.c:2161 jlink_swd_run_queue(): Executing 1 queued transactions
  193. Debug: 373 21 target.c:2716 target_write_u32(): address: 0xe0002018, value: 0x00000000
  194. Debug: 374 21 jlink.c:2161 jlink_swd_run_queue(): Executing 1 queued transactions
  195. Debug: 383 21 target.c:2716 target_write_u32(): address: 0xe000201c, value: 0x00000000
  196. Debug: 384 21 jlink.c:2161 jlink_swd_run_queue(): Executing 1 queued transactions
  197. Debug: 393 21 target.c:2716 target_write_u32(): address: 0xe0002020, value: 0x00000000
  198. Debug: 394 21 jlink.c:2161 jlink_swd_run_queue(): Executing 1 queued transactions
  199. Debug: 403 21 target.c:2716 target_write_u32(): address: 0xe0002024, value: 0x00000000
  200. Debug: 404 21 jlink.c:2161 jlink_swd_run_queue(): Executing 1 queued transactions
  201. Debug: 413 22 cortex_m.c:2488 cortex_m_examine(): [stm32f4x.cpu] FPB fpcr 0x261, numcode 6, numlit 2
  202. Debug: 414 22 jlink.c:2161 jlink_swd_run_queue(): Executing 3 queued transactions
  203. Debug: 423 22 target.c:2628 target_read_u32(): address: 0xe0001000, value: 0x40000001
  204. Debug: 424 22 cortex_m.c:2187 cortex_m_dwt_setup(): [stm32f4x.cpu] DWT_CTRL: 0x40000001
  205. Debug: 425 22 jlink.c:2161 jlink_swd_run_queue(): Executing 3 queued transactions
  206. Debug: 434 23 target.c:2628 target_read_u32(): address: 0xe0001fbc, value: 0x00000000
  207. Debug: 435 23 cortex_m.c:2194 cortex_m_dwt_setup(): [stm32f4x.cpu] DWT_DEVARCH: 0x0
  208. Debug: 436 23 target.c:2716 target_write_u32(): address: 0xe0001028, value: 0x00000000
  209. Debug: 437 23 jlink.c:2161 jlink_swd_run_queue(): Executing 2 queued transactions
  210. Debug: 446 23 target.c:2716 target_write_u32(): address: 0xe0001038, value: 0x00000000
  211. Debug: 447 23 jlink.c:2161 jlink_swd_run_queue(): Executing 2 queued transactions
  212. Debug: 456 23 target.c:2716 target_write_u32(): address: 0xe0001048, value: 0x00000000
  213. Debug: 457 23 jlink.c:2161 jlink_swd_run_queue(): Executing 2 queued transactions
  214. Debug: 466 24 target.c:2716 target_write_u32(): address: 0xe0001058, value: 0x00000000
  215. Debug: 467 24 jlink.c:2161 jlink_swd_run_queue(): Executing 2 queued transactions
  216. Debug: 476 24 cortex_m.c:2241 cortex_m_dwt_setup(): [stm32f4x.cpu] DWT dwtcr 0x40000001, comp 4, watch/trigger
  217. Info : 477 24 cortex_m.c:2498 cortex_m_examine(): [stm32f4x.cpu] target has 6 breakpoints, 4 watchpoints
  218. Debug: 478 24 target.c:1843 target_call_event_callbacks(): target event 21 (examine-end) for core stm32f4x.cpu
  219. Debug: 479 24 target.c:5099 target_handle_event(): target(0): stm32f4x.cpu (cortex_m) event: 21 (examine-end) action:
  220. # Enable debug during low power modes (uses more power)
  221. # DBGMCU_CR |= DBG_STANDBY | DBG_STOP | DBG_SLEEP
  222. mmw 0xE0042004 0x00000007 0
  223.  
  224. # Stop watchdog counters during halt
  225. # DBGMCU_APB1_FZ |= DBG_IWDG_STOP | DBG_WWDG_STOP
  226. mmw 0xE0042008 0x00001800 0
  227.  
  228. Debug: 480 24 command.c:155 script_debug(): command - read_memory 0xE0042004 32 1
  229. Debug: 481 24 jlink.c:2161 jlink_swd_run_queue(): Executing 3 queued transactions
  230. Debug: 490 24 command.c:155 script_debug(): command - expr ($old & ~$clearbits) | $setbits
  231. Debug: 491 24 command.c:155 script_debug(): command - mww 0xE0042004 7
  232. Debug: 492 25 jlink.c:2161 jlink_swd_run_queue(): Executing 2 queued transactions
  233. Debug: 501 25 command.c:155 script_debug(): command - read_memory 0xE0042008 32 1
  234. Debug: 502 25 jlink.c:2161 jlink_swd_run_queue(): Executing 2 queued transactions
  235. Debug: 511 25 command.c:155 script_debug(): command - expr ($old & ~$clearbits) | $setbits
  236. Debug: 512 25 command.c:155 script_debug(): command - mww 0xE0042008 6144
  237. Debug: 513 25 jlink.c:2161 jlink_swd_run_queue(): Executing 2 queued transactions
  238. Debug: 522 26 command.c:155 script_debug(): command - flash init
  239. Debug: 523 26 tcl.c:1375 handle_flash_init_command(): Initializing flash devices...
  240. Debug: 524 26 command.c:155 script_debug(): command - nand init
  241. Debug: 525 26 tcl.c:487 handle_nand_init_command(): Initializing NAND devices...
  242. Debug: 526 26 command.c:155 script_debug(): command - pld init
  243. Debug: 527 26 pld.c:194 handle_pld_init_command(): Initializing PLDs...
  244. Debug: 528 26 command.c:155 script_debug(): command - tpiu init
  245. Info : 529 26 gdb_server.c:3791 gdb_target_start(): starting gdb server for stm32f4x.cpu on 3333
  246. Info : 530 26 server.c:297 add_service(): Listening on port 3333 for gdb connections
  247. Debug: 531 26 command.c:155 script_debug(): command - reset init
  248. Debug: 532 26 jlink.c:2161 jlink_swd_run_queue(): Executing 4 queued transactions
  249. Debug: 541 26 target.c:1862 target_call_reset_callbacks(): target reset 3 (init)
  250. Debug: 542 26 command.c:155 script_debug(): command - expr [catch {ocd_process_reset_inner $MODE} result] == 0
  251. Debug: 543 26 command.c:155 script_debug(): command - target names
  252. Debug: 544 26 command.c:155 script_debug(): command - stm32f4x.cpu invoke-event reset-start
  253. Debug: 545 26 target.c:5099 target_handle_event(): target(0): stm32f4x.cpu (cortex_m) event: 9 (reset-start) action:
  254. # Reduce speed since CPU speed will slow down to 16MHz with the reset
  255. adapter speed 2000
  256.  
  257. Debug: 546 26 command.c:155 script_debug(): command - adapter speed 2000
  258. Debug: 547 26 adapter.c:251 adapter_config_khz(): handle adapter khz
  259. Debug: 548 26 adapter.c:215 adapter_khz_to_speed(): convert khz to adapter specific speed value
  260. Debug: 549 26 adapter.c:219 adapter_khz_to_speed(): have adapter set up
  261. Debug: 556 27 adapter.c:215 adapter_khz_to_speed(): convert khz to adapter specific speed value
  262. Debug: 557 27 adapter.c:219 adapter_khz_to_speed(): have adapter set up
  263. Debug: 558 27 command.c:155 script_debug(): command - transport select
  264. Debug: 559 27 command.c:155 script_debug(): command - expr [ string first "jtag" $_TRANSPORT ] != -1
  265. Debug: 560 27 command.c:155 script_debug(): command - transport select
  266. Debug: 561 27 command.c:155 script_debug(): command - expr [ string first "jtag" $_TRANSPORT ] != -1
  267. Debug: 562 27 command.c:155 script_debug(): command - stm32f4x.cpu invoke-event examine-start
  268. Debug: 563 27 command.c:155 script_debug(): command - stm32f4x.cpu arp_examine allow-defer
  269. Debug: 564 27 jlink.c:2161 jlink_swd_run_queue(): Executing 3 queued transactions
  270. Debug: 573 27 jlink.c:2161 jlink_swd_run_queue(): Executing 5 queued transactions
  271. Debug: 582 27 arm_adi_v5.c:825 mem_ap_init(): MEM_AP Packed Transfers: enabled
  272. Debug: 583 27 arm_adi_v5.c:836 mem_ap_init(): MEM_AP CFG: large data 0, long address 0, big-endian 0
  273. Debug: 584 27 command.c:155 script_debug(): command - stm32f4x.cpu invoke-event examine-end
  274. Debug: 585 27 target.c:5099 target_handle_event(): target(0): stm32f4x.cpu (cortex_m) event: 21 (examine-end) action:
  275. # Enable debug during low power modes (uses more power)
  276. # DBGMCU_CR |= DBG_STANDBY | DBG_STOP | DBG_SLEEP
  277. mmw 0xE0042004 0x00000007 0
  278.  
  279. # Stop watchdog counters during halt
  280. # DBGMCU_APB1_FZ |= DBG_IWDG_STOP | DBG_WWDG_STOP
  281. mmw 0xE0042008 0x00001800 0
  282.  
  283. Debug: 586 27 command.c:155 script_debug(): command - read_memory 0xE0042004 32 1
  284. Debug: 587 27 jlink.c:2161 jlink_swd_run_queue(): Executing 4 queued transactions
  285. Debug: 596 28 command.c:155 script_debug(): command - expr ($old & ~$clearbits) | $setbits
  286. Debug: 597 28 command.c:155 script_debug(): command - mww 0xE0042004 7
  287. Debug: 598 28 jlink.c:2161 jlink_swd_run_queue(): Executing 2 queued transactions
  288. Debug: 607 28 command.c:155 script_debug(): command - read_memory 0xE0042008 32 1
  289. Debug: 608 28 jlink.c:2161 jlink_swd_run_queue(): Executing 2 queued transactions
  290. Debug: 617 28 command.c:155 script_debug(): command - expr ($old & ~$clearbits) | $setbits
  291. Debug: 618 28 command.c:155 script_debug(): command - mww 0xE0042008 6144
  292. Debug: 619 28 jlink.c:2161 jlink_swd_run_queue(): Executing 2 queued transactions
  293. Debug: 628 28 command.c:155 script_debug(): command - stm32f4x.cpu invoke-event reset-assert-pre
  294. Debug: 629 28 command.c:155 script_debug(): command - transport select
  295. Debug: 630 28 command.c:155 script_debug(): command - expr [ string first "jtag" $_TRANSPORT ] != -1
  296. Debug: 631 28 command.c:155 script_debug(): command - stm32f4x.cpu arp_reset assert 1
  297. Debug: 632 28 target.c:2199 target_free_all_working_areas_restore(): freeing all working areas
  298. Debug: 633 28 cortex_m.c:1401 cortex_m_assert_reset(): [stm32f4x.cpu] target->state: running, examined
  299. Debug: 634 28 jlink.c:2161 jlink_swd_run_queue(): Executing 4 queued transactions
  300. Debug: 643 29 jlink.c:2161 jlink_swd_run_queue(): Executing 2 queued transactions
  301. Debug: 652 29 cortex_m.c:1516 cortex_m_assert_reset(): [stm32f4x.cpu] Using Cortex-M SYSRESETREQ
  302. Debug: 653 29 jlink.c:2161 jlink_swd_run_queue(): Executing 4 queued transactions
  303. Debug: 662 29 arm_adi_v5.c:754 dap_dp_init_or_reconnect(): stm32f4x.dap
  304. Debug: 663 29 jlink.c:2161 jlink_swd_run_queue(): Executing 1 queued transactions
  305. Debug: 672 29 arm_adi_v5.c:679 dap_dp_init(): stm32f4x.dap
  306. Debug: 673 29 arm_adi_v5.c:711 dap_dp_init(): DAP: wait CDBGPWRUPACK
  307. Debug: 674 29 arm_adi_v5.h:638 dap_dp_poll_register(): DAP: poll 4, mask 0x20000000, value 0x20000000
  308. Debug: 675 29 jlink.c:2161 jlink_swd_run_queue(): Executing 5 queued transactions
  309. Debug: 684 30 arm_adi_v5.c:719 dap_dp_init(): DAP: wait CSYSPWRUPACK
  310. Debug: 685 30 arm_adi_v5.h:638 dap_dp_poll_register(): DAP: poll 4, mask 0x80000000, value 0x80000000
  311. Debug: 686 30 jlink.c:2161 jlink_swd_run_queue(): Executing 1 queued transactions
  312. Debug: 695 30 jlink.c:2161 jlink_swd_run_queue(): Executing 3 queued transactions
  313. Debug: 704 30 jlink.c:2161 jlink_swd_run_queue(): Executing 5 queued transactions
  314. Debug: 713 81 cortex_m.c:986 cortex_m_halt(): [stm32f4x.cpu] target->state: reset
  315. Debug: 714 81 command.c:155 script_debug(): command - stm32f4x.cpu invoke-event reset-assert-post
  316. Debug: 715 81 command.c:155 script_debug(): command - stm32f4x.cpu invoke-event reset-deassert-pre
  317. Debug: 716 81 command.c:155 script_debug(): command - transport select
  318. Debug: 717 81 command.c:155 script_debug(): command - expr [ string first "jtag" $_TRANSPORT ] != -1
  319. Debug: 718 81 command.c:155 script_debug(): command - stm32f4x.cpu arp_reset deassert 1
  320. Debug: 719 81 target.c:2199 target_free_all_working_areas_restore(): freeing all working areas
  321. Debug: 720 81 cortex_m.c:1569 cortex_m_deassert_reset(): [stm32f4x.cpu] target->state: reset, examined
  322. Debug: 721 81 jlink.c:942 jlink_reset(): TRST: 0, SRST: 0
  323. Debug: 726 81 core.c:640 adapter_system_reset(): SRST line released
  324. Debug: 727 181 command.c:155 script_debug(): command - stm32f4x.cpu invoke-event reset-deassert-post
  325. Debug: 728 181 command.c:155 script_debug(): command - transport select
  326. Debug: 729 181 command.c:155 script_debug(): command - expr [ string first "jtag" $_TRANSPORT ] != -1
  327. Debug: 730 181 command.c:155 script_debug(): command - stm32f4x.cpu was_examined
  328. Debug: 731 181 command.c:155 script_debug(): command - stm32f4x.cpu arp_waitstate halted 1000
  329. Debug: 732 181 jlink.c:2161 jlink_swd_run_queue(): Executing 5 queued transactions
  330. Debug: 741 182 target.c:3286 target_wait_state(): waiting for target halted...
  331. Debug: 742 182 jlink.c:2161 jlink_swd_run_queue(): Executing 2 queued transactions
  332. Debug: 751 182 cortex_m.c:921 cortex_m_poll(): [stm32f4x.cpu] Exit from reset with dcb_dhcsr 0x30003
  333. Debug: 752 182 jlink.c:2161 jlink_swd_run_queue(): Executing 2 queued transactions
  334. Debug: 761 182 cortex_m.c:588 cortex_m_endreset_event(): [stm32f4x.cpu] DCB_DEMCR = 0x01000501
  335. Debug: 762 182 jlink.c:2161 jlink_swd_run_queue(): Executing 3 queued transactions
  336. Debug: 771 182 target.c:2716 target_write_u32(): address: 0xe0002000, value: 0x00000003
  337. Debug: 772 182 jlink.c:2161 jlink_swd_run_queue(): Executing 5 queued transactions
  338. Debug: 781 183 jlink.c:2161 jlink_swd_run_queue(): Executing 3 queued transactions
  339. Debug: 790 183 target.c:2628 target_read_u32(): address: 0xe0002000, value: 0x00000261
  340. Debug: 791 183 target.c:2716 target_write_u32(): address: 0xe0002008, value: 0x00000000
  341. Debug: 792 183 jlink.c:2161 jlink_swd_run_queue(): Executing 2 queued transactions
  342. Debug: 801 183 target.c:2716 target_write_u32(): address: 0xe000200c, value: 0x00000000
  343. Debug: 802 183 jlink.c:2161 jlink_swd_run_queue(): Executing 1 queued transactions
  344. Debug: 811 183 target.c:2716 target_write_u32(): address: 0xe0002010, value: 0x00000000
  345. Debug: 812 183 jlink.c:2161 jlink_swd_run_queue(): Executing 1 queued transactions
  346. Debug: 821 184 target.c:2716 target_write_u32(): address: 0xe0002014, value: 0x00000000
  347. Debug: 822 184 jlink.c:2161 jlink_swd_run_queue(): Executing 1 queued transactions
  348. Debug: 831 184 target.c:2716 target_write_u32(): address: 0xe0002018, value: 0x00000000
  349. Debug: 832 184 jlink.c:2161 jlink_swd_run_queue(): Executing 1 queued transactions
  350. Debug: 841 184 target.c:2716 target_write_u32(): address: 0xe000201c, value: 0x00000000
  351. Debug: 842 184 jlink.c:2161 jlink_swd_run_queue(): Executing 1 queued transactions
  352. Debug: 851 184 target.c:2716 target_write_u32(): address: 0xe0002020, value: 0x00000000
  353. Debug: 852 184 jlink.c:2161 jlink_swd_run_queue(): Executing 1 queued transactions
  354. Debug: 861 184 target.c:2716 target_write_u32(): address: 0xe0002024, value: 0x00000000
  355. Debug: 862 184 jlink.c:2161 jlink_swd_run_queue(): Executing 1 queued transactions
  356. Debug: 871 184 target.c:2716 target_write_u32(): address: 0xe0001020, value: 0x00000000
  357. Debug: 872 184 jlink.c:2161 jlink_swd_run_queue(): Executing 2 queued transactions
  358. Debug: 881 184 target.c:2716 target_write_u32(): address: 0xe0001024, value: 0x00000000
  359. Debug: 882 184 jlink.c:2161 jlink_swd_run_queue(): Executing 1 queued transactions
  360. Debug: 891 185 target.c:2716 target_write_u32(): address: 0xe0001028, value: 0x00000000
  361. Debug: 892 185 jlink.c:2161 jlink_swd_run_queue(): Executing 1 queued transactions
  362. Debug: 901 185 target.c:2716 target_write_u32(): address: 0xe0001030, value: 0x00000000
  363. Debug: 902 185 jlink.c:2161 jlink_swd_run_queue(): Executing 2 queued transactions
  364. Debug: 911 185 target.c:2716 target_write_u32(): address: 0xe0001034, value: 0x00000000
  365. Debug: 912 185 jlink.c:2161 jlink_swd_run_queue(): Executing 1 queued transactions
  366. Debug: 921 185 target.c:2716 target_write_u32(): address: 0xe0001038, value: 0x00000000
  367. Debug: 922 185 jlink.c:2161 jlink_swd_run_queue(): Executing 1 queued transactions
  368. Debug: 931 185 target.c:2716 target_write_u32(): address: 0xe0001040, value: 0x00000000
  369. Debug: 932 185 jlink.c:2161 jlink_swd_run_queue(): Executing 2 queued transactions
  370. Debug: 941 186 target.c:2716 target_write_u32(): address: 0xe0001044, value: 0x00000000
  371. Debug: 942 186 jlink.c:2161 jlink_swd_run_queue(): Executing 1 queued transactions
  372. Debug: 951 186 target.c:2716 target_write_u32(): address: 0xe0001048, value: 0x00000000
  373. Debug: 952 186 jlink.c:2161 jlink_swd_run_queue(): Executing 1 queued transactions
  374. Debug: 961 186 target.c:2716 target_write_u32(): address: 0xe0001050, value: 0x00000000
  375. Debug: 962 186 jlink.c:2161 jlink_swd_run_queue(): Executing 2 queued transactions
  376. Debug: 971 186 target.c:2716 target_write_u32(): address: 0xe0001054, value: 0x00000000
  377. Debug: 972 186 jlink.c:2161 jlink_swd_run_queue(): Executing 1 queued transactions
  378. Debug: 981 186 target.c:2716 target_write_u32(): address: 0xe0001058, value: 0x00000000
  379. Debug: 982 186 jlink.c:2161 jlink_swd_run_queue(): Executing 1 queued transactions
  380. Debug: 991 186 jlink.c:2161 jlink_swd_run_queue(): Executing 0 queued transactions
  381. Debug: 1000 186 jlink.c:2161 jlink_swd_run_queue(): Executing 4 queued transactions
  382. Debug: 1009 187 cortex_m.c:785 cortex_m_debug_entry(): [stm32f4x.cpu]
  383. Debug: 1010 187 jlink.c:2161 jlink_swd_run_queue(): Executing 1 queued transactions
  384. Debug: 1019 187 jlink.c:2161 jlink_swd_run_queue(): Executing 5 queued transactions
  385. Debug: 1028 187 jlink.c:2161 jlink_swd_run_queue(): Executing 1 queued transactions
  386. Debug: 1037 187 cortex_m.c:526 cortex_m_clear_halt(): [stm32f4x.cpu] NVIC_DFSR 0x9
  387. Debug: 1038 187 jlink.c:2161 jlink_swd_run_queue(): Executing 5 queued transactions
  388. Debug: 1047 188 jlink.c:2161 jlink_swd_run_queue(): Executing 212 queued transactions
  389. Debug: 1057 196 cortex_m.c:328 cortex_m_fast_read_all_regs(): [stm32f4x.cpu] read 53 32-bit registers
  390. Debug: 1058 196 cortex_m.c:858 cortex_m_debug_entry(): [stm32f4x.cpu] entered debug state in core mode: Thread at PC 0x801a554, cpu in Non-Secure state, target->state: halted
  391. Debug: 1059 196 target.c:1843 target_call_event_callbacks(): target event 0 (gdb-halt) for core stm32f4x.cpu
  392. Debug: 1060 196 target.c:1843 target_call_event_callbacks(): target event 1 (halted) for core stm32f4x.cpu
  393. User : 1061 196 armv7m.c:738 armv7m_arch_state(): [stm32f4x.cpu] halted due to debug-request, current mode: Thread
  394. xPSR: 0x01000000 pc: 0x0801a554 msp: 0x2001fffc
  395. Debug: 1062 196 command.c:155 script_debug(): command - stm32f4x.cpu curstate
  396. Debug: 1063 196 command.c:155 script_debug(): command - transport select
  397. Debug: 1064 196 command.c:155 script_debug(): command - expr [ string first "jtag" $_TRANSPORT ] != -1
  398. Debug: 1065 196 command.c:155 script_debug(): command - stm32f4x.cpu was_examined
  399. Debug: 1066 196 command.c:155 script_debug(): command - stm32f4x.cpu arp_waitstate halted 5000
  400. Debug: 1067 196 jlink.c:2161 jlink_swd_run_queue(): Executing 2 queued transactions
  401. Debug: 1076 197 command.c:155 script_debug(): command - stm32f4x.cpu invoke-event reset-init
  402. Debug: 1077 197 target.c:5099 target_handle_event(): target(0): stm32f4x.cpu (cortex_m) event: 15 (reset-init) action:
  403. # Configure PLL to boost clock to HSI x 4 (64 MHz)
  404. mww 0x40023804 0x08012008 ;# RCC_PLLCFGR 16 Mhz /8 (M) * 128 (N) /4(P)
  405. mww 0x40023C00 0x00000102 ;# FLASH_ACR = PRFTBE | 2(Latency)
  406. mmw 0x40023800 0x01000000 0 ;# RCC_CR |= PLLON
  407. sleep 10 ;# Wait for PLL to lock
  408. mmw 0x40023808 0x00001000 0 ;# RCC_CFGR |= RCC_CFGR_PPRE1_DIV2
  409. mmw 0x40023808 0x00000002 0 ;# RCC_CFGR |= RCC_CFGR_SW_PLL
  410.  
  411. # Boost JTAG frequency
  412. adapter speed 8000
  413.  
  414. Debug: 1078 197 command.c:155 script_debug(): command - mww 0x40023804 0x08012008
  415. Debug: 1079 197 jlink.c:2161 jlink_swd_run_queue(): Executing 3 queued transactions
  416. Debug: 1088 197 command.c:155 script_debug(): command - mww 0x40023C00 0x00000102
  417. Debug: 1089 197 jlink.c:2161 jlink_swd_run_queue(): Executing 2 queued transactions
  418. Debug: 1098 197 command.c:155 script_debug(): command - read_memory 0x40023800 32 1
  419. Debug: 1099 197 jlink.c:2161 jlink_swd_run_queue(): Executing 3 queued transactions
  420. Debug: 1108 197 command.c:155 script_debug(): command - expr ($old & ~$clearbits) | $setbits
  421. Debug: 1109 197 command.c:155 script_debug(): command - mww 0x40023800 16800643
  422. Debug: 1110 197 jlink.c:2161 jlink_swd_run_queue(): Executing 2 queued transactions
  423. Debug: 1119 198 command.c:155 script_debug(): command - sleep 10
  424. Debug: 1120 208 command.c:155 script_debug(): command - read_memory 0x40023808 32 1
  425. Debug: 1121 208 jlink.c:2161 jlink_swd_run_queue(): Executing 3 queued transactions
  426. Debug: 1130 208 command.c:155 script_debug(): command - expr ($old & ~$clearbits) | $setbits
  427. Debug: 1131 208 command.c:155 script_debug(): command - mww 0x40023808 4096
  428. Debug: 1132 208 jlink.c:2161 jlink_swd_run_queue(): Executing 2 queued transactions
  429. Debug: 1141 209 command.c:155 script_debug(): command - read_memory 0x40023808 32 1
  430. Debug: 1142 209 jlink.c:2161 jlink_swd_run_queue(): Executing 3 queued transactions
  431. Debug: 1151 209 command.c:155 script_debug(): command - expr ($old & ~$clearbits) | $setbits
  432. Debug: 1152 209 command.c:155 script_debug(): command - mww 0x40023808 4098
  433. Debug: 1153 209 jlink.c:2161 jlink_swd_run_queue(): Executing 2 queued transactions
  434. Debug: 1162 209 command.c:155 script_debug(): command - adapter speed 8000
  435. Debug: 1163 209 adapter.c:251 adapter_config_khz(): handle adapter khz
  436. Debug: 1164 209 adapter.c:215 adapter_khz_to_speed(): convert khz to adapter specific speed value
  437. Debug: 1165 209 adapter.c:219 adapter_khz_to_speed(): have adapter set up
  438. Debug: 1172 209 adapter.c:215 adapter_khz_to_speed(): convert khz to adapter specific speed value
  439. Debug: 1173 209 adapter.c:219 adapter_khz_to_speed(): have adapter set up
  440. Debug: 1174 209 command.c:155 script_debug(): command - stm32f4x.cpu invoke-event reset-end
  441. Debug: 1175 209 jlink.c:2161 jlink_swd_run_queue(): Executing 4 queued transactions
  442. Debug: 1184 209 command.c:155 script_debug(): command - echo ** Programming Started **
  443. Debug: 1185 209 jlink.c:2161 jlink_swd_run_queue(): Executing 2 queued transactions
  444. User : 1194 210 command.c:685 handle_echo(): ** Programming Started **
  445. Debug: 1195 210 command.c:155 script_debug(): command - flash write_image erase build/project.elf
  446. Debug: 1196 210 jlink.c:2161 jlink_swd_run_queue(): Executing 2 queued transactions
  447. Debug: 1205 210 configuration.c:88 find_file(): found build/project.elf
  448. Debug: 1206 210 image.c:65 autodetect_image_type(): ELF image detected.
  449. Debug: 1207 210 configuration.c:88 find_file(): found build/project.elf
  450. Debug: 1208 210 image.c:630 image_elf_read_headers(): ELF32 image detected.
  451. Debug: 1209 210 jlink.c:2161 jlink_swd_run_queue(): Executing 4 queued transactions
  452. Debug: 1218 210 target.c:2628 target_read_u32(): address: 0xe0042000, value: 0x10006431
  453. Info : 1219 210 stm32f2x.c:1043 stm32x_probe(): device id = 0x10006431
  454. Debug: 1220 210 jlink.c:2161 jlink_swd_run_queue(): Executing 4 queued transactions
  455. Debug: 1229 210 target.c:2652 target_read_u16(): address: 0x1fff7a22, value: 0x0200
  456. Info : 1230 210 stm32f2x.c:1128 stm32x_probe(): flash size = 512 KiB
  457. Debug: 1231 210 stm32f2x.c:1180 stm32x_probe(): allocated 8 sectors
  458. Debug: 1232 210 stm32f2x.c:890 setup_sector(): sector 0: 16kBytes
  459. Debug: 1233 210 stm32f2x.c:890 setup_sector(): sector 1: 16kBytes
  460. Debug: 1234 210 stm32f2x.c:890 setup_sector(): sector 2: 16kBytes
  461. Debug: 1235 210 stm32f2x.c:890 setup_sector(): sector 3: 16kBytes
  462. Debug: 1236 210 stm32f2x.c:890 setup_sector(): sector 4: 64kBytes
  463. Debug: 1237 210 stm32f2x.c:890 setup_sector(): sector 5: 128kBytes
  464. Debug: 1238 210 stm32f2x.c:890 setup_sector(): sector 6: 128kBytes
  465. Debug: 1239 210 stm32f2x.c:890 setup_sector(): sector 7: 128kBytes
  466. Debug: 1240 210 core.c:926 flash_write_unlock_verify(): image_read_section: section = 0, t_section_num = 0, section_offset = 0, buffer_idx = 0, size_read = 108372
  467. Debug: 1241 210 image.c:659 image_elf32_read_section(): load segment 0 at 0x0 (sz = 0x1a754)
  468. Debug: 1242 210 image.c:665 image_elf32_read_section(): read elf: size = 0x1a754 at 0x1000
  469. Debug: 1243 210 core.c:926 flash_write_unlock_verify(): image_read_section: section = 1, t_section_num = 1, section_offset = 0, buffer_idx = 108372, size_read = 1476
  470. Debug: 1244 210 image.c:659 image_elf32_read_section(): load segment 1 at 0x0 (sz = 0x5c4)
  471. Debug: 1245 210 image.c:665 image_elf32_read_section(): read elf: size = 0x5c4 at 0x1c000
  472. Debug: 1246 210 jlink.c:2161 jlink_swd_run_queue(): Executing 4 queued transactions
  473. Debug: 1255 211 target.c:2628 target_read_u32(): address: 0x40023c10, value: 0x80000000
  474. Debug: 1256 211 target.c:2716 target_write_u32(): address: 0x40023c04, value: 0x45670123
  475. Debug: 1257 211 jlink.c:2161 jlink_swd_run_queue(): Executing 2 queued transactions
  476. Debug: 1266 211 target.c:2716 target_write_u32(): address: 0x40023c04, value: 0xcdef89ab
  477. Debug: 1267 211 jlink.c:2161 jlink_swd_run_queue(): Executing 2 queued transactions
  478. Debug: 1276 211 jlink.c:2161 jlink_swd_run_queue(): Executing 3 queued transactions
  479. Debug: 1285 211 target.c:2628 target_read_u32(): address: 0x40023c10, value: 0x00000000
  480. Debug: 1286 211 target.c:2716 target_write_u32(): address: 0x40023c10, value: 0x00010002
  481. Debug: 1287 211 jlink.c:2161 jlink_swd_run_queue(): Executing 2 queued transactions
  482. Debug: 1296 211 jlink.c:2161 jlink_swd_run_queue(): Executing 3 queued transactions
  483. Debug: 1305 212 target.c:2628 target_read_u32(): address: 0x40023c0c, value: 0x00010000
  484. Debug: 1306 212 stm32f2x.c:284 stm32x_wait_status_busy(): status: 0x10000
  485. Debug: 1307 213 jlink.c:2161 jlink_swd_run_queue(): Executing 3 queued transactions
  486. Debug: 1316 213 target.c:2628 target_read_u32(): address: 0x40023c0c, value: 0x00010000
  487. Debug: 1317 213 stm32f2x.c:284 stm32x_wait_status_busy(): status: 0x10000
  488. Debug: 1318 214 jlink.c:2161 jlink_swd_run_queue(): Executing 3 queued transactions
  489. Debug: 1327 214 target.c:2628 target_read_u32(): address: 0x40023c0c, value: 0x00010000
  490. Debug: 1328 214 stm32f2x.c:284 stm32x_wait_status_busy(): status: 0x10000
Advertisement
Add Comment
Please, Sign In to add comment