Programming SPIFI with LPC1850

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

Programming SPIFI with LPC1850

351 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by vg1xz on Tue Oct 09 13:06:41 MST 2012
Hi,
I´m using a LPC1850 which is booting and running the software application from SPIFI. But my application need to erase and programming some sectors of SPIFI memory while running (like IAP commands). Anyone knows how to do this?
Labels (1)
0 Kudos
3 Replies

316 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Cusko on Thu Oct 11 01:15:06 MST 2012
Yeah,
I tried this one too, but without success. So I am also interested.
0 Kudos

316 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by chuckp on Wed Oct 10 06:22:19 MST 2012
I tried this once.  I found that when I was running from SPIFI, accessing the SPIFI library killed the program.  This makes some sense to me.  In a program running from RAM I was able to write to the SPIFI using the library.  I suspect, though I haven't tried, that you need to be sure you are not running out of SPIFI when you do the write.  So try putting the code to program the SPIFI in RAM?
0 Kudos

316 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by DF9DQ on Tue Oct 09 15:09:27 MST 2012
Download the peripheral driver library from here:
http://www.lpcware.com/content/nxpfile/lpc18xx-cmsis-compliant-standard-peripheral-firmware-driver-l...

It contains a SPIFI library and a description of the API.
0 Kudos