📄 frec.htm
字号:
<title>FastLoad Format</title><h1 align=center>FastLoad Format</h1><!--INDEX "FastLoad format" -->The FastLoad Format uses a compressed ASCII format that permits files to be downloaded in less than half the time taken for Motorola S-records. <p>The base-64 encoding used is "<tt>A-Za-z0-9,.</tt>". The data is encoded ingroups of 4 characters (24 bits). The character '<samp>/</samp>' is used tointroduce a special function. Special functions are:<p><center> <table border cellpadding=5 width=80%><tr> <td valign=top align=left><samp>A......</samp></td><td> Defines an address. </td></tr><tr> <td valign=top align=left><samp>B..</samp></td><td> Define a single byte. </td></tr><tr> <td valign=top align=left><samp>C....</samp></td><td> Compare the checksums </td></tr><tr> <td valign=top align=left><samp>EAA</samp></td><td> Define the program's entry point. The address will be the current address as defined by the 'A' command. </td></tr><tr> <td valign=top align=left><samp>KAA</samp></td><td> Clear the checksum. </td></tr><tr> <td valign=top align=left><samp>S.....,X</samp></td><td> Define a symbol. The address of the symbol will be the current address as defined by the 'A' command. </td></tr><tr> <td valign=top align=left><samp>Z..</samp></td><td> Clear a number of bytes. </td></tr></table></center><p>Examples:<p><pre> /ACgAgAA - addr = a0020000 /ZAI - clear 8*3=24 bytes /EAA - define entry at 'addr' and exit AAABAAAC - 00 00 01 00 00 02 /Sfred,X - symbol = 'addr' /BAB - byte of 01</pre><p><h2>Generating FastLoad format files</h2><!--INDEX "Generating FastLoad format files" -->The PMON source package contains two mechanisms for generatingFastLoad format files.<p><ul><li>The <a href="tools/pmcc.htm">"pmcc -fast"</a> command.<li>The <a href="tools/genfrec.htm">genfrec</a> command.</ul>The program genfrec converts MIPS ECOFF files into FastLoad formatrecords.Thus, if used in conjunction with the command <ahref="tools/gencoff.htm">gencoff</a>, it is possible to convert anarbitrary file into FastLoad format using the followingprocedure:<p><pre> gencoff -T80050000 file.bin -o file.cof genfrec file.cof > file.rec</pre><p>This example will convert the file "file.bin" to "file.rec", which willdownload to 0x80050000.<p></dl><p><hr><b>Navigation:</b> <a href="index.htm">Document Home</a> | <a href="doctoc.htm">Document Contents</a> | <a href="docindex.htm">Document Index</a> <p>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -