Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
Configuring ARM Trace for dumping into System Memory?
Jump...
Cancel
Locked
Locked
Replies
3 replies
Subscribers
118 subscribers
Views
4170 views
Users
0 members are here
Options
Share
More actions
Cancel
Related
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion
Configuring ARM Trace for dumping into System Memory?
rugger 123
over 12 years ago
Note: This was originally posted on 9th March 2013 at
http://forums.arm.com
Hi,
I am working on Cortex A8 processor using openocd and want to configure the trace to dump into the system memory. I went through the reference manuals and enabled trace (ETM) , and configured CSTF and ETF but still I am unable to configure the trace completely. I can list the steps in detail if required. Is there any document where I can get the exact configuration of all these components?
Thanks,
R.
Parents
rugger 123
over 12 years ago
Note: This was originally posted on 27th March 2013 at
http://forums.arm.com
Hey,
Thanks Richard for the detailed answer. I have gone through all the TRMs extensively and tried to understand about the tracing. I went through the programming models to configure each component. I was able to understand whatever you had told in your post. Let me tell about the problem i'm facing. Basically I want to configure the entire trace to be stored in the system memory. I just want to first get the flow of the configurations correct.
1) I programmed the ETM and enabled few triggers of trace between some address segment.
2) I programmed the coresight funnel to enable the trace channels.
3) I programmed the ETF to drain the trace through the ATB slave interface.
4) I programmed the ETR and configured the system address where the trace has to be stored.
I thought I had made everything ready for the trace and ran the execution of some code.
But I didnot get any trace output stored in the memory.!!
First I want to know if whatever I have done is correct? Am i missing something??
Since there is not much of resources available on the net apart from the TRM , I find it difficult. Let me know if you find any mistake in my configurations.
Thanks,
R.
Cancel
Vote up
0
Vote down
Cancel
Reply
rugger 123
over 12 years ago
Note: This was originally posted on 27th March 2013 at
http://forums.arm.com
Hey,
Thanks Richard for the detailed answer. I have gone through all the TRMs extensively and tried to understand about the tracing. I went through the programming models to configure each component. I was able to understand whatever you had told in your post. Let me tell about the problem i'm facing. Basically I want to configure the entire trace to be stored in the system memory. I just want to first get the flow of the configurations correct.
1) I programmed the ETM and enabled few triggers of trace between some address segment.
2) I programmed the coresight funnel to enable the trace channels.
3) I programmed the ETF to drain the trace through the ATB slave interface.
4) I programmed the ETR and configured the system address where the trace has to be stored.
I thought I had made everything ready for the trace and ran the execution of some code.
But I didnot get any trace output stored in the memory.!!
First I want to know if whatever I have done is correct? Am i missing something??
Since there is not much of resources available on the net apart from the TRM , I find it difficult. Let me know if you find any mistake in my configurations.
Thanks,
R.
Cancel
Vote up
0
Vote down
Cancel
Children
No data