2023-10-30 11:41 PM
I am using the SBSFU example in stm32l562edk devkit.
I have modified flash_layout.h and I have added a 4 KB user data section in which I am trying to store user data from the application. I have ported a flash driver(read, write, erase) from the bootloader.
When I read data after writing, I get 0xFF data instead of written, After resetting when I read data I get the exact data that I have written.
I am not using Icache.
I have also tried to init Icache, disable before erase, and enable after flash write but still, I am facing the same issue.
I am able to read data correctly only after resetting.
Is there any initialization or steps, I am missing?
Note: I am performing all operations in a non-secure application.
2023-11-01 09:00 PM
@Diane POMABIA Can you please help me regarding this?
2023-11-02 02:39 AM
2023-11-05 11:10 PM
2023-11-19 10:18 PM
Hello @Diane POMABIA ,
Can you please check regarding it?