cancel
Showing results for 
Search instead for 
Did you mean: 

EEPROM Example with more variables

thorsten2
Associate II
Posted on November 26, 2009 at 09:25

EEPROM Example with more variables

3 REPLIES 3
thorsten2
Associate II
Posted on May 17, 2011 at 13:31

Hi,

I use the EEPROM Example AN2594.

But now I have to store more than 512 elements - one Page only stores 512 Elements in high density devices.

How can I increase this value?

Regards,

Thorsten

armmcu
Associate II
Posted on May 17, 2011 at 13:31

Hi,

In the current implementation, the emulated EEPROM is able to store 512 ''16 bits'' variables including also their virtual addresses in high density devices.

As The Flash memory can be erased page by page, so you can define 4 pages instead in your firmware to be able to store 1024 ''16 bits''.

When the 2 firsts pages (let say page0&1) are full, the firmware switches to pages3&4. Page0&1 are garbage-collected and then erased.

Cheers,

thorsten2
Associate II
Posted on May 17, 2011 at 13:31

Thank you for the information.

Is there an example what I have to change in the code?

Sorry for this question - but it's my first contact with the ARM Cortex M3

Regards,

Thorsten