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

Skip to content

Conversation

@nerdmaennchen
Copy link
Contributor

after the flash loader ran the PG bit is still set in the CR register.
in order to program the next page that page needs to be erased first and to get that working the PG bit has to be cleared so the flash controller knows what to do.
this fixes #579

Nightwalker-87 and others added 2 commits February 27, 2020 01:56
CKS32-Clone-Patch broke flashing on STM32 F3xx, F4xx and L1xx. (#761)
after the flash loader ran the PG bit is still set in the CR register.
in order to program the next page that page needs to be erased first and to get that working the PG bit has to be cleared so the flash controller knows what to do.
this fixes #579
@Nightwalker-87 Nightwalker-87 changed the base branch from master to develop March 18, 2020 13:52
@Nightwalker-87 Nightwalker-87 removed the programmer/STLINK/V2 V2 / V2-A / V2-B label Mar 18, 2020
@Nightwalker-87 Nightwalker-87 removed the request for review from bmarvo March 19, 2020 02:26
@Nightwalker-87 Nightwalker-87 merged commit 2ae73e4 into stlink-org:develop Mar 19, 2020
@Nightwalker-87
Copy link
Member

@nerdmaennchen: Thx for your contribution!

@stlink-org stlink-org locked as resolved and limited conversation to collaborators May 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

STM32VL won't flash

2 participants