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.

TMS320F28386S: How to port 2837x sample code to 28386S

Expert 1160 points
Part Number: TMS320F28386S
Other Parts Discussed in Thread: C2000WARE

Hi All,

When I change the CPU TYPE in

<C2000WareInstallDir>\device_support\f2837xd\examples\dual\F2837xD_usb_flash_kernels>

to TSM320F28386S and build it, I get an error.

What steps can I take to resolve these errors?

I hope it will work with TSM320F28386S.

Best Regards,

Ito

  • Ito, 

    For F2838x , the Flash API lib is located at <C2000Ware>\libraries\flash_api\f2838x\c28x\lib

    This lib needs to be added to the project instead of the F021_API_F2837xD_FPU32.lib file.

    Best Regards

    Siddharth

  • Hi Siddharth,

    Thank you for your reply.

    I have used the feedback I have received but cannot solve the problem.
    I am sending you the current error below.


    Also, since you are sending the file to a private message.
    Please check it.

    Ito

  • Ito, 

    Pls try including F2838x_C28x_FlashAPI_FPU32_COFF.lib since the output format for your ptoject is set to COFF.

    Best Regards

    Siddharth

  • Hi Siddharth,

    I included the code you gave me.
    I got an error like the one in the picture.


    So I removed "Fapi_UserDefinedFunctions_c" and was able to build successfully.
    Is this correct?

    Best Regards,

    Ito

  • Ito, 

    Sorry for the delay in responding to this earlier,  I was out of office and hence wasn't able to get to this earlier.

    Looks like Fapi_UserDefinedFunctions_c is already included in the Flash API library and hence you can remove it from the project.

    Best Regards

    Siddharth