Skip to main content
Visitor II
Question

EEPROM Emulation in FLASH STM32L432KC

I am working on EEPROM Emulation in STM32L432 using its internal flash memory so is there any specific address for making EEPROM emulation in stm32l432kc or can we take any random address of flash memory? give the solution.

 

This topic has been closed for replies.

2 replies

STOne-32
ST Technical Moderator
Tesla DeLorean
Guru

Best to use a couple of sectors/pages at the far (upper) end of the memory, for example by shrinking the FLASH memory section size in the Linker Script

Putting it in the middle creates it's own complications, and you can't start the MCU with it at the front of FLASH

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..