TMS320F2800137: Using the C2000™︎ MCU Diagnostic Library on the TMS320F2800137 microcontroller

Part Number: TMS320F2800137
Other Parts Discussed in Thread: C2000WARE

1.Following the documentation, I copied the folder C2000Ware_x_0x_00_00\libraries\diagnostic\f280013x into my project directory, as shown in the attached figure.

image.pngimage.pngimage.pngimage.png

2.After adding it, compilation errors occurred:
warning #10204-D: could not resolve index library "SFO_v8_fpu_lib_build_c28_driverlib.lib" to a compatible library
warning #10373-D: library "../UL60335/lib/f280013x_diagnostic_stl_debug.lib" contains ELF object files which are incompatible with the TI-COFF output file.  Ensure you are using the proper library.
warning #10373-D: library "../UL60335/lib/f280013x_diagnostic_stl_debug.lib" contains ELF object files which are incompatible with the TI-COFF output file.  Ensure you are using the proper library.
 undefined              first referenced              
  symbol                    in file                   
 ---------              ----------------              
 _STL_March_testRAM     ./UL60335/source/sta_tests.obj
 _STL_March_testRAMCopy ./UL60335/source/sta_tests.obj
 
error #10234-D: unresolved symbols remain
3.After commenting out the functions STL_March_testRAM and STL_March_testRAMCopy, the compilation passed.。
4.Since my project uses the COFF library format and cannot be switched to ELF, will this have any impact on the warnings mentioned above?

image.png

  • Hello,
    We have received your post and the investigation will take some time.
    Thanks for your patience.

  • Hello,
    All the object files and libraries in a project must use the same application binary interface (ABI).
    COFF ABI is the older one, and ELF ABI (EABI) is the newer one.
    If you want output COFF format, all the libraries will support COFF; otherwise, EABI supported.
    Support for F2800x devices are already available for EABI in C2000Ware under the libraries/diagnostic/.
    If Diagnostic Library is EABI format only, you have to make sure all the libraries in your project support EABI.
    software-dl.ti.com/.../C2000_c28x_migration_from_coff_to_eabi.html

  • Hello,

    I would like to request the two library files f280013x_diagnostic_stl_debug and SFO_v8_fpu_lib_build_c28_driverlib in COFF format.

    Our project progress has been impacted due to this issue. If possible, it would be greatly appreciated if an engineer could be arranged to provide guidance.

    Thank you.

  • Hello,

    I would like to request the two library files f280013x_diagnostic_stl_debug and SFO_v8_fpu_lib_build_c28_driverlib in COFF format.

    It is unfortunately, there are not such files shared.