Skip to main content
Visitor II
August 8, 2024
Question

i need to store data in EEPROM emulator stm32l432kc controller by using its internal flash memory

  • August 8, 2024
  • 2 replies
  • 975 views

Hello.

i need to make EEPROM emulator for data storage here i am using stm32l432kc controller. and i am using last 4 pages of internal flash memory to emulate EEPROM. start address of page 124 is 0x0803E000 end address of page 127 is 0x0803FFFF. each page size is 2KB and data should be updated every minute (data=ADC voltage value with timestamp) and this data should be retain or keep minimum 4 hours in storage. kind you help me inputs to write code. and how to write code.

    This topic has been closed for replies.

    2 replies

    Andrew Neil
    Super User
    August 8, 2024

    @vpn wrote:

    i am using stm32l432kc .


    So you should be able to use X-CUBE-EEPROM ?

    https://www.st.com/en/embedded-software/x-cube-eeprom.html 

    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
    Tesla DeLorean
    Guru
    August 8, 2024

    Or you could just use the Flash directly and efficiently..

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