lpcware

SPIFI reset

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by mb1391 on Sat Feb 15 02:11:01 MST 2014
Hi,

I have a problem regarding SPIFI software reset. I am using LPC-40xx controller for my product, and LPCXpresso v6.1.0 IDE for firmware development.

I have managed to get the SPIFI working for storage of data.

It works perfectly fine with Power On reset, but when I add watchdog reset, the hardware gets stuck at the first accessing attempt of SPIFI.
The initialization generates error code 0x2000A (No operative serial flash (JEDEC ID all zeroes or all ones)) after such reset.

The user manual mentions that SPIFI is disabled on reset, which is not mentioned in the errata; on the other hand LPC-43xx supports peripheral reset for SPIFI (reset#53).

The registers for sending commands or addresses also are not supported in LPC-40xx so as to send reset commands.
Correct me if I am wrong about the registers.

Is there any fix / workaround for resetting the SPIFI?

Outcomes