Hi ,
An nk.bin is a set of records. Each record includes an address,
length and data to be stored at the address. By using these records,
the file size can often be reduced which makes downloading the file to
a device quicker. It can be smaller because often the data does not
fill the entire space allocated for the OS.
For further details visit
http://geekswithblogs.net/BruceEitman/archive/2008/05/17/platform-builder--creating-an-nk.nb0.aspx
Regards,
Karthik
The bin file is organized in records and so it's usually more compact
than the nb0 (as Karthikeyan pointed out you may have empty regions at
the end of some code/data pages and those are not include in the .bin file).
The bin file includes also the information required to place those data
inside the device memory.
The nb0 is a "flat" byte per byte memory image and you need to know
where you have to load it in memory to be able to run it.
Notice that some applications used to write OS images in flash/RAM
provided by silicon vendors or jtag emulators use the .bin extension for
flat binary images (that for PB are NB0). If you plan to store the nb0
and load it in RAM to execute it remember that you should also store
somewhere its base address.
--
Valter Minute (eMVP)
www.fortechembeddedlabs.it - Training, support and development for
Windows CE
www.geekswithblogs.net/WindowsEmbeddedCookbook - My embedded programming
and cooking blog
(the reply address of this message is invalid)
http://wince-india.blogspot.com/2009/10/what-is-difference-between-nb0-and.html
~~Mike