Write to flash memory with Trustzone actrive in STM32L5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-12-07 1: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
Labels:
- Labels:
-
Flash
-
STM32L5 Series
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-01-10 10:37 PM
Before you can write (or program) flash, you will need to erase it.
