Skip to main content
Alex Golubev
Associate III
October 22, 2020
Question

Where can I get an example of eeprom emulation on stm32h743?

  • October 22, 2020
  • 2 replies
  • 890 views

It is necessary to write the calibration coefficients into the stm32h743 memory. What I need:

1. Writing to eeprom

2. Reading eeprom

3. Erasing a data cell eeprom

An example should be on "cmsis".

Thanks for your time

This topic has been closed for replies.

2 replies

Technical Moderator
October 23, 2020

Hello @mrnukeolubev​ ,

Have a look at the EEPROM example available under STM32CubeH7 MCU package:

STM32Cube_FW_H7_V1.8.0\Projects\NUCLEO-H743ZI\Applications\EEPROM\EEPROM_Emulation.

Please refer to AN3969 of STM32F4xx devices for further details regarding this application to understand the principles about EEPROM Emulation.

For STM32H743xx devices Flash memory specification, please refer to the STM32H7xx Reference Manual .

Hope this helps you.

Imen

"When your question is answered, please close this topic by clicking ""Accept as Solution"".ThanksImen"
Alex Golubev
Associate III
October 24, 2020

Stm32h7 deletes a 128 kbyte sector.

The problem is I need to overwrite exactly 4096 bytes. To overwrite them, you first need to erase a sector of 128 KB. Where should I write the remaining 124 KB to save?