1 / 13
文档名称:

Hex文件格式说明文档.docx

格式:docx   大小:5,119KB   页数:13页
下载后只包含 1 个 DOCX 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

Hex文件格式说明文档.docx

上传人:文库旗舰店 2020/12/6 文件大小:5 MB

下载得到文件列表

Hex文件格式说明文档.docx

文档介绍

文档介绍:Hex File Reference
The postlocator is responsible for generating the hex file needed for the ROM flow. It can also be used by emulator and simulator for testing purposes. Due to the data structure of Intel hex files, it is not possible to handle virtual and physical addresses as data structures within the same file nor virtual addresses for multiple levels. Therefore, SLE 79 specific information is provided within comment lines. Such information are comments to be is played in the ROM generator GUI, date and time of creation, segment descriptors, virtual addresses and so on.
Note: The Intel hex file is an ASCII text file with lines of text that follow the Intel hex file format. Each data line in an Intel hex file contains one hex record. These records are made up of hexadecimal numbers that represent machine language code and/or constant data. Intel hex files are often used to transfer program and data to be stored in ROM or NVM.
Hex File Structure
The SLE 70 hex file is divided into three parts which have to occur in the described order:
• Comment part containing the following information:
– As first line “; TYPE=SLE70_MASK_IHEX” as identifier for the SLE 70 hex file format.
– Five sections in arbitrary order
- COMMENT (optional)
- INFO
- MEMORY_ADDRESSES
- CONFIG
- DESCRIPTOR
– The keywords inside these sections may contain
- Letters “a – z” and ”A – Z” (not case sensitive)
- Digits “0 – 9” but not as first character
- “-” or “_” but not as the first character
-Leading and trailing spaces are ignored
• Data part which data lines (records) start always with a colon “:”. The only comments allowed in this part are the definitions of the virtual addresses “V_ADDR = 0x...”. These comments are allowed at the beginning of a line and define the virtual address for the following data lines until another definition of the virtual address. The virtual address must contain the level information in the upper byte. The offset
in an extended line