MCS文件格式详解.doc

  1. 1、本文档共4页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
MCS文件格式详解

Description The iMPACT software can be used to generate the following PROM file formats: Intel MCS-86 Hexadecimal Object (.mcs) Motorola EXORmacs (.exo) Tektronix HEX (.tek) Hexadecimal files (.hex) containing only data (without addressing) in ASCII format can also be generated using the iMPACT software. EXO files will not be support past iMPACT 11.4 and PROMGen will need to be used to change these files into MCS files. For more PROM File Articles and other Configuration Related Articles, see (Xilinx Answer 34104). Solution PROMGen can be used to change file format from one type to the another in the following manner. The following changes an .mcs file into a hex file: promgen -p hex -r input.mcs -o output.hex PROM File Formats INTEL MCS-86 HEXADECIMAL OBJECT File Format Code 88 The Intel Hexadecimal Object record format has a 9-character (4 field) prefix前缀 that defines the start of the record, byte count, load address, and record type, as well as a 2-character checksum suffix. 开始记录、字节个数、加载地址、记录类型、2字符的校验和后缀 The 16-bit hexadecimal format allows for a 20-bit segmented address space, and the 32-bit format allows for the 32-bit linear address space. 16 bit形式允许20 bit的分割的地址空间,32 bit形式允许32 bit的线性地址空间。 The six record types are: 00 = Data Record 数据记录 01 = End of File Record (signals the end of the file) 文件结尾记录 02 = Extended Segment Address Record (provides the offset to determine the absolute destination address) 段地址记录 03 = Start Segment Address Record (is ignored during input and not sent during output by Data I/O translator firmware) 04 = Extended Linear Address Record (provides the offset to determine the absolute destination address) * 线性地址记录 05 = Start Linear Address Record (provides the execution start address) * 起始线性地址记录 *NOTE: The Extended Linear Address Record type and Start Linear Address Record type are supported only in the 32-bit format. : 10 0010 00 0000 00E0 0400 0000 0400 0000 0C80 0480 E8 :16个字节 地址 数据 : 10 0020 00 0020 FCA7 0C80 0180 4010 0

文档评论(0)

almm118 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档