Skip to main content
sne_123
Associate III
March 5, 2019
Question

EEPROM EMULATION STM32f103

  • March 5, 2019
  • 1 reply
  • 675 views

How can I store characters in flash memory of STM32F103 using HAL C coding?? I am able to store hex values in flash but no idea on how to save char values.

This topic has been closed for replies.

1 reply

Tesla DeLorean
Guru
March 7, 2019

Decide if the EEPROM Emulation is what you actually need, you can write to and directly manage FLASH. You could write data structures into FLASH.

Characters are just 8-bits of data just like any other. The EEPROM Emulation is likely to be exceedingly inefficient if you write a series of bytes to incrementing addresses.

STM32Cube_FW_F1_V1.7.0\Projects\STM32F103RB-Nucleo\Examples\FLASH\FLASH_EraseProgram

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..