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.

F021 API Stack Usafe



Hello,

I am using a TMS570 LS3137 MCU a the F021 Flash API together with the IAR Compiler. To create a correct stack analysis I need to know the Stack demand of the following functions:

+ Fapi_initializeFlashBanks

+ Fapi_issueAsyncCommand

+ Fapi_issueAsyncCommandWithAddress

+ Fapi_issueProgrammingCommand

+ Fapi_setActiveFlashBank

where do I get such a list?

regards,

Lorenz

  • Lorenz,

    I'm assuming you are not compiling the library with the IAR compiler - but rather linking to it.
    In that case: (From SPNU501G Section 2.3.3 which is included w. the F021 Flash API distribution):

    • Library information files
    – build_information.txt - This file contains function callgraphs, worst case stack usage for each
    function, function size in bytes and MD5 and SHA1 checksums for all files delivered in the installer
    package.