cancel
Showing results for 
Search instead for 
Did you mean: 

Internal data Flash in stm32f10x?

jordi_pn
Associate II
Posted on September 13, 2008 at 00:14

Internal data Flash in stm32f10x?

2 REPLIES 2
jordi_pn
Associate II
Posted on May 17, 2011 at 12:45

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 advance

jj
Associate II
Posted on May 17, 2011 at 12:45

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...