Windows CE 5.0 Absolute Binary Data Format(NK.nb0格式)

來源:互聯網
上載者:User
Platform Builder for Microsoft Windows CE 5.0 Absolute Binary Data Format

The Absolute Binary Data (.abx) file format is a byte-for-byte mirror image of the data in ROM. The raw binary file format is used to contain a raw binary image of the run-time image, which is as it appears in the memory on the target device. The image does not contain the header information that the .bin file includes. The .nb0 file is typically larger than the .bin file.

 

  This format contains no wrappers (封裝)and works especially well when only raw data is required. For example, this is useful when placing the initial run-time image directly on the target device. This is usually done with a built-in monitor program provided by the board manufacturer. You can also place the run-time image on the target device through a JTAG connection using a JTAG probe.

  Romimage.exe has options that allow the the run-time image to be split into multiple absolute binary data files based on the ROM addressing and size requirements.

When the run-time image is split into multiple files, the file name extension contains a sequence number in place of the x in the .abx file name extension. This file name extension allows you to identify multiple run-time images.

 

  Romimage.exe fills all unused regions with zeros.

  To define this format, use the following configuration options in the CONFIG section of the Config.bib file:

  • ROMSIZE
  • ROMSTART
  • ROMWIDTH

  Use the ROMSTART and ROMSIZE configuration options in conjunction with the memory table to specify a RAMIMAGE section for your run-time image.

  ROMSTART defines the address where your image begins in memory; ROMSIZE defines how big it is. This means that your image occupies a continuous region of memory between the ROMSTART address and the sum of ROMSTART and ROMSIZE.

 

對於這句The Absolute Binary Data (.abx) file format is a byte-for-byte mirror image of the data in ROM不理解,這個局部變數,全域變數的位置在哪裡呢?真是神奇了。雖然明白,但是還是不清楚。哈哈我們就是使用NK.nb0這種裸資料的,雖然簡單,但是和微軟做對始終要吃虧。現在看來,這個nk.nb0檔案的確讓人鬱悶,他的所謂a byte-for-byte mirror image of the data in ROM是什麼意思,怎麼樣才能瞭解他的變數等的結構,天啊,貌似要理解這個記憶體是怎麼啟動並執行才行。

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.