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.

TMS320F28379D: Request for sources of PM EnDat22 library

Part Number: TMS320F28379D
Other Parts Discussed in Thread: CODECOMPOSER

Hi Team,

We received this inquiry from our customer.

We want to program a TI C2000 F28379D using the Plexim PLECS Code Generation toolbox from www.plexim.com. We'd like to use your PM EnDat22 library (https://training.ti.com/designdrive-position-manager-endat-22-introduction) to control the motors of the racing-cars.

Now our problem: during compilation the code-generation aborts and the compiler tells us, that the library is in TI-COFF-format, not in the expected ELF-format: "PM_endat22_lib.lib contains TI-COFF object files which are incompatible with the ELF output file. Ensure you are using the
proper library."

Do you have any suggestion how we could use the library? As this is not a problem with the Code-Generation of PLECS I hope you can give us any advice.

I shared the C2000 Migration from COFF to EABI page below.

https://software-dl.ti.com/ccs/esd/documents/C2000_c28x_migration_from_coff_to_eabi.html

Here is his response.

Thank you very much for your answer. I've read the document "C2000 Migration from COFF to EABI" you have pointed me to, but in chapter "Dealing With COFF-Only Object Libraries" it says "... the best choices are to either leave the application as a COFF ABI application or to request that the vendor release an EABI version." As the PLECS CodeGenerator is set to EABI it seems that I have no chance to use COFF. As TI is the vendor I try again to ask if there is an EABI version? Or is there a chance to get the source-code to recompile the library on my own?

In another forum-post of the year 2020 someone from Texas Instruments announced an EABI version of the EnDat 2.2 library for the end of the year 2020. Is there an option to receive this updated library?

If there is no solution I will try to create a C-code from the PLECS-Toolchain and import it to CodeComposer Studio. But using the PLECS Generation-Toolchain would be much easier for our students...

Regards,

Danilo