LPC4357 write file to Flash

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

LPC4357 write file to Flash

619 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by marcosbontempo on Tue May 03 07:17:09 MST 2016
Hello,

I need to develop an application that reads a file in a SD card and write its content to LPC4357 Flash memory.

Do I need to format the LPC4357 memory in some filesystem like FAT?

Is there and example that does it?

Any tip will be very helpful,
Thanks.
Labels (1)
0 Kudos
Reply
3 Replies

544 Views
lpcware
NXP Employee
NXP Employee
bump
0 Kudos
Reply

544 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by marcosbontempo on Wed May 04 04:39:58 MST 2016

Quote: vtw.433e
Use IAP calls (as documented in the User Manual) to write to Flash.

Internal Flash is just linear memory. Only code running on the LPC4357 can access the Flash, so you do not need to format it. You just need to place it into a known location so you can retreive the file and its contents.



Thanks for your answer!

I need to create a file with a path like C://file.txt. Can I do it without a filesystem?

And if I want to write in a external flash, is there an example for it?
0 Kudos
Reply

544 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by vtw.433e on Tue May 03 07:58:58 MST 2016
Use IAP calls (as documented in the User Manual) to write to Flash.

Internal Flash is just linear memory. Only code running on the LPC4357 can access the Flash, so you do not need to format it. You just need to place it into a known location so you can retreive the file and its contents.
0 Kudos
Reply