Accidental MCU/Flash write lock up: My misuse or CubeProg bug?
While programming OptionBytes or FW on STM32WLx5 most of the time is OK.
In CubeProg I have noticed, that on some MCUs, when I get reading of RDP 0xFF or 0,
the next action to program something write related, it could not be done and it's failed.
Statistically it's happening too often, 4 failed of 11devices ....
(I had also one device, that MCU was fresh and it was already in this state..
had RDP already 0xFF - no write action possible)
I can also assure, that I did not programmed any protection at this stage, it's to early.
Is there any workaround to overcome this write lock state?
Have checked the topics in the community, for example this.
But it seems different flow to the same consequence ?
If someone can help me understand this situation?
What I already find out:
- Could it be that MSI clock 48MHz got preserved into bootloader mode?
(Erratum System 2.2.2 explains high frequency problem)
- Could it be difference using the ST-Link v2 or v3?
By no means FW is programming any OB bytes or something related.
This symptom was observed with CubeProg(Linux) v2.12 and v2.13.
I would really appreciate any focus or further information on this topic!
Thanks in advance.
