Other Parts Discussed in Thread: C2000WARE
Tool/software:
hi expert:
I have some questions about emulating EEPROM with the Flash.
1)The EEPROM_Read( ) function provides functionality for reading the data and storing it into a temporary buffer.The current bank and page are found and the contents of the current page are stored in the Read_Buffer:
how to read the last some data?such as ,i have three parameters,write parameter1 in page 1,write parameter2 in page 2,i can read parameter2,but how to read parameter1?

2)i have three parameters in eeprom,write parameter1 in page 1,write parameter2 in page 2,write parameter3 in page 3,the parameter2 needs to update,so write parameter2 in page 4?when parameter2 update many times,the last page is used,i should erase the whole pages.so all parameters erased.
how to deal the parameter1 and parameter3?read the parameter1 and parameter3,rewrite?







