Sunday, September 4, 2011

Motorola S-record file

Compilers for microcontrollers from Renesas Electronics like R8C and M16C usually output a .mot file which is a Motorola S-record file. This is a standard ASCII text file which contains the opcodes to be placed at each location within the target microcontroller's program flash memory. A programmer application software would read this .mot file and program the flash memory of the microcontroller chip accordingly. Motorola S-record format is somewhat similar to Intel HEX file format


The following quick reference chart will help you understand the Motorola S-record file format easily - specially useful if you are developing software to parse .mot file. The diagram was based on the data presented at: http://www.amelek.gda.pl/avr/uisp/srecord.htm




A4 Landscape PDF File of the above diagram is here.

0 comments:

Post a Comment