烧写bootloader:
> reset
adapter speed: 2000 kHz
> halt
target halted due to debug-request, current mode: Handler HardFault
xPSR: 0x01000003 pc: 0x080005e4 msp: 0x2001ffd8
> flash write_image erase d:/si/Bootloader.hex
auto erase enabled
Padding image section 0 with 8 bytes 默认烧写到0x08000000
烧写应用程序:
> reset
adapter speed: 2000 kHz
> halt
target halted due to debug-request, current mode: Handler HardFault
xPSR: 0x81000003 pc: 0x080018e0 msp: 0x2001ffb4
> flash write_image erase d:/si/test_v0.0.2.bin 0x08040000auto erase enabled wrote 131072 bytes from file d:/si/test_v0.0.2.bin in 4.345214s (29.458 KiB/s) 烧写到0x08040000
|