EEPROM emulation for stm32.
Go to file
2024-08-03 17:19:44 +02:00
.github Update FUNDING.yml 2023-05-24 15:14:02 +02:00
EEE4STM32.c EEE4STM32.c aktualisiert 2024-08-03 16:54:22 +02:00
EEE4STM32.h EEE4STM32.h aktualisiert 2024-08-03 16:54:53 +02:00
LICENSE Initial commit 2017-04-11 20:13:25 +04:30
README.md README.md aktualisiert 2024-08-03 17:18:48 +02:00
RWD-EEE4STM32.pdsc RWD-EEE4STM32.pdsc aktualisiert 2024-08-03 17:19:44 +02:00

EEPROM EMULATION Library for STM32


use it on your own risk



Note

Please Test Any MCU you have and tell me the result.

Caution

EEPROM Emulation Library is based on EEPROM emulation expansion software for STM32Cube .
It is not working on Dual pages Sector-Base Flash ( STM32F429II ...)


This library facilitates EEPROM emulation on microcontrollers by selecting the latest sector or page for emulation space.

Tested List:

STM32F

    • STM32F0
    • STM32F1
    • STM32F2
    • STM32F3
    • STM32F4
    • STM32F7

STM32L

    • STM32L0
    • STM32L1
    • STM32L4
    • STM32L5

STM32C

    • STM32C0

STM32G

    • STM32G0
    • STM32G4

STM32H

    • STM32H5
    • STM32H7

STM32U

    • STM32U0
    • STM32U5

STM32W

    • STM32WB
    • STM32WL
    • STM32WBA


Watch the Video:

Video

The old Version: https://github.com/nimaltd/ee/archive/refs/tags/V2.0.6.zip

#include "ee.h"
typedef struct
{
 uint32_t val1;
 uint32_t val2;
 uint32_t val3;
 uint32_t val4;
 uint32_t val5;
 uint32_t val6;
 uint32_t val7;
 uint32_t val8;

} Stotrage_t;

Stotrage_t ee;

.
.

int main(void)
{
  .
  .
  EE_Init(&ee, sizeof(Stotrage_t));
  EE_Read();
  ee.val1 = 1;
  ee.val2 = 2;
  ee.val3 = 3;
  ee.val4 = 4;
  ee.val5 = 5;
  ee.val6 = 6;
  ee.val7 = 7;
  ee.val8 = 8;
  EE_Write();
  while (1)
  {

  }
}