Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Simple NK.bin Update...

0 views
Skip to first unread message

Juan

unread,
Dec 22, 2009, 9:42:59 PM12/22/09
to
Or so I thought...

Im trying to have a simple "field" update mechanism for my WinCE 5.0 device.

Sounds easy enough...

I am running 16Mb flash, of which only the top 8Mb is used as a
persistent filesystem (using the built in NOR driver, mounted as \flash\).

The OS image lives in the bottom 8Mb and is loaded into RAM before it is
kick started... There is no filesystem access to this portion of RAM.

So I should be able to get to the nk.bin/nk.nb0 image that resides in
the lower portion of flash without disturbing the image that is running
in RAM... then its just a matter of rebooting the system, and the new
image should load...

The problem I am having, is that I keep getting access denied errors
(0x05) when I try to WRITE to the parts of flash were the image lives (I
know exactly where the bootloader puts it)... I can read it fine, just
writting seems to be getting the better of me...

I have tried to dismount the \flash\ filesystem, with the same 0x05
result...


I know its probably one simple step that I am overlooking... Any
suggestions?

Cheers,
Juan

Luca Calligaris [eMVP]

unread,
Dec 23, 2009, 3:14:01 AM12/23/09
to
How are you writing to the flash? Are you using the driver IOCTL interface?

--
Luca Calligaris (MVP-Windows Embedded)
l.calliga...@eurotech.it.nospam
www.eurotech.it


"Juan" <juan....@acousticresearch.com.au> ha scritto nel messaggio
news:OgJMlm3g...@TK2MSFTNGP06.phx.gbl...

0 new messages