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.

Errors when copy projects of Starterware

I'm using the LCDKC6748.

First, I know how to import the starterware projects such as usb_dev_bulk, and I can build them successfully.

But I have meet some errors when I copy the project:

1. First, I copy the project on CCS v5.3 and paste it as test_usb_01 project saved to another file path.

2. Second, I change the  generic c67 device to LCDKC6748 and specified the emulator to TI XDS100v2.

3. I add the head file and lib file paths, so they are the same to these in the original usb_dev_bulk project.

However, "undefined symbol " errors appear.

I have tried many times but cant solve the problems, can you help me?

Thank you!

  • I have looked up many documents for C6748 and ccs v5.3, but cant solve the problems.

    Looking forward to your solutions.

    Thanks!

  • Even if I put the lib files directly under the project, errors are still there.

    o(╯□╰)o

  • Errors when I change the  generic c67 device to LCDKC6748 and specified the emulator to TI XDS100v2:



  • Just a guess. I think the pre-built StarterWare uses EABI. Your project uses COFF. The two formats use different function prefixing (COFF uses  '_' and EABI does not). Try changing our project "Output format" from "Legacy COFF" to EABI.

  • Hi chuyue hu,

    Chuyue hu says said:
     First, I copy the project on CCS v5.3 and paste it as test_usb_01 project saved to another file path.

    I would like to understand why there is a need for you to copy the project? You can take a back up of the original code and start modifying according to your needs....right?

    Having said, that you have copied the project to a different file location, Would you please compare and check that the path variables, include options, file search path for libraries and location of linked resources are appropriate according to your new project location? with reference to the original project of usb_dev_bulk ?

    Regards,

    Shankari.

    -------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.
    --------------------------------------------------------------------------------------------------------

  • Thanks for the help from TI employees.

    Special thanks go to Norman Wong, RandyP, and Shankari G.

    I have encountered the errors for days. My attention is most focused on comparing the differences of the .h and .lib file paths between the starterware example program which could be built successfully and those in my project. 

    Norman Wong pointed out the differences between EABI and COFF. I built a new project ,set the output format to be EABI and built the project with no errors.

    Amazing!

    Regards,

    chuyue hu