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: Diagnostic Library SafeTI applied to TMS320F28377D

Part Number: TMS320F28377D


I would like to use Flash CRC functions to test memory. I downloaded Diagnostic Library but I don't understand why there are two .lib: F2837xD_Diagnostic_STL_CPU1_DEBUG.lib and F2837xD_Diagnostic_STL_CPU1_RELEASE.lib. What are the differences between them? Which of them should I use for my application?

Thank  you


  • DEBUG is using a lower compiler optimization level to make debugging the library functions easier and includes some asserts for function parameter checking. RELEASE uses a higher compiler optimization and removes the asserts. It will give you better performance but will be a little bit harder to single step through because of the optimization.

    You can import the library project in diagnostic/f2837xd/ccs/ to view the compiler options used by each build or to create a custom build if you want.