2019-12-12 09:56 PM
Please any one help me , How to use the EEPROM in the stm32f103c8t6, I did not find any details about the EEPROM in data sheet.
How to write program in EEPROM & how to Dump the code in EEPROM using KEIL vision 5.
2019-12-12 10:15 PM
You can emulate an EEPROM using the Flash Memory. To start with, you can try the eeprom library provided with the Standard Peripheral Libraries package.
2019-12-12 10:55 PM
STM32F1 has no internal EEPROM, that's why it's not mentioned in the datasheet.
There is internal flash, described in the PM0075 Programming manual STM32F10xxx Flash memory microcontrollers.
Pay attention to the flash memory timings in the datasheet, erasing a sector halts the controller for up to 40ms, and flash endurance, only 10000 erase-write cycles are guaranteed. This is especially important when using some "EEPROM emulation" library, which might erase and rewrite sectors transparently.
2019-12-13 12:43 AM
> ... erasing a sector halts the controller for up to 40ms, ...
To be correct, Flash execution stall is related to banks, not sectors.
Erasing/programming in any sector of a bank will halt code execution from all sectors within that bank.
The F103c8 has only one bank.
This might be relevant for application timing design.