cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in EEPROM emulation

vinayhn
Associate
Posted on November 09, 2005 at 13:19

Problem in EEPROM emulation

1 REPLY 1
vinayhn
Associate
Posted on May 17, 2011 at 12:08

Hi!

We are using EEPROM emulation in uPSD 3354 microcontroller. Our configuration as per the memory map is as follows:

rs0 : 0x0000 to 0x7EFF.

csiop: 0x7F00 to 0x7FFF.

fs0: 0x0000 to 0x7FFF.

fs1 - fs7: 0x8000 to 0xFFFF.

csboot0: 0x8000 to 0x9FFF.

csboot1: 0xA000 to 0xBFFF.

csboot2: 0xC000 to 0xDFFF.

csboot3: 0xE000 to 0xFFFF.

We are using only two sectors: Sector 0 and Sector 1.

We are noticing that once the sector 0 overflows, and the control starts writing to sector 1, the data gets corrupted.

Is the configuration used above correct? Any idea what could be causing the problem?

Thanks for any help in advance.