According to the EFR32xG21 reference manual, "User Data is locked by default, and all User Data write and erase operations must be performed via the SE" (Section?6.3.11.2 Flash Lock)
?
Please refer to our example using the SE API from the peripheral examples repository
BGM210P issue writing in UD flash
Hello,
I'm trying to write 8 Bytes in UserData flash but function MSC_ErasePage always return?mscReturnLocked.
Setup :
Code :
Thanks in advance for your help.
Regards,
Gabriel
Hello Gabriel,
?
According to the EFR32xG21 reference manual, "User Data is locked by default, and all User Data write and erase operations must be performed via the SE" (Section?6.3.11.2 Flash Lock)
?
Please refer to our example using the SE API from the peripheral examples repository
Thanks for pointing that out.?
It works well.
Regards,
Gabriel