This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP430F149: Using Srecord to generate replicator code file

Part Number: MSP430F149


As far as I understand the "old" Filemaker program used for generating MSP430 Replicator code file
has been replaced by Srecord srec_cat.exe
The srec_cat program can be used to assemble the given input files into a single output file

I'm having trouble running Filemaker on Win7 64-bit and it would be nice to have an
optioanal program that could do a proper job formating the file for me
Hence, can srec_cat be used to generate the same output format as Filemaker.exe ?

Example output code file below

;Source File:   C:\Replicator\code.txt
;Date:          11.10.2017

     PUBLIC CodeArray
     RSEG CODE
CodeArray
     DW     0x0005       ; Number of Sections

     DW     0xC000       ; Start address of section
     DW     0x1125       ; Number of words in section
     DW     0x120F, 0x120E, 0x120D, 0x120C, 0x120B, 0xB3D2, 0x002B, 0x2415
     DW     0x42D2, 0x10FD, 0x0057, 0x42D2, 0x10FC, 0x0056, 0xC2F2, 0x0029
     -
     -
     -

     DW     0xFFFE       ; Start address of section
     DW     0x0001       ; Number of words in section
     DW     0xC53A
     end

Kind regards
Olav

  

  • Hello Olav,

    Since SRecord is not an official TI tool and I've never used it before, I probably won't be able to help much. However, I see that you're trying to run SRecord on Windows. There doesn't appear to be an executable available for Windows, but I found on page 30 of the SRecord Manual that you can install Cygwin on your Windows PC and use it to build SRecord.

    If you have further questions, I'd recommend reaching out to the maintainer. Their contact information can be found at the bottom of the following page.

    Hopefully this helps.

    Regards,

    James

    MSP Customer Applications

  • Hi James

    I looked through the manual before I posted this question without finding an answer
    I have no trouble running srec_cat in Windows, but I just can't find the correct setup for srec_cat
    in order to gererate the same output code as Filemaker

    I'll send my question to the maintainer of Srecord as well

    Thanks,
    Olav

     

**Attention** This is a public forum