2008-09-12 03:14 PM
Internal data Flash in stm32f10x?
2011-05-17 03:45 AM
Hello,
I need a micro with internal data flash for user data storage. I've seen the datasheet but I'm not sure if it fits my needs. Maybe someone can resolve my doubts. Have the stm32f10x internal flash for data storage? what size is it? Main memory is for code, and information block is reserved for ST uses. The only data section are 2 -16 bytes? Thanks in advance2011-05-17 03:45 AM
The STM32 can meet your requirement. ST's AN2594 is quite detailed, clever and includes protection mechanisms most would miss. I've attached it to this post.
AN2594 states, ''flash memory may be used in place of EEPROM for simultaneous code & data storage.'' The biggest difference is the requirement that your target flash region be erased ''before'' you perform writes. A software mechanism is described and outlines how to do this. Beyond cost & space savings you gain: a) Erase Speeds: EEprom 5-10mS/byte vs. Flash ~20uS/word b) Reads: EEprom ~92uS (serial) vs. Flash ~100nS (parallel) c) Write/Erase Cycles (durability): EEprom 10K-1M vs. Flash 10K-100K. A clever ''wear-leveling'' mechanism provides a ''n times'' life extension using the STM flash. Believe you will benefit from this STM capability...