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

clear the PG bit before setting the PER bit #876

Merged
merged 2 commits into from
Mar 19, 2020
Merged

clear the PG bit before setting the PER bit #876

merged 2 commits into from
Mar 19, 2020

Commits on Feb 27, 2020

  1. Hotfix: Reverts commit 6692fdc.

    CKS32-Clone-Patch broke flashing on STM32 F3xx, F4xx and L1xx. (#761)
    Nightwalker-87 committed Feb 27, 2020
    Configuration menu
    Copy the full SHA
    f5d0454 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2020

  1. clear the PG bit before setting the PER bit

    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
    nerdmaennchen committed Mar 15, 2020
    Configuration menu
    Copy the full SHA
    268313b View commit details
    Browse the repository at this point in the history