2022-08-05 02:02 PM
Hi,
I ran the SBSFU example of STM32CubeU5 following what is in the readme file without any problem. Then I disabled TrustZone but I cannot run the projects made with STM32CubeIDE, verification of the downloaded firmware fails. If I try to erase the flash memory (full chip erase) with STM32CubeProgrammer I get an error message. The error message indicates to check the flash memory protection but I have not set some flash memory protection.
Thanks
Solved! Go to Solution.
2022-08-10 02:26 PM
Hi @Mohamed Aymen HZAMI,
I solved the problem by running the regression.bat commands that disable memory protection and erase the memory completely.
Thanks
2022-08-10 02:57 AM
Hello @Domenico and welcome to the community,
Can you please share a snapshot with the error message?
Mohamed Aymen
2022-08-10 02:26 PM
Hi @Mohamed Aymen HZAMI,
I solved the problem by running the regression.bat commands that disable memory protection and erase the memory completely.
Thanks
2022-08-10 04:14 PM
Hi Domenico,
SBSFU requires TrustZone to be enabled in order to boot in a secure zone (root of trust).
The settings is described in Readme of SBSFU project, section 2. Initialize the device
BR,
Younes
2023-03-23 03:04 AM
Hi @Domenico ,
I have flashed the SBSFU application with by mistake write protection enabled for flash address 0x08000000. I am unable to erase using jlink commander.exe as well as by IAR->project->Download->erase. Please suggest me how to erase the flash of STM32H743II.
2023-03-23 03:35 AM
@Domenico This is the error i am getting from the IAR IDE.