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.

TMS320F28388D: Usage of lib_footprint.exe

Part Number: TMS320F28388D


Hi,

I want to know how much memory libraries are occupying.

I've used lib_footprint.exe by referring lib_footprint.html document.

When I run it from command prompt, I'm getting error as mentioned below in the attachment. 

I've installed ActivePerl5.28 in my PC, but still I couldn't resolve this issue.

Kindly help me address this issue asap.

Thanks,

R. Subha

  • The first solution you should consider is in the usual map file.  Unless you use a very old version of the compiler, it contains a part titled MODULE SUMMARY.  This feature is a better replacement for the output of lib_footprint.

    If you still want to use lib_footprint ... I can reproduce the same error.  I'm not sure of the cause.  You use the most recent release of the cg_xml package.  I can only guess that some update to Windows is related to the problem.

    Since you installed perl, you could run the script directly from perl with a command similar to ...

    perl "C:\Program Files (x86)\ti\cgxml-2.61.00\map\lib_footprint.pl" mapfile.xml

    Please make sure the input file is the XML form of the map file, that is created by using the linker option --xml_link_info=mapfile.xml.  In the command in your screen shot, it appears the input file is the standard text map file.

    Thanks and regards,

    -George

  • Thanks for the information.

    Additionally I want to know is it possible to calculate library size without using application xml file?

  • is it possible to calculate library size without using application xml file?

    I'm not aware of any other way to do it.

    Thanks and regards,

    -George