Quick Links
Unable to count event in Cortex R4 using PMC
#1
Posted 22 July 2011 - 03:40 PM
I am trying to set the event counter register to count particular event using ARM Cortex R4's performance monitor register.
I followed the steps as in this link..
http://infocenter.ar...aqs/ka4237.html
But it is not counting the events which I set. Only the cycle count is working. I am using RVDS 4.1 prof.
Does RVDS support event counting or is there any configuration error that needs to be corrected?
#2
Posted 25 July 2011 - 08:36 AM
If you are using the models what ship with RVDS, these do not model the PMU counters (except the CCNT - I think).
#3
Posted 25 July 2011 - 12:08 PM
I am using the ISSM. Yes it just models the cycle count but not the PMU.
Is there any other tools/simulators available that model PMU for any cortex R or any cortex A series processors?
Thank You.
ttfn, on 25 July 2011 - 08:36 AM, said:
If you are using the models what ship with RVDS, these do not model the PMU counters (except the CCNT - I think).
#4
Posted 28 July 2011 - 12:00 PM
If I use a beagle board as target, will I be able to use the PMC's then?, will the RVDS update the PMC register if I connect to beagle board and program it?
Thank you for your valuable time.
ttfn, on 25 July 2011 - 08:36 AM, said:
If you are using the models what ship with RVDS, these do not model the PMU counters (except the CCNT - I think).
#5
Posted 28 July 2011 - 12:59 PM
#6
Posted 28 July 2011 - 03:24 PM
I actually want to measure the branch prediction related events accurately for my code and I don't want any background application/process to be running when I run my code. So thereby I'll be getting accurate branch related counter info. Is it possible to use beagle board in this configuration and debug target using RVDS?
I have a panda board with dual cortex A9 in it, but it has to be loaded with boot loader and linux OS. Doing so I cant measure PMC's accurately for my program if I run it on OS. Am I right regarding this or is there a way to go about it? Considering this, and the fact that ARM workbench supports beagle board target I am thinking of switching to beagle board.
Any suggestions will be of great help to me. Thank you for your time.
ttfn, on 28 July 2011 - 12:59 PM, said:















