Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@trabucayre
Copy link
Contributor

stlink seems to be unable to read flash size on stm32discovery F1 VL (stlink-v1):
st-flash 1.5.1-32-g4909dd8
2019-09-02T17:49:05 INFO common.c: Loading device parameters....
2019-09-02T17:49:05 INFO common.c: Device connected is: F1 Medium/Low-density Value Line device, id 0x10016420
2019-09-02T17:49:05 INFO common.c: SRAM size: 0x1000 bytes (4 KiB), Flash: 0 bytes (0 KiB) in pages of 1024 bytes

Since the flash size is equal to zero stm32F1 cannot be flashed with :
Unknown memory region

This patch add a work around like for L1 to fix manually size if value read equal 0.

@texane texane merged commit c492e1d into stlink-org:master Sep 3, 2019
@Nightwalker-87 Nightwalker-87 added this to the v1.6.0 milestone Mar 18, 2020
@stlink-org stlink-org locked as resolved and limited conversation to collaborators Apr 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants