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.
I have also made this diagram available on Wikimedia Commons here and have embedded it in the SREC article on Wikipedia.

9 comments:

Unknown said...

Thanks for your information.

I'm just a beginner for the renesas controller. i have IDE to compile the code. but i'm not able to convert it into binary. Can you suggest me some other tools to convert mot to bin file.

Anurag Chugh said...

Hi, we used the utility here to convert .mot to .bin:
Motorola S-Record to BINARY File Converter

markson said...

AnyConv is very easy to use. Just visit their website, upload your original files, choose the format you want to convert them to, and then hit Convert Now. Converted files can be downloaded immediately. anyconv.com

Logan Jack said...

Thanks for all your valuable labor on this website. Gloria delights in getting into investigations and it’s obvious why. Most people hear all concerning the dynamic method you present powerful guidelines on this website and as well boost response from other individuals on the subject matter so our own daughter is truly studying a lot of things. Take pleasure in the remaining portion of the new year. You’re the one carrying out a splendid job. iphone psd

jhon said...

I am really inspired with your writing talent well with the layout to your weblog. Is this a paid topic or did you modify it your self? Anyway stay up the excellent high quality writing, it’s rare to peer a great blog like this one nowadays. iphone template

WebCodexIT said...

This is very interesting, You are a very skilled blogger. I have joined your rss feed and look forward to seeking more of your great post. Also, I have shared your site in my social networks! ipad template

Yousufzai said...

Useful information. Fortunate me I discovered your web site by chance, and I’m surprised why this twist of fate didn’t happened earlier! I bookmarked it. cell phone mockup

Dewa Poker said...

msot computer monitors these days are already using LCD technology and some are LED-LCD “ https://royalcbd.com/product/cbd-oil-250mg/

Unknown said...

Excellent publish from specialist also it will probably be a fantastic know how to me and thanks very much for posting this useful data with us all. frontend services

Post a Comment