cancel
Showing results for 
Search instead for 
Did you mean: 

EEPROM EMULATION STM32f103

sne_123
Associate III

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.

1 REPLY 1

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 Venmo
Up vote any posts that you find helpful, it shows what's working..