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.

TMS320F2800137: TMS320F2800137

Part Number: TMS320F2800137

Hi TI team,

I used the hex2000.exe to converter the *.out file to *.hex file.

When I try to use the hex2000.exe to converter the TMS320F2800137.out, it can't create a hex file.

Please provide some suggesstion. Thanks.

 

D:\>hex2000 -romwidth 16 -memwidth 16 -i -o D:\TMS320F2800137.hex D:\TMS320F2800137.out
warning: duplicate section name D:\TMS320F2800137.out(.data) (ignored)
Translating to Intel format...
"D:\TMS320F2800137.out" .data ==> .data
warning: section D:\TMS320F2800137.out(.data) at 078000h falls in unconfigured
memory (skipped)

D:\>

  • Please put the file TMS320F2800137.out in a zip and attach it to your next post.

    Thanks and regards,

    -George

  • TMS320F2800137.zip

    Please help to check this.

  • Thank you for submitting the .out file.  It is very unusual.  Here is the file header information ...

    ofd2000 --obj_display=none,header TMS320F2800137.out
    
    OBJECT FILE:  TMS320F2800137.out
    
     Object File Information
    
        File Name:                 TMS320F2800137.out
        Format:                    TI-COFF Version 2
        File Type:                 executable file
        Time Stamp:                Mon Jun 12 22:53:35 2023
        Machine:                   TI C2000
        Machine Endian:            little endian
        Entry Point:               0x00000000
        Vendor:                    Texas Instruments, Inc.
        Tool Version:              0.0.0
        Number of Sections:        2
        File Length:               263286
        Symbol Table File Offset:  0x40446
        String Table File Offset:  0x40446
        TI-COFF f_flags:           0x0000010f
        TI-COFF f_flag:            F_RELFLG (relocation info stripped)
        TI-COFF f_flag:            F_LNNO (line numbers stripped)
        TI-COFF f_flag:            F_LSYMS (local symbols stripped)
        CPU Generation:            C2700
        Control Data Endian:       little endian

    The command ofd2000 is documented in the C28x assembly tools manual.  The line Tool Version indicates the version of the linker which created the file.  I've never seen version 0.0.0.  

    It has no symbols in it ...

    nm2000 -a TMS320F2800137.out
    <no output here>

    The command nm2000 is documented in the same manual.  

    Here are the sections in it ...

    ofd2000 --obj_display=none,sections TMS320F2800137.out
    
    OBJECT FILE:  TMS320F2800137.out
    
     Section Information
    
        id name                      page load addr  run addr      size align alloc
        -- ----                      ---- ---------  --------      ---- ----- -----
         1 .data                      256 0x00078000 0x00078000   0x200     1   Y
         2 .data                      256 0x00080000 0x00080000 0x20000     1   Y

    So it does contain two sections, both named .data.  Which is why the hex utility issues those error diagnostics.

    How is this file created?

    Thanks and regards,

    -George