AnsweredAssumed Answered

Fail to cold boot over SPIFI

Question asked by lpcware Employee on Jun 15, 2016
Latest reply on Aug 9, 2016 by Carlos_Mendoza
Content originally posted in LPCWare by midas on Wed Mar 02 10:52:51 MST 2016
I have a proprietary board based on LPC4330, which I have been working with without any problem for quite some time. It has a Spansion S25FL032P serial flash connected to the SPIFI. I can use LPCXpresso (version 8.0.0) to flash the serial flash and debug my programs, but lately I have tried to run a program that was in the flash from cold boot (which I seem to have been able to do in the past, but I am not sure anymore), but the flashed program wont run. I have generated a new minimalistic LED blinking program, that doesn't even program the clock, but I can't get that to run from cold boot either, although it runs ok from SWD debugger. The board is configured to boot from SPIFI. When I try to connect to target that fails to run on its own ("attach only"), connection fails with message "cannot access core regs when target running". With the debugger I can confirm that the program is properly located in serial flash at 0x14000000.

Any ideas?

Thanks,
Uri

Outcomes