Skip to main content
NMazz.2
Associate II
April 16, 2021
Solved

How to enable .srec generation from SPC5 Studio?

  • April 16, 2021
  • 2 replies
  • 1116 views

I am using SPC5 Studio ver 6.0 for a dev kit with freegcc with vle support for a SPC58NG-DISP dev kit and I want to add .srec file generation. I didn't see anything in the properties/c/c++ build/settings that was an easy selection and hope you can point me to what I need to do. Have an .srec parser and was hoping to reuse to not have to create an .elf parser or .hex parser.

    This topic has been closed for replies.
    Best answer by Angelo Castello

    Hello,

    The Motorola S-Record binary is automatically generated for each SPC5Studio project and it is placed under build directory with the .mot extension.

    The choice to use .mot and not .srec was stay stay near to Motorola name.

    Typing from a bash sheel the command :

    $ file build/out.mot

    you should discover that is an S-Record....

    $ file out.mot

    out.mot: Motorola S-Record; binary data in text format

    I hope this help you.

    Regards

    2 replies

    Angelo Castello
    Angelo CastelloBest answer
    ST Employee
    May 3, 2021

    Hello,

    The Motorola S-Record binary is automatically generated for each SPC5Studio project and it is placed under build directory with the .mot extension.

    The choice to use .mot and not .srec was stay stay near to Motorola name.

    Typing from a bash sheel the command :

    $ file build/out.mot

    you should discover that is an S-Record....

    $ file out.mot

    out.mot: Motorola S-Record; binary data in text format

    I hope this help you.

    Regards

    NMazz.2
    NMazz.2Author
    Associate II
    May 6, 2021

    Perfect thank you so much!