Re: Flashing nk.bin for SW Update
- From: "SenIndia via PocketPCJunkies.com" <u48210@uwe>
- Date: Mon, 09 Feb 2009 09:56:16 GMT
Well i have a different opinion here. if this is NOR Flash then only this is
true that you can convert 1's into 0's not 0's to 1's while writing. to
convert 0s to one you'll have to erase a block.
In case of NAND Flash you can write one sector once. to change the data of
that sector you'll have to erase the complete block. even if you forcefully
try to update the data (writing a sector without erasing the block) of a
sector without erasing the block data may be updated but ecc will create
problem you wont be able to get the correct data.
as far as .bin and .nb0 are concerned. for .bin you have to parse it first. .
bin is a record based file format. apart from the image header there are also
record header which you'll have to strip off. source code you may find in the
blcommon.cpp.
image length you can get from the image header or if you are downloading
record by record.
last record of .bin file uses sentinel values for address and checksum. so
you can find out when your image is complete. launch address is information
you need to find out care fully.
--
SenIndia
Embedded & Multimedia Plateform Devision
NECHCLST
India
Message posted via PocketPCJunkies.com
http://www.pocketpcjunkies.com/Uwe/Forums.aspx/wince-programming/200902/1
.
- References:
- Re: Flashing nk.bin for SW Update
- From: Rik Attrill
- Re: Flashing nk.bin for SW Update
- Prev by Date: Re: Detection of a connected laptop via USB.
- Next by Date: Re: Detection of a connected laptop via USB.
- Previous by thread: Re: Flashing nk.bin for SW Update
- Next by thread: Re: Flashing nk.bin for SW Update
- Index(es):
Relevant Pages
|