I download the "MPC5xxx_EEE_DRIVER.exe" from official website.
Then I modified the "DATA_SIZE" "BUFFER_SIZE" and "SCHEME_SELECT" values in order to match our project requirement.
The demo code is:
#define SCHEME_SELECT ECC16_VARLENGTH
#define BUFFER_SIZE 0x50
#define DATA_SIZE 0x40
our code is:
#define SCHEME_SELECT ECC16_FIXLENGTH
#define BUFFER_SIZE 0x1000
#define DATA_SIZE 0x300
After those changes, the code would not operate normally.
the return value of "FSL_WriteEeprom" function is EE_ERROR_NO_ENOUGH_SPACE.
If Setting "DATA_SIZE" is less than 0x100, the return vlue is EE_OK, the code can run properly.
But in manual, the "DATA_SIZE" is described as below:
so, if we wanted "DATA_SIZE" is greater than 0x500, which steps should I do ?