I have an image that runs out of flash.

The first time - directly after download and flash write, the image does not
boot properly. Resetting the device works.


Resetting the device it seems to work fine. Then after a while, it fails
again....

=======================================
first boot failure
=======================================

CE Kernel for ARM (Thumb Enabled) Built on Jun 24 2004 at 18:21:58
ProcessorType=0411 Revision=7
sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable = 9aa9c1e0
XSCDBG:Trace initialized: CFG:801470c4 Buffer: 80145b98, 14f0Error
Reporting Memory Reserved, dump size = 00020000
Booting Windows CE version 5.00 for (ARM)
&pTOC = 9aa89d1c, pTOC = 9c58edf8, pTOC->ulRamFree = 8016b000, MemForPT =
00000000

Old or invalid version stamp in kernel structures - starting clean!
Configuring: Primary pages: 15728, Secondary pages: 0, Filesystem pages = 7864

Booting kernel with clean memory configuration:
Memory Sections:
[0] : start: 8016c000, extension: 00004000, length: 03d70000
Sp=ffffc7cc
ARMInit done.
Windows CE KernelInit
Updated eptr->e32_vsize to = 000c3000
Scheduling the first thread.
0x83edf024: KernelInit2: pCurThread=83edf024 hCurThread=03edf266
hCurProc=03edf002, KernelInit = 9aaaa084
0x83edf024: Detecting VFP...0x83edf024: VFP Not Found!0x83edf024: Updated
eptr->e32_vsize to = 00006000
0x83edf024: first = 01e30000, last = 02000000, SharedDllBase = 02570000

==================================================
subsequent failure
===================================================
Booting kernel with existing memory configuration:
Memory Sections:
[0] : start: 8016c000, extension: 00004000, length: 03d70000
ERROR: c:\macallan\private\winceos\coreos\nk\kernel\physmem.c line 284:
RemovePage : removing invalid address 0x01262000 (PFN 0x00062000)
NK Kernel: DEBUGCHK failed in file
c:\macallan\private\winceos\coreos\nk\kernel\physmem.c at line 285