Performance Monitoring features for Cortex A8

Note: This was originally posted on 22nd January 2010 at http://forums.arm.com

Hi,

I am trying to use the performance counter feature in Cortex A8. I have downloaded the sample code given here : [url="http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.faqs/ka4237.html"]http://infocenter.arm.com/help/index.jsp?t...aqs/ka4237.html[/url]

I am able to find the cycles taken via the cycle counter. But when I set an event to count, the counter always printing zero. The register contents when viewed in RV Debugger shows the contents to be untouched(all excalamation marks!!)..even the cycle counter is not showing its contents.

It would be of great help if you could give some pointers regarding what to check for/what I might be missing out?

Thanks,
Smitha Joseph
Parents
  • Note: This was originally posted on 22nd January 2010 at http://forums.arm.com

    Hi Smitha,
       
            I also observed the same problem with CortexA8 in RVDS(3.3Version). My observations regarding this issue is - The porformance coprocessor register must be enabled. But when I m trying to do that in debugger it is not getting enabled. I think the code which you downloaded works on the board not on the simulator.

    Thanks & Regards,
    M. Raghavendra Prasad.
Reply
  • Note: This was originally posted on 22nd January 2010 at http://forums.arm.com

    Hi Smitha,
       
            I also observed the same problem with CortexA8 in RVDS(3.3Version). My observations regarding this issue is - The porformance coprocessor register must be enabled. But when I m trying to do that in debugger it is not getting enabled. I think the code which you downloaded works on the board not on the simulator.

    Thanks & Regards,
    M. Raghavendra Prasad.
Children
No data
More questions in this forum