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.

Having problem for profile tool in CCS v4 and v5

Hi genius,

I just intend to acquire the profile data of my project, which is a little big-size project and it takes several seconds to run one frame on simulator(The project is intended to run in the loops of many frames). But there are some problems occured:

1. After running  2 or 3 frames, I suspend it and export the profile data(i only need the function profile result). But i found the data is not reasonable, for example, there is function A in my project and A calls function B once a frame, and B is only invoked by A, and of course A calls many other function except B. But the profile result shows the "Incl Count Total" value of B is even larger than A.

2. The worse thing is that after running several frames, the CCS collapses with no any error message reported. I both test it on CCSv4 and V5, the problem remains.

Below is the detail of my projects and CCS environments:

Device: Generic ARM9 Device

Endianness: Little endian

CGTOOLS: TI V4.6.6

Format : ELF

Target Configuration: ARM926EJ-S Device Cycle Accurate Simulator

Profile setup: Active On TMS470R2x_0

Profile Activities: Profile all Functions for Total Cycles

CCS: 5.0.1.201105110900

 

I can provide further information if someone need to make analysis.

Thanks in advanced.

 

Allen