Content originally posted in LPCWare by demarchidaniele on Wed Aug 29 05:49:02 MST 2012
Hello,
I am porting a project from PIC32 to LPC4330 :D.
The port is near to be terminated but I am in trouble with data saving into flash.
For tests I am using LPC4330 Xplorer that has a SPIFI flash S25FL032P.
The idea is to reserve a portion of flash memory for data storage.
I have modified the memory configuration with a PROGAREA_REGION intended to be used for read and write from the M0 or M4 application.
Address and size is not yet defined, for the moment a size of 0x10000 byte is enough (see picture).
I've looked for an example but everything seems not working or incomplete.
Can somebody suggest a working example for it?
Second question: while programming the external flash is possible to continue execution from another region of the same external Flash?
I am using LPCXpresso Version: v4.2.4 [Build 267] [2012-07-11] for MAC OS X
Thanks in advance.