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.

17.3 Details on Options of the Binary Converter<br />

17.3.2 Specifying the Split Mode (-sp)<br />

Specify this option to output a binary image in the split mode.<br />

■ Specifying the Split Mode (-sp)<br />

[Format]<br />

-sp < Number of output files > [ , < Number of bytes > ]<br />

[Parameters]<br />

<br />

Specifies how many output destination files should be split into. A value between 2 and 16 inclusive<br />

may be specified.<br />

<br />

Specifies the unit of splitting data in bytes. A value between 0x01 and 0xFFFFFFFF inclusive may be<br />

specified.<br />

[Description]<br />

This option is used to output data in turns into multiple files. Use this option, for example, to output<br />

every two bytes of data in turns into two files when data in 32bits units is configured using two ROMs<br />

with a 16bits data width.<br />

In , you cannot specify a value that will cause one or more output files to have zerobyte<br />

output.<br />

The may be omitted. If so, the data is split in 1byte units by default.<br />

This option allows you to output the 64Kbytes data into two 32Kbytes binary image files. However,<br />

this option is used only to output data in turns into multiple files. If you specify the parameters to split<br />

the 65Kbytes data into two 32Kbytes files, the last 1Kbytes data is output into the former file.<br />

If this option is specified, the extension ".bxx" (xx is a two-digit number between 01 and 16 inclusive)<br />

is unconditionally added to the output file.<br />

[Example 1]<br />

m2bs sfmtfile.mhx (Example of not using the -sp option)<br />

A binary image is output into sfmtfile.bin.<br />

[Example 2]<br />

m2bs sfmtfile.mhx -sp 2<br />

Every one byte of a binary image is output in turns into sfmtfile.b01 and sfmtfile.b02.<br />

[Example 3]<br />

m2bs sfmtfile.mhx -sp 2,2<br />

Every two bytes of a binary image is output in turns into sfmtfile.b01 and sfmtfile.b02.<br />

PART IV OBJECT FORMAT CONVERTERS 297

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

Saved successfully!

Ooh no, something went wrong!