Arm Community
Site
Search
User
Site
Search
User
Groups
Arm Research
DesignStart
Education Hub
Graphics and Gaming
High Performance Computing
Innovation
Multimedia
Open Source Software and Platforms
Physical
Processors
Security
System
Software Tools
TrustZone for Armv8-M
中文社区
Blog
Announcements
Artificial Intelligence
Automotive
Healthcare
HPC
Infrastructure
Innovation
Internet of Things
Machine Learning
Mobile
Smart Homes
Wearables
Forums
All developer forums
IP Product forums
Tool & Software forums
Support
Open a support case
Documentation
Downloads
Training
Arm Approved program
Arm Design Reviews
Community Help
More
Cancel
Developer Community
Tools and Software
Software Tools
Jump...
Cancel
Software Tools
Arm Development Studio forum
Performance Monitoring features for Cortex A8
Tools, Software and IDEs blog
Forums
Videos & Files
Help
Jump...
Cancel
New
Replies
5 replies
Subscribers
126 subscribers
Views
2869 views
Users
0 members are here
Related
Performance Monitoring features for Cortex A8
Offline
Smitha Joseph
over 7 years ago
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
Offline
Stein Kristiansen
over 7 years ago
Note: This was originally posted on 19th September 2011 at
http://forums.arm.com
Hi Smitha,
I am experiencing the same problems as you - the cycle counter works, but not the performance counters (always 0). I have tested this by running the necessary code in the kernel, i.e., in privileged mode, as a kernel module.
What I have found is that the DBGEN signal needs to be raised for the counters to work as well as the cycle counter, but I do not know how to raise this line from software. Do you think this could be the problem? Have you found out what was your problem?
Any solutions you may have found to this problem would be greatly appreciated!
Stein
Cancel
Up
0
Down
Reply
Cancel
Reply
Offline
Stein Kristiansen
over 7 years ago
Note: This was originally posted on 19th September 2011 at
http://forums.arm.com
Hi Smitha,
I am experiencing the same problems as you - the cycle counter works, but not the performance counters (always 0). I have tested this by running the necessary code in the kernel, i.e., in privileged mode, as a kernel module.
What I have found is that the DBGEN signal needs to be raised for the counters to work as well as the cycle counter, but I do not know how to raise this line from software. Do you think this could be the problem? Have you found out what was your problem?
Any solutions you may have found to this problem would be greatly appreciated!
Stein
Cancel
Up
0
Down
Reply
Cancel
Children
No data
More questions in this forum
By title
By date
By reply count
By view count
By most asked
By votes
By quality
Descending
Ascending
All recent questions
Unread questions
Questions you've participated in
Questions you've asked
Unanswered questions
Answered questions
Questions with suggested answers
Questions with no replies
Answered
How to view SFRs in DS during debugging?
+1
2878
views
1
reply
Latest
3 months ago
by
Ronan Synnott
Answered
Dual-core debugging in DS
0
5733
views
2
replies
Latest
3 months ago
by
Ivan Savvateev
Answered
DS52020.0 connection to Musca-A/B boards not working
+1
Arm Development Studio
Musca-A
7529
views
4
replies
Latest
3 months ago
by
Daniel Oliveira
Answered
Positioning a function in a Position Independent Executable for ARMV8
+1
8285
views
3
replies
Latest
4 months ago
by
Stephen Theobald
Answered
Link a pure binary file to image with scatter file
0
8248
views
3
replies
Latest
4 months ago
by
Ronan Synnott
<
>
View all questions in Arm Development Studio forum