Closed driehoek91 closed 1 year ago
Did you take Dso150_STM32F103_vanilla_1.05.elf to generate the DSO150.bin file ?
yes i use the v1.05, and convert it from elf to bin Dso150.zip
Ah It's because we use extra flash That chip has officialy 64 kB of flash, but 99.9% of them are 128k version rebadged There is an option to override that, just a sec
i also think my stm32 only has 64kb flash, because this is the C8T6 series
I did some more testing :
Looking into it Warning : The chip might be locked, you'll have to unlock it
It was a stupid typo The correct command is :
st-flash write Dso150_usb_stm32.bin 0x8002000
and NOT
st-flash write Dso150_usb_stm32.bin 0x8200000
i have this error when flashing with st-link v2 on ubuntu 18.04 to my DSO-150
dhoni@dhoni-X455LAB:~/Downloads$ st-flash write pb7_nowait.bin 0x8000000 st-flash 1.6.0-362-gadb083c 2020-06-01T19:57:06 INFO common.c: F1xx Medium-density: 20 KiB SRAM, 64 KiB flash in at least 1 KiB pages. file pb7_nowait.bin md5 checksum: 28bd9e38cbd23909f8f2df54a4e1cc, stlink checksum: 0x0008dd63 2020-06-01T19:57:06 INFO common.c: Attempting to write 7088 (0x1bb0) bytes to stm32 address: 134217728 (0x8000000) 2020-06-01T19:57:06 INFO common.c: Flash page at addr: 0x08000000 erased 2020-06-01T19:57:06 INFO common.c: Flash page at addr: 0x08000400 erased 2020-06-01T19:57:06 INFO common.c: Flash page at addr: 0x08000800 erased 2020-06-01T19:57:06 INFO common.c: Flash page at addr: 0x08000c00 erased 2020-06-01T19:57:06 INFO common.c: Flash page at addr: 0x08001000 erased 2020-06-01T19:57:06 INFO common.c: Flash page at addr: 0x08001400 erased 2020-06-01T19:57:06 INFO common.c: Flash page at addr: 0x08001800 erased 2020-06-01T19:57:06 INFO common.c: Finished erasing 7 pages of 1024 (0x400) bytes 2020-06-01T19:57:06 INFO common.c: Starting Flash write for VL/F0/F3/F1_XL core id 2020-06-01T19:57:06 INFO flash_loader.c: Successfully loaded flash loader in sram 7/7 pages written 2020-06-01T19:57:07 INFO common.c: Starting verification of write complete 2020-06-01T19:57:07 INFO common.c: Flash written and verified! jolly good! dhoni@dhoni-X455LAB:~/Downloads$ st-flash write Dso150.bin 0x8200000 st-flash 1.6.0-362-gadb083c 2020-06-01T19:57:42 INFO common.c: F1xx Medium-density: 20 KiB SRAM, 64 KiB flash in at least 1 KiB pages. Unknown memory region