This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PGA400

Hi Clancy ,

I have written 4bytes in EEPROM then I want to read those values and need to update in array. It is written in EEPROM read through GUI.

I havedone in following way:  

unsigned char xdata EEPROM_BANK0[16] _at_ 0x0000;

                                                    Write(Loc,Value);  

                                                     Read(Loc);

                                                      Read(Loc){ for(i=0;i<4;i++){ readArray[i]=EEPROM_BANK0[i]; }}

                                                  for(i=0;i<4;i++)       

                                                   {                                               

                                                           Localarray[i] =  readArray[i];

                                                     }

1)Is required time delay between after EEPROM write to read EEPROM values.

2)Is required time delay between each location read?

  • 1) Make sure to read the PGA400 errata for details about the V_EEPROG flag and recommendations for EEPROM programming.  There is also a section in the programmer's guide that provides guidance ("Programming the EEPROM Memory").  Essentially, wait at least 1ms after initializing EEPROM programming, then clear the EEPROG UV flag.  After 15ms, the writing process should be completed.

    2) Loading EEPROM cache after selecting a bank takes about 8us.

    Note that in both of these situations, you can poll the appropriate bits in the EE_STATUS register to determine if EEPROM programming or EEPROM transfer to cache is taking place.

  • Thank you Clancy EEPROM Reading is working.