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.

Compiler/TMS320F28335: convert .out file to s19 file

Part Number: TMS320F28335
Other Parts Discussed in Thread: C2000WARE

Tool/software: TI C/C++ Compiler

my customer allocate flash on both Page0 and Page1, then convert the .out file to .s19 file is suppose to have two .s19 file. but with the command line below only generate one .s19 file, and the other one is .m10 file, question is how to write the command line to generate two .s19 files with different name.  the command line they used is below:

hex2000.exe --romwidth=16 --memwidth=16 --exclude + "\".resetisr*\"" + "--exclude" + "+"\"codestart*\"" + " -m3 -byte -o " + FileTemp_s19 + " " + FileWithoutPath;

How to modify the command line so that can generate two different .s19 files?

  • The best person to answer this is out today. I will flag this for them to take a look at tomorrow.

    I tried this out with a C2000Ware example that uses both page0 and page1.

    My Command looks like this:
    hex2000" --motorola=3 -o "sci_ex3_echoback.hex" "sci_ex3_echoback.out"

    I get sci_ex3_echoback.hex and sci_ex3_echoback.m01 as my output. I believe these map to page0 and page1 respectively. Can you have them try specifying the output file with the -o command and then see if they get an additional file generated with the .m01 extension.

    Regards,
    John
  • Strong ZHANG said:
    is suppose to have two .s19 file. but with the command line below only generate one .s19 file

    Then specify another --outfile  filename (-o for short) option.  For details, please see the section titled Assigning Output Filenames in the C28x assembly tools manual.

    Thanks and regards,

    -George