2018-12-07 01:06 AM
Hey evryone,
I can't write to memory flash when TZEN = 1 (e.g trustzone is active) , i hav no error return !
I call this fucntions from secure side :
HAL_FLASH_Unlock();
HAL_FLASH_Program(FLASH_TYPEPROGRAM_DOUBLEWORD, FlashAddr, FlashData);
HAL_FLASH_Lock();
Thank you for your help guys
2019-01-10 10:37 PM
Before you can write (or program) flash, you will need to erase it.