Advertisement
Guest User

Untitled

a guest
Jan 20th, 2020
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.29 KB | None | 0 0
  1. $ st-flash erase
  2. st-flash 1.5.1-22-g4ff515e-dirty
  3. 2019-04-05T10:11:45 INFO usb.c: -- exit_dfu_mode
  4. 2019-04-05T10:11:45 INFO common.c: Loading device parameters....
  5. 2019-04-05T10:11:45 INFO common.c: Device connected is: F1 Medium-density device, id 0x20036410
  6. 2019-04-05T10:11:45 INFO common.c: SRAM size: 0x5000 bytes (20 KiB), Flash: 0x10000 bytes (64 KiB) in pages of 1024 bytes
  7. Mass erasing
  8.  
  9. $ st-flash write blackmagic_dfu.bin 0x8000000
  10. st-flash 1.5.1-22-g4ff515e-dirty
  11. 2019-04-05T10:16:09 INFO common.c: Loading device parameters....
  12. 2019-04-05T10:16:09 INFO common.c: Device connected is: F1 Medium-density device, id 0x20036410
  13. 2019-04-05T10:16:09 INFO common.c: SRAM size: 0x5000 bytes (20 KiB), Flash: 0x10000 bytes (64 KiB) in pages of 1024 bytes
  14. 2019-04-05T10:16:09 INFO common.c: Attempting to write 7348 (0x1cb4) bytes to stm32 address: 134217728 (0x8000000)
  15. Flash page at addr: 0x08001c00 erased
  16. 2019-04-05T10:16:10 INFO common.c: Finished erasing 8 pages of 1024 (0x400) bytes
  17. 2019-04-05T10:16:10 INFO common.c: Starting Flash write for VL/F0/F3/F1_XL core id
  18. 2019-04-05T10:16:10 INFO flash_loader.c: Successfully loaded flash loader in sram
  19.   8/8 pages written
  20. 2019-04-05T10:16:10 INFO common.c: Starting verification of write complete
  21. 2019-04-05T10:16:10 INFO common.c: Flash written and verified! jolly good!
  22.  
  23. $ st-flash --flash=0x20000 write blackmagic.bin 0x8002000
  24. st-flash 1.5.1-22-g4ff515e-dirty
  25. 2019-04-05T10:33:21 INFO common.c: Loading device parameters....
  26. 2019-04-05T10:33:21 INFO common.c: Device connected is: F1 Medium-density device, id 0x20036410
  27. 2019-04-05T10:33:21 INFO common.c: SRAM size: 0x5000 bytes (20 KiB), Flash: 0x10000 bytes (64 KiB) in pages of 1024 bytes
  28. Forcing flash size: --flash=0x00020000
  29. 2019-04-05T10:33:21 INFO common.c: Attempting to write 73244 (0x11e1c) bytes to stm32 address: 134225920 (0x8002000)
  30. Flash page at addr: 0x08013c00 erased
  31. 2019-04-05T10:33:23 INFO common.c: Finished erasing 72 pages of 1024 (0x400) bytes
  32. 2019-04-05T10:33:23 INFO common.c: Starting Flash write for VL/F0/F3/F1_XL core id
  33. 2019-04-05T10:33:23 INFO flash_loader.c: Successfully loaded flash loader in sram
  34.  72/72 pages written
  35. 2019-04-05T10:33:27 INFO common.c: Starting verification of write complete
  36. 2019-04-05T10:33:29 INFO common.c: Flash written and verified! jolly good!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement