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

nk.bin and nk.nb0

819 views
Skip to first unread message

coke

unread,
Oct 8, 2009, 2:12:25 AM10/8/09
to

Hi. everybody, What's the difference between nk.bin and nk.nb0?
As i know, the .bin file is the compressed file. any others difference?
i also want to know the detailes content of the nk.bin, any help?
thanks in advance!

Karthikeyan

unread,
Oct 8, 2009, 3:05:45 AM10/8/09
to

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

Valter Minute [eMVP]

unread,
Oct 9, 2009, 4:21:48 AM10/9/09
to

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)

mike

unread,
Oct 9, 2009, 2:03:20 PM10/9/09
to
Addition to all input, .nb0 can executed directly without any help but
not .bin.

mike

unread,
Oct 25, 2009, 12:47:00 PM10/25/09
to
I thought to write a article on this topic.
You can find some more details on it.

http://wince-india.blogspot.com/2009/10/what-is-difference-between-nb0-and.html

~~Mike

0 new messages