We are trying to utilize internal ROM Flash memory for the purpose of secondary memory (instead of EEPROM) in LPC 1768, LPC 55S16. Is it possible to utilize FLASH for secondary memory and if possible how we can use. Kindly guide us to achieve on this
We are try to store the calibration data in internal memory. We using LPC55S16 hence there is no EEPROM. We need almost 300 Bytes of storage. Hence we reviewed some websites to store those data in internal memory.
Under MCUXpresso SDK folder, there is demo code iap_flash. I suggest you referring it.
This demo code erases and programs a portion of on-chip flash memory. A message a printed on the UART terminal as various operations on flash memory are performed.
Thanks for the support. I taken the driver file from fsl_iap.h and fsl_iap.h. I need to save a particular a data byte in internal Flash memory during run time and read data from this. But i could not able to find the difference. How i store data in run time and how to read in Flash. Also i didn't found any register to reconstruct it. hereby i attached images kindly guide to save external data
Thanks for your reply. Also kindly guide, how we can assign address for the respective data since the program memory may take that address. How we can set the range for program memory?