31.12.2013 Views

Linkage Kit Manual V6-00 - Fujitsu

Linkage Kit Manual V6-00 - Fujitsu

Linkage Kit Manual V6-00 - Fujitsu

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CHAPTER 17 BINARY CONVERTER (m2bs, h2bs)<br />

17.3.1 Specifying the Output Range (-ran)<br />

Use addresses to specify the range to be converted to a binary image.<br />

This option must be specified for binary converter.<br />

■ Specifying the Output Range (-ran)<br />

[Format]<br />

-ran < Starting address > [ , < Ending address > ]<br />

[Parameters]<br />

<br />

Starting address<br />

<br />

Ending address<br />

[Description]<br />

Use addresses to specify the range of an S format file to be converted to a binary image.<br />

This option must be specified before converting.<br />

Specify the starting and ending addresses between 0x0 and 0xFFFFFFFF inclusive.<br />

The ending address may be omitted. If so, data as much as 64Kbytes from the starting address is<br />

converted to binary.<br />

You cannot specify values that will make the conversion size more than 2Gbytes.<br />

[Example 1]<br />

m2bs sfmtfile.mhx (An example of not using the -ran option)<br />

An error occurs because the output range is not specified.<br />

[Example 2]<br />

m2bs sfmtfile.mhx -ran 0xD<strong>00</strong>0,0xFFFF<br />

The data in sfmtfile.mhx at addresses 0xD<strong>00</strong>0 through 0xFFFF is extracted and output into a binary<br />

image file.<br />

[Example 3]<br />

m2bs sfmtfile.mhx -ran 0xD<strong>00</strong>0 (An example of not using the ending address)<br />

The data in sfmfile.mhx as much as 64Kbytes from the address 0xD<strong>00</strong>0 (0x0D<strong>00</strong>0 through 0x1CFFF) is<br />

extracted and output into a binary image file.<br />

[Example 4]<br />

m2bs sfmtfile.mhx -ran 0xFFFF,0xD<strong>00</strong>0<br />

An error occurs because the specified ending address is smaller than the starting address.<br />

[Example 5]<br />

m2bs sfmtfile.mhx -ran (An example of omitting all the parameters)<br />

An error occurs because the starting address is omitted.<br />

296 PART IV OBJECT FORMAT CONVERTERS

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!