Hi,
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
已解决! 转到解答。
For Internal Flash, in fsl_iap, there is FLASH_Program(), we can use it to store date in run time.
Please execute FLASH_Erase() then FLASH_Program()
fsl_iap doesn't work for external Flash. What external Flash interface?
Hi,
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.
Here we reviewed that use Internal FLASH memory instead of EEPROM.
Kindly guide that how to use internal FLASH memory as EEROM storage
Hi Dhaya
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.
Hope this helps,
Jun Zhang
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
For Internal Flash, in fsl_iap, there is FLASH_Program(), we can use it to store date in run time.
Please execute FLASH_Erase() then FLASH_Program()
fsl_iap doesn't work for external Flash. What external Flash interface?