Write custom data to flash in LPC55S28

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Write custom data to flash in LPC55S28

665 Views
Ridzuan
Contributor I

Hi,

Is it possible to write custom data to LPC55S28 flash area and treating it like writing to EEPROM? If yes, is there any sample code that I can refer to?

Thanks,

Ridzuan

0 Kudos
1 Reply

635 Views
Sabina_Bruce
NXP Employee
NXP Employee

Hello ,

Hope you are doing well.

I'd recommend to check our examples in the SDK. Many make use of the flash area. In addition if you would like to use different commands in the flash to store data, you may refer to the flashiap1 example in the driver_examples folder when importing an SDK example.

nxf51209_0-1601914811026.png

Here you will find an example to write, read and erase blocks in the flash area.

Hope this helps!

Best Regards,

Sabina

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

----------------------------------------------------------------------------------------------------------------------- 

0 Kudos