From: Andy T. <and...@ya...> - 2012-08-30 07:51:50
|
I'm having trouble with flashing a STM32F103RGT6 that's been transplanted into a VLDiscovery board. I've had similar problems with the original STM32F100RB that comes with the board. I've bricked two boards now with openocd, and I hope the oocd experts can spot the problem. I was able to flash the mcu with openocd exactly once, when the chip was "new". Attempts to reflash fail with messages about "Device Security Bit Set". The 'flash banks' command reports incorrect info. It says the mcu has 512K of flash, but there is 1M in this particular chip. The problems occur both with 0.6.0-rc1 and -rc2. The following log output is from -rc2 running on OS X: > flash write_image erase unlock build/ch.elf auto erase enabled auto unlock enabled Device Security Bit Set timed out waiting for flash failed setting protection for areas 0 to 15 in procedure 'flash' > flash banks #0 : stm32f1x.flash (stm32f1x) at 0x08000000, size 0x00080000, buswidth 0, chipwidth 0 ---------------------------------------- $ openocd -d3 -f board/stm32vldiscovery.cfg Open On-Chip Debugger 0.6.0-rc2-dev-00001-g9fbfb61 (2012-08-29-20:24) Licensed under GNU GPL v2 For bug reports, read http://openocd.sourceforge.net/doc/doxygen/bugs.html User : 11 2 command.c:549 command_print(): debug_level: 3 Debug: 12 2 configuration.c:45 add_script_search_dir(): adding /Users/andy/.openocd Debug: 13 2 configuration.c:45 add_script_search_dir(): adding /usr/local/share/openocd/site Debug: 14 2 configuration.c:45 add_script_search_dir(): adding /usr/local/share/openocd/scripts Debug: 15 2 configuration.c:86 find_file(): found /usr/local/share/openocd/scripts/board/stm32vldiscovery.cfg Debug: 16 2 configuration.c:86 find_file(): found /usr/local/share/openocd/scripts/interface/stlink-v1.cfg Debug: 17 3 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_interface stlink Debug: 18 3 command.c:145 script_debug(): command - interface ocd_interface stlink Debug: 20 3 command.c:369 register_command_handler(): registering 'ocd_stlink_device_desc'... Debug: 21 3 command.c:369 register_command_handler(): registering 'ocd_stlink_serial'... Debug: 22 3 command.c:369 register_command_handler(): registering 'ocd_stlink_layout'... Debug: 23 3 command.c:369 register_command_handler(): registering 'ocd_stlink_vid_pid'... Debug: 24 3 command.c:369 register_command_handler(): registering 'ocd_stlink_api'... Debug: 25 3 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stlink_layout sg Debug: 26 3 command.c:145 script_debug(): command - stlink_layout ocd_stlink_layout sg Debug: 28 3 stlink_interface.c:160 stlink_interface_handle_layout_command(): stlink_interface_handle_layout_command Debug: 29 3 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stlink_device_desc ST-LINK/V1 Debug: 30 3 command.c:145 script_debug(): command - stlink_device_desc ocd_stlink_device_desc ST-LINK/V1 Debug: 32 3 stlink_interface.c:132 stlink_interface_handle_device_desc_command(): stlink_interface_handle_device_desc_command Debug: 33 3 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stlink_vid_pid 0x0483 0x3744 Debug: 34 3 command.c:145 script_debug(): command - stlink_vid_pid ocd_stlink_vid_pid 0x0483 0x3744 Debug: 36 3 stlink_interface.c:188 stlink_interface_handle_vid_pid_command(): stlink_interface_handle_vid_pid_command Debug: 37 3 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_adapter_khz 1000 Debug: 38 3 command.c:145 script_debug(): command - adapter_khz ocd_adapter_khz 1000 Debug: 40 3 core.c:1625 jtag_config_khz(): handle jtag khz Debug: 41 3 core.c:1592 adapter_khz_to_speed(): convert khz to interface specific speed value Debug: 42 3 core.c:1592 adapter_khz_to_speed(): convert khz to interface specific speed value User : 43 3 command.c:549 command_print(): adapter speed: 1000 kHz Debug: 44 3 configuration.c:86 find_file(): found /usr/local/share/openocd/scripts/target/stm32f1x_stlink.cfg Debug: 45 3 configuration.c:86 find_file(): found /usr/local/share/openocd/scripts/target/stm32_stlink.cfg Debug: 46 3 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select stlink_swd Debug: 47 3 command.c:145 script_debug(): command - ocd_transport ocd_transport select stlink_swd Debug: 48 3 stlink_transport.c:179 stlink_transport_select(): stlink_transport_select Debug: 49 3 command.c:369 register_command_handler(): registering 'ocd_stlink'... Debug: 50 3 command.c:369 register_command_handler(): registering 'ocd_jtag'... Debug: 51 3 command.c:369 register_command_handler(): registering 'ocd_jtag'... Debug: 52 3 command.c:369 register_command_handler(): registering 'ocd_jtag'... Debug: 53 3 command.c:369 register_command_handler(): registering 'ocd_jtag'... Debug: 54 3 command.c:369 register_command_handler(): registering 'ocd_jtag'... Debug: 55 3 command.c:369 register_command_handler(): registering 'ocd_jtag'... Debug: 56 3 command.c:369 register_command_handler(): registering 'ocd_jtag'... Debug: 57 3 command.c:369 register_command_handler(): registering 'ocd_jtag'... Debug: 58 3 command.c:369 register_command_handler(): registering 'ocd_jtag'... Debug: 59 3 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stlink newtap stm32f1x cpu -expected-id 0x1ba01477 Debug: 60 3 command.c:145 script_debug(): command - ocd_stlink ocd_stlink newtap stm32f1x cpu -expected-id 0x1ba01477 Debug: 61 3 stlink_tcl.c:101 jim_stlink_newtap_cmd(): Creating New Tap, Chip: stm32f1x, Tap: cpu, Dotted: stm32f1x.cpu, 2 params Debug: 62 3 stlink_tcl.c:111 jim_stlink_newtap_cmd(): Processing option: -expected-id Debug: 63 3 core.c:1323 jtag_tap_init(): Created Tap: stm32f1x.cpu @ abs position 0, irlen 0, capture: 0x0 mask: 0x0 Debug: 64 3 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_target create stm32f1x.cpu stm32_stlink -chain-position stm32f1x.cpu Debug: 65 3 command.c:145 script_debug(): command - ocd_target ocd_target create stm32f1x.cpu stm32_stlink -chain-position stm32f1x.cpu Debug: 66 3 target.c:1608 target_free_all_working_areas_restore(): freeing all working areas Debug: 67 3 command.c:369 register_command_handler(): registering 'ocd_arm'... Debug: 68 3 command.c:369 register_command_handler(): registering 'ocd_arm'... Debug: 69 3 command.c:369 register_command_handler(): registering 'ocd_arm'... Debug: 70 3 command.c:369 register_command_handler(): registering 'ocd_arm'... Debug: 71 3 command.c:369 register_command_handler(): registering 'ocd_arm'... Debug: 72 3 command.c:369 register_command_handler(): registering 'ocd_arm'... Debug: 73 3 stm32_stlink.c:301 stm32_stlink_target_create(): stm32_stlink_target_create Debug: 74 3 stm32_stlink.c:274 stm32_stlink_init_arch_info(): stm32_stlink_init_arch_info Debug: 75 4 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 76 4 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 77 4 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 78 4 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 79 4 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 80 4 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 81 4 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 82 4 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 83 4 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 84 4 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 85 4 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 86 4 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 87 4 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 88 4 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 89 4 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 90 4 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 91 4 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 92 4 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 93 4 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 94 4 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 95 4 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 96 4 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 97 4 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 98 4 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 99 4 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 100 4 command.c:369 register_command_handler(): registering 'ocd_stm32f1x.cpu'... Debug: 101 4 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f1x.cpu configure -work-area-phys 0x20000000 -work-area-size 0x2000 -work-area-backup 0 Debug: 102 4 command.c:145 script_debug(): command - ocd_stm32f1x.cpu ocd_stm32f1x.cpu configure -work-area-phys 0x20000000 -work-area-size 0x2000 -work-area-backup 0 Debug: 103 4 target.c:1608 target_free_all_working_areas_restore(): freeing all working areas Debug: 104 4 target.c:1608 target_free_all_working_areas_restore(): freeing all working areas Debug: 105 4 target.c:1608 target_free_all_working_areas_restore(): freeing all working areas Debug: 106 4 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_flash bank stm32f1x.flash stm32f1x 0 0 0 0 stm32f1x.cpu Debug: 107 4 command.c:145 script_debug(): command - ocd_flash ocd_flash bank stm32f1x.flash stm32f1x 0 0 0 0 stm32f1x.cpu Debug: 109 4 command.c:369 register_command_handler(): registering 'ocd_stm32f1x'... Debug: 110 4 command.c:369 register_command_handler(): registering 'ocd_stm32f1x'... Debug: 111 4 command.c:369 register_command_handler(): registering 'ocd_stm32f1x'... Debug: 112 4 command.c:369 register_command_handler(): registering 'ocd_stm32f1x'... Debug: 113 4 command.c:369 register_command_handler(): registering 'ocd_stm32f1x'... Debug: 114 4 tcl.c:781 handle_flash_bank_command(): 'stm32f1x' driver usage field missing Debug: 115 4 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_init Debug: 116 4 command.c:145 script_debug(): command - init ocd_init Debug: 118 4 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_target init Debug: 119 4 command.c:145 script_debug(): command - ocd_target ocd_target init Debug: 121 4 target.c:1183 handle_target_init_command(): Initializing targets... Debug: 122 4 stm32_stlink.c:291 stm32_stlink_init_target(): stm32_stlink_init_target Debug: 123 4 command.c:369 register_command_handler(): registering 'ocd_target_request'... Debug: 124 4 command.c:369 register_command_handler(): registering 'ocd_trace'... Debug: 125 4 command.c:369 register_command_handler(): registering 'ocd_trace'... Debug: 126 4 command.c:369 register_command_handler(): registering 'ocd_fast_load_image'... Debug: 127 4 command.c:369 register_command_handler(): registering 'ocd_fast_load'... Debug: 128 4 command.c:369 register_command_handler(): registering 'ocd_profile'... Debug: 129 4 command.c:369 register_command_handler(): registering 'ocd_virt2phys'... Debug: 130 4 command.c:369 register_command_handler(): registering 'ocd_reg'... Debug: 131 4 command.c:369 register_command_handler(): registering 'ocd_poll'... Debug: 132 4 command.c:369 register_command_handler(): registering 'ocd_wait_halt'... Debug: 133 4 command.c:369 register_command_handler(): registering 'ocd_halt'... Debug: 134 4 command.c:369 register_command_handler(): registering 'ocd_resume'... Debug: 135 4 command.c:369 register_command_handler(): registering 'ocd_reset'... Debug: 136 4 command.c:369 register_command_handler(): registering 'ocd_soft_reset_halt'... Debug: 137 4 command.c:369 register_command_handler(): registering 'ocd_step'... Debug: 138 4 command.c:369 register_command_handler(): registering 'ocd_mdw'... Debug: 139 4 command.c:369 register_command_handler(): registering 'ocd_mdh'... Debug: 140 4 command.c:369 register_command_handler(): registering 'ocd_mdb'... Debug: 141 4 command.c:369 register_command_handler(): registering 'ocd_mww'... Debug: 142 4 command.c:369 register_command_handler(): registering 'ocd_mwh'... Debug: 143 4 command.c:369 register_command_handler(): registering 'ocd_mwb'... Debug: 144 4 command.c:369 register_command_handler(): registering 'ocd_bp'... Debug: 145 5 command.c:369 register_command_handler(): registering 'ocd_rbp'... Debug: 146 5 command.c:369 register_command_handler(): registering 'ocd_wp'... Debug: 147 5 command.c:369 register_command_handler(): registering 'ocd_rwp'... Debug: 148 5 command.c:369 register_command_handler(): registering 'ocd_load_image'... Debug: 149 5 command.c:369 register_command_handler(): registering 'ocd_dump_image'... Debug: 150 5 command.c:369 register_command_handler(): registering 'ocd_verify_image'... Debug: 151 5 command.c:369 register_command_handler(): registering 'ocd_test_image'... Debug: 152 5 command.c:369 register_command_handler(): registering 'ocd_reset_nag'... Debug: 153 5 command.c:369 register_command_handler(): registering 'ocd_ps'... Debug: 154 5 stlink_interface.c:91 stlink_interface_init(): stlink_interface_init Debug: 155 5 stlink_layout.c:88 stlink_layout_init(): stlink_layout_init Debug: 156 5 core.c:1592 adapter_khz_to_speed(): convert khz to interface specific speed value Debug: 157 5 core.c:1595 adapter_khz_to_speed(): have interface set up Debug: 158 5 stlink_interface.c:106 stlink_interface_speed(): stlink_interface_speed: ignore speed 1000 Debug: 159 5 core.c:1592 adapter_khz_to_speed(): convert khz to interface specific speed value Debug: 160 5 core.c:1595 adapter_khz_to_speed(): have interface set up Info : 161 5 core.c:1399 adapter_init(): clock speed 1000 kHz Debug: 162 5 openocd.c:132 handle_init_command(): Debug Adapter init complete Debug: 163 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport init Debug: 164 5 command.c:145 script_debug(): command - ocd_transport ocd_transport init Debug: 166 5 transport.c:240 handle_transport_init(): handle_transport_init Debug: 167 5 stlink_transport.c:140 stlink_transport_init(): stlink_transport_init Debug: 168 5 stlink_transport.c:157 stlink_transport_init(): current transport stlink_swd Debug: 169 5 stlink_interface.c:41 stlink_interface_open(): stlink_interface_open Debug: 170 5 stlink_layout.c:43 stlink_layout_open(): stlink_layout_open Debug: 171 5 stlink_usb.c:1152 stlink_usb_open(): stlink_usb_open Debug: 172 5 stlink_usb.c:1167 stlink_usb_open(): transport: 1 vid: 0x0483 pid: 0x3744 Debug: 173 418 stlink_usb.c:422 stlink_usb_version(): STLINK v1 JTAG v12 API v2 SWIM v0 VID 0x0483 PID 0x3744 Debug: 174 419 stlink_usb.c:564 stlink_usb_init_mode(): MODE: 0x02 Debug: 175 420 stlink_usb.c:596 stlink_usb_init_mode(): MODE: 0x01 Debug: 176 421 stlink_usb.c:629 stlink_usb_init_mode(): MODE: 0x02 Debug: 177 421 stlink_interface.c:53 stlink_interface_init_target(): stlink_interface_init_target Debug: 178 422 stlink_usb.c:656 stlink_usb_idcode(): IDCODE: 0x1BA01477 Debug: 179 422 openocd.c:145 handle_init_command(): Examining targets... Debug: 180 422 target.c:1299 target_call_event_callbacks(): target event 21 (examine-start) Debug: 181 422 stm32_stlink.c:668 stm32_stlink_read_memory(): stm32_stlink_read_memory 0xe000ed00 4 1 Debug: 182 424 target.c:1903 target_read_u32(): address: 0xe000ed00, value: 0x411fc231 Debug: 183 424 cortex_m.c:1815 cortex_m3_examine(): Cortex-M3 r1p1 processor detected Debug: 184 424 cortex_m.c:1816 cortex_m3_examine(): cpuid: 0x411fc231 Debug: 185 424 stm32_stlink.c:668 stm32_stlink_read_memory(): stm32_stlink_read_memory 0xe0002000 4 1 Debug: 186 427 target.c:1903 target_read_u32(): address: 0xe0002000, value: 0x00000260 Debug: 187 427 cortex_m.c:1860 cortex_m3_examine(): FPB fpcr 0x260, numcode 6, numlit 2 Debug: 188 427 stm32_stlink.c:668 stm32_stlink_read_memory(): stm32_stlink_read_memory 0xe0001000 4 1 Debug: 189 428 target.c:1903 target_read_u32(): address: 0xe0001000, value: 0x40000000 Debug: 190 428 cortex_m.c:1772 cortex_m3_dwt_setup(): DWT dwtcr 0x40000000, comp 4, watch/trigger Info : 191 428 cortex_m.c:1869 cortex_m3_examine(): stm32f1x.cpu: hardware has 6 breakpoints, 4 watchpoints Debug: 192 428 target.c:1299 target_call_event_callbacks(): target event 22 (examine-end) Debug: 193 428 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_flash init Debug: 194 428 command.c:145 script_debug(): command - ocd_flash ocd_flash init Debug: 196 428 tcl.c:847 handle_flash_init_command(): Initializing flash devices... Debug: 197 429 command.c:369 register_command_handler(): registering 'ocd_flash'... Debug: 198 429 command.c:369 register_command_handler(): registering 'ocd_flash'... Debug: 199 429 command.c:369 register_command_handler(): registering 'ocd_flash'... Debug: 200 429 command.c:369 register_command_handler(): registering 'ocd_flash'... Debug: 201 429 command.c:369 register_command_handler(): registering 'ocd_flash'... Debug: 202 429 command.c:369 register_command_handler(): registering 'ocd_flash'... Debug: 203 429 command.c:369 register_command_handler(): registering 'ocd_flash'... Debug: 204 429 command.c:369 register_command_handler(): registering 'ocd_flash'... Debug: 205 429 command.c:369 register_command_handler(): registering 'ocd_flash'... Debug: 206 429 command.c:369 register_command_handler(): registering 'ocd_flash'... Debug: 207 429 command.c:369 register_command_handler(): registering 'ocd_flash'... Debug: 208 429 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_mflash init Debug: 209 429 command.c:145 script_debug(): command - ocd_mflash ocd_mflash init Debug: 211 429 mflash.c:1379 handle_mflash_init_command(): Initializing mflash devices... Debug: 212 429 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_nand init Debug: 213 429 command.c:145 script_debug(): command - ocd_nand ocd_nand init Debug: 215 429 tcl.c:497 handle_nand_init_command(): Initializing NAND devices... Debug: 216 429 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_pld init Debug: 217 429 command.c:145 script_debug(): command - ocd_pld ocd_pld init Debug: 219 429 pld.c:207 handle_pld_init_command(): Initializing PLDs... Info : 220 4317 server.c:83 add_connection(): accepting 'telnet' connection from 4444 Debug: 221 7408 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_flash banks Debug: 222 7408 command.c:145 script_debug(): command - ocd_flash ocd_flash banks User : 224 7408 tcl.c:798 handle_flash_banks_command(): #0 : stm32f1x.flash (stm32f1x) at 0x00000000, size 0x00000000, buswidth 0, chipwidth 0 Debug: 225 21774 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_flash write_image erase unlock build/ch.elf Debug: 226 21774 command.c:145 script_debug(): command - ocd_flash ocd_flash write_image erase unlock build/ch.elf User : 228 21774 command.c:549 command_print(): auto erase enabled User : 229 21774 command.c:549 command_print(): auto unlock enabled Debug: 230 21774 configuration.c:86 find_file(): found build/ch.elf Debug: 231 21775 image.c:71 autodetect_image_type(): ELF image detected. Debug: 232 21775 configuration.c:86 find_file(): found build/ch.elf Debug: 233 21775 stm32_stlink.c:668 stm32_stlink_read_memory(): stm32_stlink_read_memory 0xe000ed00 4 1 Debug: 234 21779 target.c:1903 target_read_u32(): address: 0xe000ed00, value: 0x411fc231 Debug: 235 21779 stm32_stlink.c:668 stm32_stlink_read_memory(): stm32_stlink_read_memory 0xe0042000 4 1 Debug: 236 21788 target.c:1903 target_read_u32(): address: 0xe0042000, value: 0x10006430 Info : 237 21788 stm32f1x.c:891 stm32x_probe(): device id = 0x10006430 Debug: 238 21788 stm32_stlink.c:668 stm32_stlink_read_memory(): stm32_stlink_read_memory 0xe000ed00 4 1 Debug: 239 21789 target.c:1903 target_read_u32(): address: 0xe000ed00, value: 0x411fc231 Debug: 240 21789 stm32_stlink.c:668 stm32_stlink_read_memory(): stm32_stlink_read_memory 0x1ffff7e0 2 1 Debug: 241 21790 target.c:1927 target_read_u16(): address: 0x1ffff7e0, value: 0x1508 Info : 242 21790 stm32f1x.c:975 stm32x_probe(): flash size = 512kbytes Debug: 243 21790 core.c:703 flash_write_unlock(): image_read_section: section = 0, t_section_num = 0, section_offset = 0, buffer_size = 0, size_read = 32536 Debug: 244 21790 image.c:477 image_elf_read_section(): load segment 0 at 0x0 (sz = 0x7f18) Debug: 245 21790 image.c:484 image_elf_read_section(): read elf: size = 0x32536 at 0x8000 Debug: 246 21791 core.c:703 flash_write_unlock(): image_read_section: section = 1, t_section_num = 1, section_offset = 0, buffer_size = 32536, size_read = 176 Debug: 247 21791 image.c:477 image_elf_read_section(): load segment 1 at 0x0 (sz = 0xb0) Debug: 248 21791 image.c:484 image_elf_read_section(): read elf: size = 0x176 at 0x10800 Error: 249 21791 stm32f1x.c:510 stm32x_protect(): Target not halted Error: 250 21791 core.c:78 flash_driver_protect(): failed setting protection for areas 0 to 15 Debug: 251 21791 command.c:631 run_command(): Command failed with error code -304 User : 252 21791 command.c:669 command_run_line(): in procedure 'flash' Debug: 253 539795 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_flash banks Debug: 254 539797 command.c:145 script_debug(): command - ocd_flash ocd_flash banks User : 256 539800 tcl.c:798 handle_flash_banks_command(): #0 : stm32f1x.flash (stm32f1x) at 0x08000000, size 0x00080000, buswidth 0, chipwidth 0 |