Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix flash size of stm32discovery vl #829

Merged
merged 1 commit into from
Sep 3, 2019
Merged

Fix flash size of stm32discovery vl #829

merged 1 commit into from
Sep 3, 2019

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.

None yet

3 participants