Keil Logo

Motorola S-Record to BINARY File Converter

This utility program creates a BINARY file from a Motorola S-Record file. You can use BINARY files with most EPROM programmers and you can easily use them for CRC or checksum calculations. Options for this utility program are listed below:

Syntax: MOT2BIN [/option] motfile [binfile]

motfile is the Motorola S Record input file
binfile is the binary file to create

option  may be any of the following

  /Ln     Binary file length
  /Pn     Pad data for binary file
  /On     Address offset (to add to Motorola records)
  /M      Merge data into existing BIN file
  /Q      Quiet mode (no statistics are displayed)

  /?      This help text

Note: This utility program is a DOS application! It requires 8.3 naming convention for file names and paths and it does not run on 64Bit Windows versions! However, you can execute it in the XP mode (Virtual PC) of Windows 7 if necessary.

The utility srec_cat.exe is an excellent and more versatile replacement for HEX2BIN, BIN2HEX, BIN2MOT and MOT2BIN. This tool is part of the SRecord project hosted on You can download it from

Please see the following knowledgebase articles how HEX, BINARY and SRECORD files can be converted, merged and split using the srec_cat utility together with Keil microcontroller development tools.

Tuesday, August 10, 1999
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.