-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
Milestone
Description
- I made serious effort to avoid creating duplicate or nearly similar issue
- Programmer/board type: STLink/V2
- Operating system an version: Linux
- Stlink tools version and/or git commit hash: v1.6.1
- Stlink commandline tool name: st-flash
- Target chip (and board, if applicable): STM32F101VG (custom board)
Commandline:
st-flash --reset --flash=512k --format=ihex write app.hex
Commandline-Output:
st-flash 1.6.1
2021-03-27T19:09:43 INFO common.c: F1xx XL-density: 96 KiB SRAM, 1024 KiB flash in at least 2 KiB pages.
Forcing flash size: --flash=0x00080000
2021-03-27T19:09:43 INFO common.c: Attempting to write 415132 (0x6559c) bytes to stm32 address: 134275072 (0x800e000)
2021-03-27T19:09:43 ERROR common.c: unsupported flash method, abort...
Expected/description: Correct operation.
Also, I've noticed that st-util reports incorrect RAM size:
$ st-util
st-util
2021-03-27T19:12:46 INFO common.c: F1xx XL-density: 96 KiB SRAM, 1024 KiB flash in at least 2 KiB pages.
STM32F101VG has only 80Kib.
P.S. OpenOCD also fails with "error waiting for target flash write algorithm". Original ST Windows utilities work without problems.