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.
Hello All,
I want to Generate a call graph of my CCS Project,
By going through wiki pages i am to find only liitle information.
I have cg_xml package to my windows pc.
CCS Version: 6.1.1
TI v5.2.5 Compiler for TMS570LC4357 Microcontroller.
Can Some one Point me in a Correction direction How to generate the call graph ??
To see the documentation for the cg_xml package, load the file cg_xml_install_root/index.htm into your web browser. Note cg_xml is a collection of utilities you execute on the command line. There is no method for invoking them from within CCS.
Here is how you might do it from a Windows Command Prompt shell.
C:\Users\Your Name Here\workspace_v6_1\test_AM3359\Debug>armofd -g -x test_AM3359.out > temp.xml C:\Users\Your Name Here\workspace_v6_1\test_AM3359\Debug>"\Program Files (x86)\Texas Instruments\cg_xml\bin\call_graph.exe" temp.xml > graph.txt
The directory path in the command prompt is that of a CCS project in a CCS workspace. The command on line 1 uses armofd to create the XML file temp.xml. This command presumes the directory that contains the ARM compiler tools utility armofd is in the PATH environment variable. The command on line 2 uses the full path to the cg_xml utility call_graph. To avoid that, add this directory to PATH. The XML file temp.xml is an input, and the graph is written to the text file graph.txt.
Thanks and regards,
-George
There is a Code Generation Tools XML Processing Scripts Plug-in for CCS. However that plug in only supports CCS4 and not later versions of CCS.George Mock said:There is no method for invoking them from within CCS.
The source code for the plug-in is on the referenced page. Not sure how easy it would be to modify the plug-in to work with later versions of CCS.