dual boot: SPIFI-image programming, running from internal Flash

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by Bernardo on Tue Aug 27 23:33:28 MST 2013
We are using an LPC1822 together with a Spansion S25F128 or S25F256 quad-SPI. The setup is:

> Internal Flash is used for main application and for programming an image into SPIFI-flash.
> SPIFI-program used for testing purposes, incorporating boot loader for updating software in internal flash.
> Development platform LPCXpresso.

What steps are needed to program an application image into the mentioned SPIFI-chip,
by a program running from internal flash?