I have gone through the user manual of LPC54608 regarding EEPROM. In that they mentioned, writing of EEPROM required two steps: They are:
The first step is writing a minimum of 1 word (4 bytes) to a maximum of 32 words (128 bytes)
to the desired page in the 16 kB EEPROM address space at address 0x4010 8000.
Step two is an erase/program of that page into non-volatile memory.
I don't understand that meaning.
and I have seen the SDK files. In that also, data reading from EEPROM is also not available.
Thanks and Regards,
Avinash.
Hello
I will gladly answer your questions. Step one refers to write the data in the address you chose. The data will be at the address but it won't be written in the memory until you program it in step 2.
You cannot read the data when you are on step 1, to read the data you need to have the data programmed in the memory.
Let me know if this is helpful, if you have more questions do not hesitate to ask me.
Best regards,
Omar
can you provide step by code for my reference and why it is taking two steps to store data.
An EEPROM device cannot be programmed directly, that's why writing data to it and erase/program of the memory are two different steps.
You can find EEPROM examples at the SDK https://mcuxpresso.nxp.com/en/welcome
Let me know if this is helpful, if you have more questions do not hesitate to ask me.
Best regards,
Omar