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

Support for STM32L4, SM32L1 option bytes write. #847

Merged
merged 2 commits into from
Mar 16, 2020

Conversation

zx81a
Copy link
Contributor

@zx81a zx81a commented Nov 5, 2019

  1. STM32L4 has single 32-bit word with all needed options. I just works.
  2. STM32L1 is a bit more complicated. There are two 32-bit words to modify. Sometimes you need to change only one. When reprogramming a device with RDP level 1 you only have to change RDP to 0,
    everything else is erased. But even with RDP 0 you can't reflash large code while IWDG_SW is cleared. So I've decided to allow writing to 0x1ff80000 and 0x1ff80004.

@Nightwalker-87 Nightwalker-87 changed the base branch from master to develop March 16, 2020 13:03
@Nightwalker-87 Nightwalker-87 merged commit 8014a77 into stlink-org:develop Mar 16, 2020
@Nightwalker-87
Copy link
Member

@zx81a: Thx for your contribution!

@Nightwalker-87 Nightwalker-87 linked an issue Mar 31, 2020 that may be closed by this pull request
@Nightwalker-87 Nightwalker-87 linked an issue Apr 9, 2020 that may be closed by this pull request
@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
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

STM32L4 option bytes write Cannot flash STM32L151 w Stlink/v2 on MAC
2 participants