Microsoft Windows [Version 10.0.19044.3086] (c) Microsoft Corporation. Alle Rechte vorbehalten. c:\temp\ft>flash-fs2011-gd32f150c8.bat >log.txt xPack Open On-Chip Debugger 0.12.0+dev-01557-gdd1758272-dirty (2024-04-02-07:27) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html 0 Info : auto-selecting first available session transport "hla_swd". To override use 'transport select '. Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD Info : clock speed 1000 kHz Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748 Info : Target voltage: 3.229921 Info : [stm32f0x.cpu] Cortex-M3 r2p1 processor detected Info : [stm32f0x.cpu] target has 6 breakpoints, 4 watchpoints Info : [stm32f0x.cpu] Examination succeed Info : starting gdb server for stm32f0x.cpu on 3333 Info : Listening on port 3333 for gdb connections Info : Unable to match requested speed 1000 kHz, using 950 kHz Info : Unable to match requested speed 1000 kHz, using 950 kHz [stm32f0x.cpu] halted due to debug-request, current mode: Thread xPSR: 0x01000000 pc: 0x080005d0 msp: 0x20002000 xPack Open On-Chip Debugger 0.12.0+dev-01557-gdd1758272-dirty (2024-04-02-07:27) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html User : 3 5 options.c:52 configuration_output_handler(): debug_level: 3User : 4 7 options.c:52 configuration_output_handler(): Debug: 5 10 options.c:346 parse_cmdline_args(): ARGV[0] = "arch\win32-x64\bin\openocd.exe" Debug: 6 16 options.c:346 parse_cmdline_args(): ARGV[1] = "-s" Debug: 7 19 options.c:346 parse_cmdline_args(): ARGV[2] = "openocd/scripts" Debug: 8 22 options.c:346 parse_cmdline_args(): ARGV[3] = "-f" Debug: 9 25 options.c:346 parse_cmdline_args(): ARGV[4] = "interface/stlink.cfg" Debug: 10 30 options.c:346 parse_cmdline_args(): ARGV[5] = "-d3" Debug: 11 33 options.c:346 parse_cmdline_args(): ARGV[6] = "-c" Debug: 12 36 options.c:346 parse_cmdline_args(): ARGV[7] = "set CPUTAPID 0" Debug: 13 39 options.c:346 parse_cmdline_args(): ARGV[8] = "-f" Debug: 14 43 options.c:346 parse_cmdline_args(): ARGV[9] = "target/stm32f0x.cfg" Debug: 15 47 options.c:346 parse_cmdline_args(): ARGV[10] = "-c" Debug: 16 50 options.c:346 parse_cmdline_args(): ARGV[11] = "init; reset halt; stm32f0x mass_erase 0; program firmware/radpro-fs2011-gd32f150c8-2.0rc3-image.bin 0x08000000; reset run; exit;" Debug: 17 59 options.c:233 add_default_dirs(): bindir=/__w/openocd-xpack/openocd-xpack/build/win32-x64/application/bin Debug: 18 64 options.c:234 add_default_dirs(): pkgdatadir=/__w/openocd-xpack/openocd-xpack/build/win32-x64/application/openocd Debug: 19 69 options.c:235 add_default_dirs(): exepath=c:/temp/ft/arch/win32-x64/bin Debug: 20 74 options.c:236 add_default_dirs(): bin2data=../openocd Debug: 21 78 configuration.c:33 add_script_search_dir(): adding C:/Users/wnb/AppData/Roaming/OpenOCD Debug: 22 83 configuration.c:33 add_script_search_dir(): adding c:/temp/ft/arch/win32-x64/bin/../openocd/site Debug: 23 88 configuration.c:33 add_script_search_dir(): adding c:/temp/ft/arch/win32-x64/bin/../openocd/scripts Debug: 24 93 command.c:153 script_debug(): command - ocd_find interface/stlink.cfg Debug: 25 97 configuration.c:88 find_file(): found openocd/scripts/interface/stlink.cfg Debug: 26 102 command.c:153 script_debug(): command - adapter driver hla Debug: 27 106 command.c:153 script_debug(): command - hla_layout stlink Debug: 28 109 hla_interface.c:229 hl_interface_handle_layout_command(): hl_interface_handle_layout_command Debug: 29 114 command.c:153 script_debug(): command - hla_device_desc ST-LINK Debug: 30 118 hla_interface.c:216 hl_interface_handle_device_desc_command(): hl_interface_handle_device_desc_command Debug: 31 123 command.c:153 script_debug(): command - hla_vid_pid 0x0483 0x3744 0x0483 0x3748 0x0483 0x374b 0x0483 0x374d 0x0483 0x374e 0x0483 0x374f 0x0483 0x3752 0x0483 0x3753 0x0483 0x3754 0x0483 0x3755 0x0483 0x3757 User : 32 133 options.c:52 configuration_output_handler(): 0User : 33 135 options.c:52 configuration_output_handler(): Debug: 34 138 command.c:153 script_debug(): command - ocd_find target/stm32f0x.cfg Debug: 35 142 configuration.c:88 find_file(): found openocd/scripts/target/stm32f0x.cfg Debug: 36 146 command.c:153 script_debug(): command - ocd_find target/swj-dp.tcl Debug: 37 150 configuration.c:88 find_file(): found openocd/scripts/target/swj-dp.tcl Debug: 38 154 command.c:153 script_debug(): command - transport select Info : 39 157 transport.c:267 handle_transport_select(): auto-selecting first available session transport "hla_swd". To override use 'transport select '. Debug: 40 166 hla_transport.c:211 hl_swd_transport_select(): hl_swd_transport_select Debug: 41 169 command.c:153 script_debug(): command - ocd_find mem_helper.tcl Debug: 42 172 configuration.c:88 find_file(): found openocd/scripts/mem_helper.tcl Debug: 43 177 command.c:153 script_debug(): command - add_usage_text mrw address Debug: 44 181 command.c:153 script_debug(): command - add_help_text mrw Returns value of word in memory. Debug: 45 185 command.c:153 script_debug(): command - add_usage_text mrh address Debug: 46 189 command.c:153 script_debug(): command - add_help_text mrh Returns value of halfword in memory. Debug: 47 194 command.c:153 script_debug(): command - add_usage_text mrb address Debug: 48 198 command.c:153 script_debug(): command - add_help_text mrb Returns value of byte in memory. Debug: 49 202 command.c:153 script_debug(): command - add_usage_text mmw address setbits clearbits Debug: 50 208 command.c:153 script_debug(): command - add_help_text mmw Modify word in memory. new_val = (old_val & ~clearbits) | setbits; Debug: 51 213 command.c:153 script_debug(): command - transport select Debug: 52 216 command.c:153 script_debug(): command - transport select Debug: 53 220 command.c:153 script_debug(): command - swd newdap stm32f0x cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0 Debug: 54 229 tcl.c:401 handle_jtag_newtap_args(): Creating New Tap, Chip: stm32f0x, Tap: cpu, Dotted: stm32f0x.cpu, 8 params Debug: 55 236 core.c:1474 jtag_tap_init(): Created Tap: stm32f0x.cpu @ abs position 0, irlen 4, capture: 0x1 mask: 0xf Debug: 56 242 command.c:153 script_debug(): command - dap create stm32f0x.dap -chain-position stm32f0x.cpu Debug: 57 247 command.c:153 script_debug(): command - target create stm32f0x.cpu cortex_m -endian little -dap stm32f0x.dap Info : 58 255 target.c:5730 target_create(): The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD Debug: 59 261 hla_target.c:193 adapter_target_create(): adapter_target_create Debug: 60 265 hla_target.c:163 adapter_init_arch_info(): adapter_init_arch_info Debug: 61 269 command.c:259 register_command(): command 'rtt' is already registered Debug: 62 273 command.c:259 register_command(): command 'tpiu' is already registered Debug: 63 277 command.c:153 script_debug(): command - stm32f0x.cpu configure -work-area-phys 0x20000000 -work-area-size 0x1000 -work-area-backup 0 Debug: 64 284 target.c:2130 target_free_all_working_areas_restore(): freeing all working areas Debug: 65 288 target.c:2130 target_free_all_working_areas_restore(): freeing all working areas Debug: 66 292 target.c:2130 target_free_all_working_areas_restore(): freeing all working areas Debug: 67 297 command.c:153 script_debug(): command - flash bank stm32f0x.flash stm32f1x 0x08000000 0 0 0 stm32f0x.cpu Debug: 68 303 tcl.c:1306 handle_flash_bank_command(): 'stm32f1x' driver usage field missing Debug: 69 307 command.c:153 script_debug(): command - adapter speed 1000 Debug: 70 310 adapter.c:250 adapter_config_khz(): handle adapter khz Debug: 71 313 adapter.c:214 adapter_khz_to_speed(): convert khz to adapter specific speed value Debug: 72 317 adapter.c:214 adapter_khz_to_speed(): convert khz to adapter specific speed value Debug: 73 321 command.c:153 script_debug(): command - adapter srst delay 100 Debug: 74 324 command.c:153 script_debug(): command - reset_config srst_nogate Debug: 75 329 command.c:153 script_debug(): command - transport select Debug: 76 332 command.c:153 script_debug(): command - stm32f0x.cpu configure -event examine-end stm32f0x_default_examine_end Debug: 77 337 command.c:153 script_debug(): command - stm32f0x.cpu configure -event reset-start stm32f0x_default_reset_start Debug: 78 344 command.c:153 script_debug(): command - stm32f0x.cpu configure -event reset-init stm32f0x_default_reset_init Debug: 79 350 command.c:153 script_debug(): command - init Debug: 80 353 command.c:153 script_debug(): command - target init Debug: 81 357 command.c:153 script_debug(): command - target names Debug: 82 360 command.c:153 script_debug(): command - stm32f0x.cpu cget -event gdb-flash-erase-start Debug: 83 364 command.c:153 script_debug(): command - stm32f0x.cpu configure -event gdb-flash-erase-start reset init Debug: 84 369 command.c:153 script_debug(): command - stm32f0x.cpu cget -event gdb-flash-write-end Debug: 85 375 command.c:153 script_debug(): command - stm32f0x.cpu configure -event gdb-flash-write-end reset halt Debug: 86 380 command.c:153 script_debug(): command - stm32f0x.cpu cget -event gdb-attach Debug: 87 384 command.c:153 script_debug(): command - stm32f0x.cpu configure -event gdb-attach halt 1000 Debug: 88 390 target.c:1588 handle_target_init_command(): Initializing targets... Debug: 89 393 hla_target.c:183 adapter_init_target(): adapter_init_target Debug: 90 397 semihosting_common.c:107 semihosting_common_init(): Debug: 91 400 hla_interface.c:110 hl_interface_init(): hl_interface_init Debug: 92 404 hla_layout.c:83 hl_layout_init(): hl_layout_init Debug: 93 407 adapter.c:214 adapter_khz_to_speed(): convert khz to adapter specific speed value Debug: 94 411 adapter.c:218 adapter_khz_to_speed(): have adapter set up Debug: 95 414 adapter.c:214 adapter_khz_to_speed(): convert khz to adapter specific speed value Debug: 96 419 adapter.c:218 adapter_khz_to_speed(): have adapter set up Info : 97 422 adapter.c:178 adapter_init(): clock speed 1000 kHz Debug: 98 425 openocd.c:133 handle_init_command(): Debug Adapter init complete Debug: 99 428 command.c:153 script_debug(): command - transport init Debug: 100 433 transport.c:219 handle_transport_init(): handle_transport_init Debug: 101 436 hla_transport.c:163 hl_transport_init(): hl_transport_init Debug: 102 439 hla_transport.c:180 hl_transport_init(): current transport hla_swd Debug: 103 442 hla_interface.c:43 hl_interface_open(): hl_interface_open Debug: 104 447 hla_layout.c:28 hl_layout_open(): hl_layout_open Debug: 105 449 stlink_usb.c:3732 stlink_open(): stlink_open Debug: 106 452 stlink_usb.c:3744 stlink_open(): transport: 4 vid: 0x0483 pid: 0x3744 serial: Debug: 107 456 stlink_usb.c:3744 stlink_open(): transport: 4 vid: 0x0483 pid: 0x3748 serial: Debug: 108 460 stlink_usb.c:3744 stlink_open(): transport: 4 vid: 0x0483 pid: 0x374b serial: Debug: 109 464 stlink_usb.c:3744 stlink_open(): transport: 4 vid: 0x0483 pid: 0x374d serial: Debug: 110 469 stlink_usb.c:3744 stlink_open(): transport: 4 vid: 0x0483 pid: 0x374e serial: Debug: 111 473 stlink_usb.c:3744 stlink_open(): transport: 4 vid: 0x0483 pid: 0x374f serial: Debug: 112 478 stlink_usb.c:3744 stlink_open(): transport: 4 vid: 0x0483 pid: 0x3752 serial: Debug: 113 483 stlink_usb.c:3744 stlink_open(): transport: 4 vid: 0x0483 pid: 0x3753 serial: Debug: 114 488 stlink_usb.c:3744 stlink_open(): transport: 4 vid: 0x0483 pid: 0x3754 serial: Debug: 115 493 stlink_usb.c:3744 stlink_open(): transport: 4 vid: 0x0483 pid: 0x3755 serial: Debug: 116 497 stlink_usb.c:3744 stlink_open(): transport: 4 vid: 0x0483 pid: 0x3757 serial: Info : 117 705 stlink_usb.c:1471 stlink_usb_version(): STLINK V2J37S7 (API v2) VID:PID 0483:3748 Debug: 118 709 stlink_usb.c:1696 stlink_usb_exit_mode(): MODE: 0x01 Info : 119 713 stlink_usb.c:1507 stlink_usb_check_voltage(): Target voltage: 3.228346 Debug: 120 716 stlink_usb.c:1764 stlink_usb_init_mode(): MODE: 0x01 Debug: 121 718 stlink_usb.c:3130 stlink_dump_speed_map(): Supported clock speeds are: Debug: 122 723 stlink_usb.c:3133 stlink_dump_speed_map(): 4000 kHz Debug: 123 726 stlink_usb.c:3133 stlink_dump_speed_map(): 1800 kHz Debug: 124 730 stlink_usb.c:3133 stlink_dump_speed_map(): 1200 kHz Debug: 125 733 stlink_usb.c:3133 stlink_dump_speed_map(): 950 kHz Debug: 126 737 stlink_usb.c:3133 stlink_dump_speed_map(): 480 kHz Debug: 127 740 stlink_usb.c:3133 stlink_dump_speed_map(): 240 kHz Debug: 128 743 stlink_usb.c:3133 stlink_dump_speed_map(): 125 kHz Debug: 129 745 stlink_usb.c:3133 stlink_dump_speed_map(): 100 kHz Debug: 130 748 stlink_usb.c:3133 stlink_dump_speed_map(): 50 kHz Debug: 131 752 stlink_usb.c:3133 stlink_dump_speed_map(): 25 kHz Debug: 132 755 stlink_usb.c:3133 stlink_dump_speed_map(): 15 kHz Debug: 133 758 stlink_usb.c:3133 stlink_dump_speed_map(): 5 kHz Debug: 134 766 stlink_usb.c:1824 stlink_usb_init_mode(): MODE: 0x02 Debug: 135 770 stlink_usb.c:4127 stlink_usb_open_ap(): AP 0 enabled Debug: 136 774 stlink_usb.c:3820 stlink_open(): Using TAR autoincrement: 4096 Debug: 137 777 core.c:640 adapter_system_reset(): SRST line released Debug: 138 931 hla_interface.c:68 hl_interface_init_target(): hl_interface_init_target Debug: 139 935 stlink_usb.c:2057 stlink_usb_idcode(): IDCODE: 0x1BA01477 Debug: 140 938 command.c:153 script_debug(): command - dap init Debug: 141 941 arm_dap.c:96 dap_init_all(): Initializing all DAPs ... Debug: 142 944 openocd.c:150 handle_init_command(): Examining targets... Debug: 143 948 target.c:674 target_examine_one(): [stm32f0x.cpu] Examination started Debug: 144 952 target.c:1774 target_call_event_callbacks(): target event 19 (examine-start) for core stm32f0x.cpu Debug: 145 956 hla_target.c:601 adapter_read_memory(): adapter_read_memory 0xe000ed00 4 1 Debug: 146 962 target.c:2562 target_read_u32(): address: 0xe000ed00, value: 0x412fc231 Info : 147 967 cortex_m.c:2547 cortex_m_examine(): [stm32f0x.cpu] Cortex-M3 r2p1 processor detected Debug: 148 972 cortex_m.c:2562 cortex_m_examine(): [stm32f0x.cpu] cpuid: 0x412fc231 Debug: 149 978 hla_target.c:601 adapter_read_memory(): adapter_read_memory 0xe000edf0 4 1 Debug: 150 983 target.c:2562 target_read_u32(): address: 0xe000edf0, value: 0x01010001 Debug: 151 987 target.c:2650 target_write_u32(): address: 0xe000edfc, value: 0x01000000 Debug: 152 991 hla_target.c:616 adapter_write_memory(): adapter_write_memory 0xe000edfc 4 1 Debug: 153 997 hla_target.c:601 adapter_read_memory(): adapter_read_memory 0xe0002000 4 1 Debug: 154 1001 target.c:2562 target_read_u32(): address: 0xe0002000, value: 0x00000260 Debug: 155 1004 target.c:2650 target_write_u32(): address: 0xe0002008, value: 0x00000000 Debug: 156 1009 hla_target.c:616 adapter_write_memory(): adapter_write_memory 0xe0002008 4 1 Debug: 157 1014 target.c:2650 target_write_u32(): address: 0xe000200c, value: 0x00000000 Debug: 158 1017 hla_target.c:616 adapter_write_memory(): adapter_write_memory 0xe000200c 4 1 Debug: 159 1023 target.c:2650 target_write_u32(): address: 0xe0002010, value: 0x00000000 Debug: 160 1027 hla_target.c:616 adapter_write_memory(): adapter_write_memory 0xe0002010 4 1 Debug: 161 1032 target.c:2650 target_write_u32(): address: 0xe0002014, value: 0x00000000 Debug: 162 1035 hla_target.c:616 adapter_write_memory(): adapter_write_memory 0xe0002014 4 1 Debug: 163 1041 target.c:2650 target_write_u32(): address: 0xe0002018, value: 0x00000000 Debug: 164 1045 hla_target.c:616 adapter_write_memory(): adapter_write_memory 0xe0002018 4 1 Debug: 165 1051 target.c:2650 target_write_u32(): address: 0xe000201c, value: 0x00000000 Debug: 166 1057 hla_target.c:616 adapter_write_memory(): adapter_write_memory 0xe000201c 4 1 Debug: 167 1062 target.c:2650 target_write_u32(): address: 0xe0002020, value: 0x00000000 Debug: 168 1066 hla_target.c:616 adapter_write_memory(): adapter_write_memory 0xe0002020 4 1 Debug: 169 1072 target.c:2650 target_write_u32(): address: 0xe0002024, value: 0x00000000 Debug: 170 1075 hla_target.c:616 adapter_write_memory(): adapter_write_memory 0xe0002024 4 1 Debug: 171 1081 cortex_m.c:2678 cortex_m_examine(): [stm32f0x.cpu] FPB fpcr 0x260, numcode 6, numlit 2 Debug: 172 1088 hla_target.c:601 adapter_read_memory(): adapter_read_memory 0xe0001000 4 1 Debug: 173 1093 target.c:2562 target_read_u32(): address: 0xe0001000, value: 0x40000000 Debug: 174 1098 cortex_m.c:2364 cortex_m_dwt_setup(): [stm32f0x.cpu] DWT_CTRL: 0x40000000 Debug: 175 1102 hla_target.c:601 adapter_read_memory(): adapter_read_memory 0xe0001fbc 4 1 Debug: 176 1107 target.c:2562 target_read_u32(): address: 0xe0001fbc, value: 0x00000000 Debug: 177 1110 cortex_m.c:2371 cortex_m_dwt_setup(): [stm32f0x.cpu] DWT_DEVARCH: 0x0 Debug: 178 1116 target.c:2650 target_write_u32(): address: 0xe0001028, value: 0x00000000 Debug: 179 1120 hla_target.c:616 adapter_write_memory(): adapter_write_memory 0xe0001028 4 1 Debug: 180 1125 target.c:2650 target_write_u32(): address: 0xe0001038, value: 0x00000000 Debug: 181 1130 hla_target.c:616 adapter_write_memory(): adapter_write_memory 0xe0001038 4 1 Debug: 182 1135 target.c:2650 target_write_u32(): address: 0xe0001048, value: 0x00000000 Debug: 183 1138 hla_target.c:616 adapter_write_memory(): adapter_write_memory 0xe0001048 4 1 Debug: 184 1145 target.c:2650 target_write_u32(): address: 0xe0001058, value: 0x00000000 Debug: 185 1148 hla_target.c:616 adapter_write_memory(): adapter_write_memory 0xe0001058 4 1 Debug: 186 1153 cortex_m.c:2418 cortex_m_dwt_setup(): [stm32f0x.cpu] DWT dwtcr 0x40000000, comp 4, watch/trigger Info : 187 1158 cortex_m.c:2688 cortex_m_examine(): [stm32f0x.cpu] target has 6 breakpoints, 4 watchpoints Debug: 188 1163 target.c:1774 target_call_event_callbacks(): target event 21 (examine-end) for core stm32f0x.cpu Debug: 189 1168 target.c:4667 target_handle_event(): target: stm32f0x.cpu (hla_target) event: 21 (examine-end) action: stm32f0x_default_examine_end Debug: 190 1176 command.c:153 script_debug(): command - read_memory 0x40015804 32 1 Debug: 191 1181 hla_target.c:601 adapter_read_memory(): adapter_read_memory 0x40015804 4 1 Debug: 192 1187 command.c:153 script_debug(): command - mww 0x40015804 6 Debug: 193 1190 hla_target.c:616 adapter_write_memory(): adapter_write_memory 0x40015804 4 1 Debug: 194 1196 command.c:153 script_debug(): command - read_memory 0x40015808 32 1 Debug: 195 1199 hla_target.c:601 adapter_read_memory(): adapter_read_memory 0x40015808 4 1 Debug: 196 1205 command.c:153 script_debug(): command - mww 0x40015808 6144 Debug: 197 1208 hla_target.c:616 adapter_write_memory(): adapter_write_memory 0x40015808 4 1 Info : 198 1213 target.c:690 target_examine_one(): [stm32f0x.cpu] Examination succeed Debug: 199 1216 command.c:153 script_debug(): command - flash init Debug: 200 1220 tcl.c:1363 handle_flash_init_command(): Initializing flash devices... Debug: 201 1224 command.c:153 script_debug(): command - nand init Debug: 202 1227 tcl.c:484 handle_nand_init_command(): Initializing NAND devices... Debug: 203 1231 command.c:153 script_debug(): command - pld init Debug: 204 1235 pld.c:337 handle_pld_init_command(): Initializing PLDs... Debug: 205 1238 command.c:153 script_debug(): command - tpiu init Info : 206 1241 gdb_server.c:3834 gdb_target_start(): starting gdb server for stm32f0x.cpu on 3333 Info : 207 1246 server.c:298 add_service(): Listening on port 3333 for gdb connections Debug: 208 1252 command.c:153 script_debug(): command - target names Debug: 209 1255 command.c:153 script_debug(): command - reset halt Debug: 210 1259 target.c:1793 target_call_reset_callbacks(): target reset 2 (halt) Debug: 211 1264 command.c:153 script_debug(): command - target names Debug: 212 1268 command.c:153 script_debug(): command - stm32f0x.cpu invoke-event reset-start Debug: 213 1272 target.c:4667 target_handle_event(): target: stm32f0x.cpu (hla_target) event: 9 (reset-start) action: stm32f0x_default_reset_start Debug: 214 1279 command.c:153 script_debug(): command - adapter speed 1000 Debug: 215 1283 adapter.c:250 adapter_config_khz(): handle adapter khz Debug: 216 1286 adapter.c:214 adapter_khz_to_speed(): convert khz to adapter specific speed value Debug: 217 1290 adapter.c:218 adapter_khz_to_speed(): have adapter set up Info : 218 1295 stlink_usb.c:3073 stlink_match_speed_map(): Unable to match requested speed 1000 kHz, using 950 kHz Debug: 219 1299 adapter.c:214 adapter_khz_to_speed(): convert khz to adapter specific speed value Debug: 220 1303 adapter.c:218 adapter_khz_to_speed(): have adapter set up Info : 221 1308 stlink_usb.c:3073 stlink_match_speed_map(): Unable to match requested speed 1000 kHz, using 950 kHz Debug: 222 1312 command.c:153 script_debug(): command - transport select Debug: 223 1315 command.c:153 script_debug(): command - transport select Debug: 224 1319 command.c:153 script_debug(): command - stm32f0x.cpu invoke-event examine-start Debug: 225 1323 command.c:153 script_debug(): command - stm32f0x.cpu arp_examine allow-defer Debug: 226 1327 command.c:153 script_debug(): command - stm32f0x.cpu invoke-event examine-end Debug: 227 1332 target.c:4667 target_handle_event(): target: stm32f0x.cpu (hla_target) event: 21 (examine-end) action: stm32f0x_default_examine_end Debug: 228 1340 command.c:153 script_debug(): command - read_memory 0x40015804 32 1 Debug: 229 1344 hla_target.c:601 adapter_read_memory(): adapter_read_memory 0x40015804 4 1 Debug: 230 1350 command.c:153 script_debug(): command - mww 0x40015804 6 Debug: 231 1354 hla_target.c:616 adapter_write_memory(): adapter_write_memory 0x40015804 4 1 Debug: 232 1360 command.c:153 script_debug(): command - read_memory 0x40015808 32 1 Debug: 233 1363 hla_target.c:601 adapter_read_memory(): adapter_read_memory 0x40015808 4 1 Debug: 234 1370 command.c:153 script_debug(): command - mww 0x40015808 6144 Debug: 235 1372 hla_target.c:616 adapter_write_memory(): adapter_write_memory 0x40015808 4 1 Debug: 236 1378 command.c:153 script_debug(): command - stm32f0x.cpu invoke-event reset-assert-pre Debug: 237 1383 command.c:153 script_debug(): command - transport select Debug: 238 1386 command.c:153 script_debug(): command - stm32f0x.cpu arp_reset assert 1 Debug: 239 1390 target.c:2130 target_free_all_working_areas_restore(): freeing all working areas Debug: 240 1394 hla_target.c:336 hl_assert_reset(): hl_assert_reset Debug: 241 1404 command.c:153 script_debug(): command - stm32f0x.cpu invoke-event reset-assert-post Debug: 242 1408 command.c:153 script_debug(): command - stm32f0x.cpu invoke-event reset-deassert-pre Debug: 243 1414 command.c:153 script_debug(): command - transport select Debug: 244 1417 command.c:153 script_debug(): command - stm32f0x.cpu arp_reset deassert 1 Debug: 245 1421 target.c:2130 target_free_all_working_areas_restore(): freeing all working areas Debug: 246 1425 hla_target.c:402 hl_deassert_reset(): hl_deassert_reset Debug: 247 1429 command.c:153 script_debug(): command - stm32f0x.cpu invoke-event reset-deassert-post Debug: 248 1433 command.c:153 script_debug(): command - transport select Debug: 249 1436 command.c:153 script_debug(): command - stm32f0x.cpu was_examined Debug: 250 1440 command.c:153 script_debug(): command - stm32f0x.cpu arp_waitstate halted 1000 Debug: 251 1445 hla_target.c:601 adapter_read_memory(): adapter_read_memory 0xe000edf8 4 1 Debug: 252 1450 target.c:2562 target_read_u32(): address: 0xe000edf8, value: 0x00000000 Debug: 253 1454 armv7m.c:371 armv7m_read_core_reg(): read r0 value 0x000003e8 Debug: 254 1459 armv7m.c:371 armv7m_read_core_reg(): read r1 value 0x0000aaaa Debug: 255 1463 armv7m.c:371 armv7m_read_core_reg(): read r2 value 0x40003000 Debug: 256 1467 armv7m.c:371 armv7m_read_core_reg(): read r3 value 0x20000d50 Debug: 257 1471 armv7m.c:371 armv7m_read_core_reg(): read r4 value 0x200000d0 Debug: 258 1476 armv7m.c:371 armv7m_read_core_reg(): read r5 value 0x00000430 Debug: 259 1480 armv7m.c:371 armv7m_read_core_reg(): read r6 value 0xebc23288 Debug: 260 1484 armv7m.c:371 armv7m_read_core_reg(): read r7 value 0x62ff93c8 Debug: 261 1489 armv7m.c:371 armv7m_read_core_reg(): read r8 value 0xe24632c8 Debug: 262 1492 armv7m.c:371 armv7m_read_core_reg(): read r9 value 0xa21e32c8 Debug: 263 1496 armv7m.c:371 armv7m_read_core_reg(): read r10 value 0xfbf732ff Debug: 264 1500 armv7m.c:371 armv7m_read_core_reg(): read r11 value 0x657633b7 Debug: 265 1504 armv7m.c:371 armv7m_read_core_reg(): read r12 value 0x20000710 Debug: 266 1508 armv7m.c:371 armv7m_read_core_reg(): read sp value 0x20002000 Debug: 267 1512 armv7m.c:371 armv7m_read_core_reg(): read lr value 0xffffffff Debug: 268 1516 armv7m.c:371 armv7m_read_core_reg(): read pc value 0x080005d0 Debug: 269 1521 armv7m.c:371 armv7m_read_core_reg(): read xpsr value 0x01000000 Debug: 270 1525 armv7m.c:371 armv7m_read_core_reg(): read msp value 0x20002000 Debug: 271 1529 armv7m.c:371 armv7m_read_core_reg(): read psp value 0xebcfb2e8 Debug: 272 1534 armv7m.c:371 armv7m_read_core_reg(): read pmsk_bpri_fltmsk_ctrl value 0x00000000 Debug: 273 1539 hla_target.c:278 adapter_debug_entry(): entered debug state in core mode: Thread at PC 0x080005d0, target->state: halted Debug: 274 1544 target.c:1774 target_call_event_callbacks(): target event 0 (gdb-halt) for core stm32f0x.cpu Debug: 275 1550 target.c:1774 target_call_event_callbacks(): target event 1 (halted) for core stm32f0x.cpu User : 276 1554 armv7m.c:741 armv7m_arch_state(): [stm32f0x.cpu] halted due to debug-request, current mode: Thread xPSR: 0x01000000 pc: 0x080005d0 msp: 0x20002000 Debug: 277 1561 hla_target.c:323 adapter_poll(): halted: PC: 0x080005d0 Debug: 278 1565 command.c:153 script_debug(): command - stm32f0x.cpu curstate Debug: 279 1569 command.c:153 script_debug(): command - stm32f0x.cpu invoke-event reset-end Debug: 280 1597 command.c:153 script_debug(): command - stm32f1x mass_erase 0 Debug: 281 1601 hla_target.c:601 adapter_read_memory(): adapter_read_memory 0xe0042000 4 1 Debug: 282 1606 target.c:2562 target_read_u32(): address: 0xe0042000, value: 0x13030410 Info : 283 1611 stm32f1x.c:828 stm32x_probe(): device id = 0x13030410 Debug: 284 1615 hla_target.c:601 adapter_read_memory(): adapter_read_memory 0x1ffff7e0 2 1 Debug: 285 1619 target.c:2586 target_read_u16(): address: 0x1ffff7e0, value: 0x0040 Info : 286 1622 stm32f1x.c:1010 stm32x_probe(): flash size = 64 KiB Debug: 287 1626 target.c:2650 target_write_u32(): address: 0x40022004, value: 0x45670123 Debug: 288 1630 hla_target.c:616 adapter_write_memory(): adapter_write_memory 0x40022004 4 1 Debug: 289 1634 target.c:2650 target_write_u32(): address: 0x40022004, value: 0xcdef89ab Debug: 290 1637 hla_target.c:616 adapter_write_memory(): adapter_write_memory 0x40022004 4 1 Debug: 291 1642 target.c:2650 target_write_u32(): address: 0x40022010, value: 0x00000004 Debug: 292 1645 hla_target.c:616 adapter_write_memory(): adapter_write_memory 0x40022010 4 1 Debug: 293 1650 target.c:2650 target_write_u32(): address: 0x40022010, value: 0x00000044 Debug: 294 1653 hla_target.c:616 adapter_write_memory(): adapter_write_memory 0x40022010 4 1 Debug: 295 1658 hla_target.c:601 adapter_read_memory(): adapter_read_memory 0x4002200c 4 1 Debug: 296 1661 target.c:2562 target_read_u32(): address: 0x4002200c, value: 0x00000001 Debug: 297 1665 stm32f1x.c:173 stm32x_wait_status_busy(): status: 0x1 Debug: 298 1684 hla_target.c:601 adapter_read_memory(): adapter_read_memory 0x4002200c 4 1 Debug: 299 1689 target.c:2562 target_read_u32(): address: 0x4002200c, value: 0x00000001 Debug: 300 1692 stm32f1x.c:173 stm32x_wait_status_busy(): status: 0x1 Debug: 301 1701 hla_target.c:601 adapter_read_memory(): adapter_read_memory 0x4002200c 4 1 Debug: 302 1706 target.c:2562 target_read_u32(): address: 0x4002200c, value: 0x00000001 Debug: 303 1710 stm32f1x.c:173 stm32x_wait_status_busy(): status: 0x1 Debug: 304 1715 hla_target.c:601 adapter_read_memory(): adapter_read_memory 0x4002200c 4 1 Debug: 305 1721 target.c:2562 target_read_u32(): address: 0x4002200c, value: 0x00000001 Debug: 306 1724 stm32f1x.c:173 stm32x_wait_status_busy(): status: 0x1 Debug: 307 1730 hla_target.c:601 adapter_read_memory(): adapter_read_memory 0x4002200c 4 1 Debug: 308 1736 target.c:2562 target_read_u32(): address: 0x4002200c, value: 0x00000001 Debug: 309 1740 stm32f1x.c:173 stm32x_wait_status_busy(): status: 0x1 Debug: 310 1745 hla_target.c:601 adapter_read_memory(): adapter_read_memory 0x4002200c 4 1 Debug: 311 1751 target.c:2562 target_read_u32(): address: 0x4002200c, value: 0x00000001 Debug: 312 1755 stm32f1x.c:173 stm32x_wait_status_busy(): status: 0x1 Debug: 313 1760 hla_target.c:601 adapter_read_memory(): adapter_read_memory 0x4002200c 4 1 Debug: 314 1767 target.c:2562 target_read_u32(): address: 0x4002200c, value: 0x00000001 Debug: 315 1770 stm32f1x.c:173 stm32x_wait_status_busy(): status: 0x1 Debug: 316 1775 hla_target.c:601 adapter_read_memory(): adapter_read_memory 0x4002200c 4 1 Debug: 317 1781 target.c:2562 target_read_u32(): address: 0x4002200c, value: 0x00000001 Debug: 318 1784 stm32f1x.c:173 stm32x_wait_status_busy(): status: 0x1 Debug: 319 1790 hla_target.c:601 adapter_read_memory(): adapter_read_memory 0x4002200c 4 1 Debug: 320 1796 target.c:2562 target_read_u32(): address: 0x4002200c, value: 0x00000001 Debug: 321 1800 stm32f1x.c:173 stm32x_wait_status_busy(): status: 0x1 Debug: 322 1805 hla_target.c:601 adapter_read_memory(): adapter_read_memory 0x4002200c 4 1 Debug: 323 1810 target.c:2562 target_read_u32(): address: 0x4002200c, value: 0x00000001 Debug: 324 1813 stm32f1x.c:173 stm32x_wait_status_busy(): status: 0x1 Debug: 325 1820 hla_target.c:601 adapter_read_memory(): adapter_read_memory 0x4002200c 4 1 Debug: 326 1826 target.c:2562 target_read_u32(): address: 0x4002200c, value: 0x00000001 Debug: 327 1829 stm32f1x.c:173 stm32x_wait_status_busy(): status: 0x1 Debug: 328 1835 hla_target.c:601 adapter_read_memory(): adapter_read_memory 0x4002200c 4 1 Debug: 329 1840 target.c:2562 target_read_u32(): address: 0x4002200c, value: 0x00000000 Debug: 330 1844 stm32f1x.c:173 stm32x_wait_status_busy(): status: 0x0 Debug: 331 1848 target.c:2650 target_write_u32(): address: 0x40022010, value: 0x00000080 Debug: 332 1852 hla_target.c:616 adapter_write_memory(): adapter_write_memory 0x40022010 4 1 Debug: 333 1857 command.c:153 script_debug(): command - init Debug: 334 1859 command.c:153 script_debug(): command - reset init Debug: 335 1863 target.c:1793 target_call_reset_callbacks(): target reset 3 (init) Debug: 336 1868 command.c:153 script_debug(): command - target names Debug: 337 1872 command.c:153 script_debug(): command - stm32f0x.cpu invoke-event reset-start Debug: 338 1875 target.c:4667 target_handle_event(): target: stm32f0x.cpu (hla_target) event: 9 (reset-start) action: stm32f0x_default_reset_start Debug: 339 1884 command.c:153 script_debug(): command - adapter speed 1000 Debug: 340 1887 adapter.c:250 adapter_config_khz(): handle adapter khz Debug: 341 1890 adapter.c:214 adapter_khz_to_speed(): convert khz to adapter specific speed value Debug: 342 1893 adapter.c:218 adapter_khz_to_speed(): have adapter set up Info : 343 1898 stlink_usb.c:3073 stlink_match_speed_map(): Unable to match requested speed 1000 kHz, using 950 kHz Debug: 344 1903 adapter.c:214 adapter_khz_to_speed(): convert khz to adapter specific speed value Debug: 345 1907 adapter.c:218 adapter_khz_to_speed(): have adapter set up Info : 346 1910 stlink_usb.c:3073 stlink_match_speed_map(): Unable to match requested speed 1000 kHz, using 950 kHz Debug: 347 1917 command.c:153 script_debug(): command - transport select Debug: 348 1920 command.c:153 script_debug(): command - transport select Debug: 349 1923 command.c:153 script_debug(): command - stm32f0x.cpu invoke-event examine-start Debug: 350 1928 command.c:153 script_debug(): command - stm32f0x.cpu arp_examine allow-defer Debug: 351 1932 command.c:153 script_debug(): command - stm32f0x.cpu invoke-event examine-end Debug: 352 1936 target.c:4667 target_handle_event(): target: stm32f0x.cpu (hla_target) event: 21 (examine-end) action: stm32f0x_default_examine_end Debug: 353 1943 command.c:153 script_debug(): command - read_memory 0x40015804 32 1 Debug: 354 1947 hla_target.c:601 adapter_read_memory(): adapter_read_memory 0x40015804 4 1 Debug: 355 1953 command.c:153 script_debug(): command - mww 0x40015804 6 Debug: 356 1958 hla_target.c:616 adapter_write_memory(): adapter_write_memory 0x40015804 4 1 Debug: 357 1963 command.c:153 script_debug(): command - read_memory 0x40015808 32 1 Debug: 358 1966 hla_target.c:601 adapter_read_memory(): adapter_read_memory 0x40015808 4 1 Debug: 359 1971 command.c:153 script_debug(): command - mww 0x40015808 6144 Debug: 360 1974 hla_target.c:616 adapter_write_memory(): adapter_write_memory 0x40015808 4 1 Debug: 361 1980 command.c:153 script_debug(): command - stm32f0x.cpu invoke-event reset-assert-pre Debug: 362 1984 command.c:153 script_debug(): command - transport select Debug: 363 1988 command.c:153 script_debug(): command - stm32f0x.cpu arp_reset assert 1 Debug: 364 1992 target.c:2130 target_free_all_working_areas_restore(): freeing all working areas Debug: 365 1996 hla_target.c:336 hl_assert_reset(): hl_assert_reset Debug: 366 2003 command.c:153 script_debug(): command - stm32f0x.cpu invoke-event reset-assert-post Debug: 367 2007 command.c:153 script_debug(): command - stm32f0x.cpu invoke-event reset-deassert-pre Debug: 368 2011 command.c:153 script_debug(): command - transport select Debug: 369 2015 command.c:153 script_debug(): command - stm32f0x.cpu arp_reset deassert 1 Debug: 370 2020 target.c:2130 target_free_all_working_areas_restore(): freeing all working areas Debug: 371 2023 hla_target.c:402 hl_deassert_reset(): hl_deassert_reset Debug: 372 2027 command.c:153 script_debug(): command - stm32f0x.cpu invoke-event reset-deassert-post Debug: 373 2033 command.c:153 script_debug(): command - transport select Debug: 374 2036 command.c:153 script_debug(): command - stm32f0x.cpu was_examined Debug: 375 2039 command.c:153 script_debug(): command - stm32f0x.cpu arp_waitstate halted 1000 Debug: 376 2044 hla_target.c:601 adapter_read_memory(): adapter_read_memory 0xe000edf8 4 1 Debug: 377 2049 target.c:2562 target_read_u32(): address: 0xe000edf8, value: 0x00000000 Debug: 378 2053 armv7m.c:371 armv7m_read_core_reg(): read r0 value 0x20000000 Debug: 379 2057 armv7m.c:371 armv7m_read_core_reg(): read r1 value 0x20000050 Debug: 380 2061 armv7m.c:371 armv7m_read_core_reg(): read r2 value 0x20000e40 Debug: 381 2065 armv7m.c:371 armv7m_read_core_reg(): read r3 value 0x00000000 Debug: 382 2069 armv7m.c:371 armv7m_read_core_reg(): read r4 value 0x00000001 Debug: 383 2072 armv7m.c:371 armv7m_read_core_reg(): read r5 value 0x00000000 Debug: 384 2077 armv7m.c:371 armv7m_read_core_reg(): read r6 value 0x08008190 Debug: 385 2082 armv7m.c:371 armv7m_read_core_reg(): read r7 value 0x62ff93c8 Debug: 386 2085 armv7m.c:371 armv7m_read_core_reg(): read r8 value 0xe24632c8 Debug: 387 2089 armv7m.c:371 armv7m_read_core_reg(): read r9 value 0xa21e32c8 Debug: 388 2093 armv7m.c:371 armv7m_read_core_reg(): read r10 value 0xfbf732ff Debug: 389 2097 armv7m.c:371 armv7m_read_core_reg(): read r11 value 0x657633b7 Debug: 390 2101 armv7m.c:371 armv7m_read_core_reg(): read r12 value 0x20000710 Debug: 391 2104 armv7m.c:371 armv7m_read_core_reg(): read sp value 0x20002000 Debug: 392 2109 armv7m.c:371 armv7m_read_core_reg(): read lr value 0xffffffff Debug: 393 2113 armv7m.c:371 armv7m_read_core_reg(): read pc value 0x080005d0 Debug: 394 2117 armv7m.c:371 armv7m_read_core_reg(): read xpsr value 0x01000000 Debug: 395 2121 armv7m.c:371 armv7m_read_core_reg(): read msp value 0x20002000 Debug: 396 2125 armv7m.c:371 armv7m_read_core_reg(): read psp value 0xebcfb2e8 Debug: 397 2129 armv7m.c:371 armv7m_read_core_reg(): read pmsk_bpri_fltmsk_ctrl value 0x00000000 Debug: 398 2133 hla_target.c:278 adapter_debug_entry(): entered debug state in core mode: Thread at PC 0x080005d0, target->state: halted Debug: 399 2139 target.c:1774 target_call_event_callbacks(): target event 0 (gdb-halt) for core stm32f0x.cpu Debug: 400 2143 target.c:1774 target_call_event_callbacks(): target event 1 (halted) for core stm32f0x.cpu User : 401 2148 armv7m.c:741 armv7m_arch_state(): [stm32f0x.cpu] halted due to debug-request, current mode: Thread xPSR: 0x01000000 pc: 0x080005d0 msp: 0x20002000 Debug: 402 2155 hla_target.c:323 adapter_poll(): halted: PC: 0x080005d0 Debug: 403 2159 command.c:153 script_debug(): command - stm32f0x.cpu curstate Debug: 404 2162 command.c:153 script_debug(): command - transport select Debug: 405 2166 command.c:153 script_debug(): command - stm32f0x.cpu was_examined Debug: 406 2170 command.c:153 script_debug(): command - stm32f0x.cpu arp_waitstate halted 5000 Debug: 407 2174 command.c:153 script_debug(): command - stm32f0x.cpu invoke-event reset-init Debug: 408 2177 target.c:4667 target_handle_event(): target: stm32f0x.cpu (hla_target) event: 15 (reset-init) action: stm32f0x_default_reset_init Debug: 409 2185 command.c:153 script_debug(): command - mww 0x40021004 0x00100000 Debug: 410 2188 hla_target.c:616 adapter_write_memory(): adapter_write_memory 0x40021004 4 1 Debug: 411 2193 command.c:153 script_debug(): command - read_memory 0x40021000 32 1 Debug: 412 2197 hla_target.c:601 adapter_read_memory(): adapter_read_memory 0x40021000 4 1 Debug: 413 2202 command.c:153 script_debug(): command - mww 0x40021000 16801155 Debug: 414 2205 hla_target.c:616 adapter_write_memory(): adapter_write_memory 0x40021000 4 1 Debug: 415 2209 command.c:153 script_debug(): command - mww 0x40022000 0x00000011 Debug: 416 2214 hla_target.c:616 adapter_write_memory(): adapter_write_memory 0x40022000 4 1 Debug: 417 2218 command.c:153 script_debug(): command - sleep 10 Debug: 418 2240 command.c:153 script_debug(): command - read_memory 0x40021004 32 1 Debug: 419 2245 hla_target.c:601 adapter_read_memory(): adapter_read_memory 0x40021004 4 1 Debug: 420 2249 command.c:153 script_debug(): command - mww 0x40021004 1048578 Debug: 421 2252 hla_target.c:616 adapter_write_memory(): adapter_write_memory 0x40021004 4 1 Debug: 422 2257 command.c:153 script_debug(): command - adapter speed 8000 Debug: 423 2260 adapter.c:250 adapter_config_khz(): handle adapter khz Debug: 424 2263 adapter.c:214 adapter_khz_to_speed(): convert khz to adapter specific speed value Debug: 425 2268 adapter.c:218 adapter_khz_to_speed(): have adapter set up Info : 426 2272 stlink_usb.c:3073 stlink_match_speed_map(): Unable to match requested speed 8000 kHz, using 4000 kHz Debug: 427 2277 adapter.c:214 adapter_khz_to_speed(): convert khz to adapter specific speed value Debug: 428 2283 adapter.c:218 adapter_khz_to_speed(): have adapter set up Info : 429 2287 stlink_usb.c:3073 stlink_match_speed_map(): Unable to match requested speed 8000 kHz, using 4000 kHz Debug: 430 2293 command.c:153 script_debug(): command - stm32f0x.cpu invoke-event reset-end Debug: 431 2297 command.c:153 script_debug(): command - echo ** Programming Started ** User : 432 2302 command.c:678 handle_echo(): ** Programming Started ** Debug: 433 2305 command.c:153 script_debug(): command - flash write_image erase firmware/radpro-fs2011-gd32f150c8-2.0rc3-image.bin 0x08000000 Debug: 434 2321 configuration.c:88 find_file(): found firmware/radpro-fs2011-gd32f150c8-2.0rc3-image.bin Debug: 435 2326 image.c:90 autodetect_image_type(): BIN image detected. Debug: 436 2330 configuration.c:88 find_file(): found firmware/radpro-fs2011-gd32f150c8-2.0rc3-image.bin Debug: 437 2335 core.c:926 flash_write_unlock_verify(): image_read_section: section = 0, t_section_num = 0, section_offset = 0, buffer_idx = 0, size_read = 36864 Debug: 438 2343 target.c:2650 target_write_u32(): address: 0x40022004, value: 0x45670123 Debug: 439 2348 hla_target.c:616 adapter_write_memory(): adapter_write_memory 0x40022004 4 1 Debug: 440 2353 target.c:2650 target_write_u32(): address: 0x40022004, value: 0xcdef89ab Debug: 441 2356 hla_target.c:616 adapter_write_memory(): adapter_write_memory 0x40022004 4 1 Debug: 442 2362 target.c:2650 target_write_u32(): address: 0x40022010, value: 0x00000002 Debug: 443 2366 hla_target.c:616 adapter_write_memory(): adapter_write_memory 0x40022010 4 1 Debug: 444 2370 target.c:2650 target_write_u32(): address: 0x40022014, value: 0x08000000 Debug: 445 2373 hla_target.c:616 adapter_write_memory(): adapter_write_memory 0x40022014 4 1 Debug: 446 2379 target.c:2650 target_write_u32(): address: 0x40022010, value: 0x00000042 Debug: 447 2383 hla_target.c:616 adapter_write_memory(): adapter_write_memory 0x40022010 4 1 Debug: 448 2387 hla_target.c:601 adapter_read_memory(): adapter_read_memory 0x4002200c 4 1 Debug: 449 2390 target.c:2562 target_read_u32(): address: 0x4002200c, value: 0x00000001 Debug: 450 2394 stm32f1x.c:173 stm32x_wait_status_busy(): status: 0x1 Debug: 451 2406 hla_target.c:601 adapter_read_memory(): adapter_read_memory 0x4002200c 4 1 Debug: 452 2411 target.c:2562 target_read_u32(): address: 0x4002200c, value: 0x00000020 Debug: 453 2414 stm32f1x.c:173 stm32x_wait_status_busy(): status: 0x20 Debug: 454 2417 target.c:2650 target_write_u32(): address: 0x40022010, value: 0x00000002 Debug: 455 2422 hla_target.c:616 adapter_write_memory(): adapter_write_memory 0x40022010 4 1 Debug: 456 2427 target.c:2650 target_write_u32(): address: 0x40022014, value: 0x08000400 Debug: 457 2431 hla_target.c:616 adapter_write_memory(): adapter_write_memory 0x40022014 4 1 Debug: 458 2437 stlink_usb.c:1123 stlink_usb_error_check(): STLINK_SWD_AP_STICKY_ERROR Debug: 459 2440 target.c:2657 target_write_u32(): failed: -4 Debug: 460 2443 target.c:2650 target_write_u32(): address: 0x40022010, value: 0x00000080 Debug: 461 2447 hla_target.c:616 adapter_write_memory(): adapter_write_memory 0x40022010 4 1 Error: 462 2452 core.c:36 flash_driver_erase(): failed erasing sectors 0 to 35 Debug: 463 2455 command.c:528 exec_command(): Command 'flash write_image' failed with error code -4 User : 464 2460 command.c:601 command_run_line(): embedded:startup.tcl:1689: Error: ** Programming Failed ** in procedure 'program' in procedure 'program_error' called at file "embedded:startup.tcl", line 1754 at file "embedded:startup.tcl", line 1689 Debug: 465 2472 breakpoints.c:328 breakpoint_remove_all_internal(): [stm32f0x.cpu] Delete all breakpoints Debug: 466 2476 target.c:2130 target_free_all_working_areas_restore(): freeing all working areas Debug: 467 2481 hla_interface.c:118 hl_interface_quit(): hl_interface_quit Debug: 468 2485 stlink_usb.c:1696 stlink_usb_exit_mode(): MODE: 0x02 c:\temp\ft>