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: Unresolved Symbol FAPI

Part Number: TMS320F28377D
Other Parts Discussed in Thread: C2000WARE

I have this error that I'm not sure how to deal with.     I get


unresolved symbol _FAPI_WRITE_LOCKED_FSM_REGISTER, first referenced in ./TI_Source/Fapi_UserDefinedFunctions.obj

A search for this reveals the #define and where it's used, but nothing that I can see that would create this error. see attached

   Thanks!

  • David,

    Did you include the flash API headers from C2000Ware_3_04_00_00\libraries\flash_api\f2837xd\include?

    Thanks and regards,
    Vamsi

  • Thanks Vamsi,

    The F021.h file in the folder you indicated is only rev 1.0 whereas the one I have in my project is v1.55 and is dated 12Feb2021 .Not sure about the other files. See attach.

  • David,

    Headers and function prototypes did not change and hence the version is mentioned as V1.0 to indicate that legacy users can still use this API when they are migrating to F2837xD.

    Flash API library version available for F2837xD is V1.54:  https://www.ti.com/lit/ug/spnu629a/spnu629a.pdf and the library/headers are available at c2000\C2000Ware_3_04_00_00\libraries\flash_api\f2837xd.

    V1.55 of flash API library is for F2837xS and is not for F2837xD.

    Regarding the original issue that you mentioned in your first post: Did that get resolved when you included the headers that I pointed to?  Please let me know.

    Thanks and regards,

    Vamsi

  • Thanks Vamsi,

    After I replaced all the *.h files in C2000Ware_3_04_00_00\libraries\flash_api\f2837xd\include I no longer have that error (although have another one)

    The fact that the original file was for an xS and not an xD was probably the issue, I appreciate your help.