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.

TMS320F28377D: eabi problem

Part Number: TMS320F28377D

Dear sir or madam:

  When my project migration from COFF to EABI, It's Compilation error. I ues the code:  memcpy(&Cla1ConstRunStart,&Cla1ConstLoadStart,(size_t)&Cla1ConstLoadSize); and my CMD file code is like this:

.const_cla : LOAD = FLASHG,
RUN = RAMLS2_LS5,
RUN_START(_Cla1ConstRunStart),
LOAD_START(_Cla1ConstLoadStart),
LOAD_SIZE(_Cla1ConstLoadSize),
PAGE = 0,
ALIGN(4)

When I delete the code:memcpy(&Cla1ConstRunStart,&Cla1ConstLoadStart,(size_t)&Cla1ConstLoadSize);  It can compilation passed.  My question is : The keywords  .const_cla is ok in COFF. What's form in EABI about the keywords   .const_cla?

  Thank you!

  • Another question I want to ask, How can I used the "CLAmath_fpu32lib"? When I compile in eabi mode. CCS display :Description Resource Path Location Type
    #10373-D library " CLAmath_fpu32.lib" contains TI-COFF object files which are incompatible with the ELF output file. Ensure you are using the proper library. 380Vdsp1cpu1RDF_EABI C/C++ Problem

  • When my project migration from COFF to EABI, It's Compilation error. I ues the code:  memcpy(&Cla1ConstRunStart,&Cla1ConstLoadStart,(size_t)&Cla1ConstLoadSize);

    Please see the COFF Underscore Name Mangling part of the article C2000 Migration from COFF to EABI.  That explains why this problem occurs, but does not say what to do in your specific case.  The quickest solution is to write the symbol names like Cla1ConstRunStart the same way in both C and the linker command file.  With or without the leading underscore, whichever you prefer.  If this doesn't work for you, more complex solutions can be implemented.

    How can I used the "CLAmath_fpu32lib"?

    You have to obtain a variant of that library built for EABI.  Unfortunately, I cannot help you with that detail.  I suggest you start a new thread in the C2000 device forum.  Or, if you prefer, I can notify that team about this thread.

    Thanks and regards,

    -George