Content originally posted in LPCWare by cojanprins on Fri Mar 06 08:09:44 MST 2015
Will this work while SPIFI is still in QUAD mode and in XIP mode? At least in my case it is not working at all.
In the library example I see:
/* Make sure we are not in mem mode and turn off QUAD for now */
spifiDevSetOpts(pSpifi, SPIFI_OPT_USE_QUAD, false);
spifiDevSetMemMode(pSpifi, false);
So in that version, it looks like that QUAD mode will be disabled first before changing from memory mode into command mode.
Could that be the solution? Remember, that my application has booted from SPIFI and copied into SDRAM from which execution is done. I assume that the LPC18xx boots in quad mode and remains in quad mode even after execution continues in SDRAM. So I'm not sure, which commands will be accepted by the SPIFI while in XIP/QUAD mode.
The problem is also, that I cannot get a correctly filled handler because of the fact the SPIFI is still in XIP/QUAD mode.