Booting from SPIFI and then shutting down the automatic memory fetches from SPIFI

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by belzurkur on Wed Aug 15 16:07:48 MST 2012

I have a project based on the bootfast example, where a custom scatter file is used to locate everything to SRAM.  I have added moving the interrupt vectors to SRAM and changed the VTOR register.

The image boots fine via SPIFI, but now that the program is running in SRAM I would like to re-purpose the SPIFI for another use. 

I cannot determine how to shut down the automatic memory mapping of SPIFI from the boot stage.  Any interruption of the SPIFI signals or clocks creates a hard-fault exception.

Any help you can provide is appreciated.