You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ ./st-flash write ./blinky.bin 0x8000000
st-flash 1.3.1-18-g0498621
2017-05-17T22:26:24 INFO src/common.c: Loading device parameters....
2017-05-17T22:26:24 INFO src/common.c: Device connected is: F0 device, id 0x20006440
2017-05-17T22:26:24 INFO src/common.c: SRAM size: 0x2000 bytes (8 KiB), Flash: 0x10000 bytes (64 KiB) in pages of 1024 bytes
2017-05-17T22:26:24 INFO src/common.c: Attempting to write 1008 (0x3f0) bytes to stm32 address: 134217728 (0x8000000)
Flash page at addr: 0x08000000 erased
2017-05-17T22:26:24 INFO src/common.c: Finished erasing 1 pages of 1024 (0x400) bytes
2017-05-17T22:26:24 INFO src/common.c: Starting Flash write for VL/F0/F3/F1_XL core id
2017-05-17T22:26:24 INFO src/flash_loader.c: Successfully loaded flash loader in sram
2017-05-17T22:26:27 ERROR src/flash_loader.c: flash loader run error
2017-05-17T22:26:27 ERROR src/common.c: stlink_flash_loader_run(0x8000000) failed! == -1
stlink_fwrite_flash() == -1
Expected output:
$ ./st-flash --reset write ./blinky.bin 0x8000000
st-flash 1.3.1-18-g0498621
2017-05-17T22:24:15 INFO src/common.c: Loading device parameters....
2017-05-17T22:24:15 INFO src/common.c: Device connected is: F0 device, id 0x20006440
2017-05-17T22:24:15 INFO src/common.c: SRAM size: 0x2000 bytes (8 KiB), Flash: 0x10000 bytes (64 KiB) in pages of 1024 bytes
2017-05-17T22:24:16 INFO src/common.c: Attempting to write 1008 (0x3f0) bytes to stm32 address: 134217728 (0x8000000)
Flash page at addr: 0x08000000 erased
2017-05-17T22:24:16 INFO src/common.c: Finished erasing 1 pages of 1024 (0x400) bytes
2017-05-17T22:24:16 INFO src/common.c: Starting Flash write for VL/F0/F3/F1_XL core id
2017-05-17T22:24:16 INFO src/flash_loader.c: Successfully loaded flash loader in sram
0/0 pages written
2017-05-17T22:24:16 INFO src/common.c: Starting verification of write complete
2017-05-17T22:24:16 INFO src/common.c: Flash written and verified! jolly good!
Hi,
I'm having issues trying to flash binaries onto STM32F0 targets.
st-flash
st-flash
Output:Expected output:
Verbose (debug) erroneous output:
The text was updated successfully, but these errors were encountered: