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?

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
  • 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.
Reply
  • 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.
Children
No data