Renesas FLASH Development Toolkit 3.07 Uživatelský manuál Strana 19

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 19
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 18
RLCD2378 User’s Manual Rev 1.1 19/ 19 September 2007
Appendix B. Bin_to_Mot options
Bin_to_mot.exe
Utility to convert (and merge) Motorola (S records) and/or Intel hex files and/or Binary (max input address
0x00FFFFFF).
Motorola/Intel Hex formats are automatically detected (based on 'S' or ':'). Use -B for binary handling.
Output data format can be Motorola (S records) or Intel hex or ASCII 8-bit comma Delimited Array or pure
binary data.
usage: mot -[b/c/i/m][aaaaaaaa] [-B][-f] file(s)_in file_out
'-b' : generate binary data file
'-c' : generate ascii byte delimitted array suitable for initiating 'c'
arrays (as follows)
const unsigned char file_data[]=
{
#include "file.h"
};
'-w' : generate ascii word delimitted array suitable for initiating 'c'
arrays (as follows)
const unsigned short file_data[]=
{
#include "file.h"
};
'-i' : generate Intel hex record format
'-m' : generate Motorola hex record format (this is the default option)
'aaaaaaaa' : optional address relocation for i/m formats (Hex format)
'-2' : perform 2-byte endian flip on data
'-4' : perform 4-byte endian flip on data
'-f' : suppress records that contain only 0xFF data values (for intel/mot
outputs), default is no suppression
example 1: "hex_to_hex -m00004000 file.hex -f file.mot"
converts intel format in file.hex to motorola format in file.mot.
Data is relocated to start at address 0x4000.
Output has 0xff records suppressed
example 2: "hex_to_hex -b file1.hex file2.mot file3.bin"
merges intel format in file1.hex and motorola format in file2.mot and output
s binary data in file3.bin.
example 3: "hex_to_hex file.mot"
Analysis only of file, no output file is generated. This format displays sta
rt/end address and ID information.
example 4: "hex_to_hex -B -2 -w file1.bmp file1.h"
Input binary file and output word byte flipped data to c header file
Zobrazit stránku 18
1 2 ... 14 15 16 17 18 19

Komentáře k této Příručce

Žádné komentáře