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

Register profiling

Note: This was originally posted on 15th February 2011 at http://forums.arm.com

Hello,

I am currently using a ARM920T core based S3C2440 processor. I want to read the registers out of ARM9 in real-time. There is no OS running, just  a super loop. Currently, I am using an interrupt driven approach, where timer 2 overflows and goes to ISR. In the ISR I send the required register data to the Host PC through the UART. I believe this method of profiling is too intrusive(carries a lot of overhead).

I know there are tools relating to core sight technology, but I cannot update the entire development board and JTAG tools just to do that. They are very costly.

The board can also be run using linux. it runs busybox, and I tried using "devemem" applet but that is also a very intrusive method (having high overhead).

Can anyone suggest me any other method to read hardware physical registers using OS or no OS in the most efficient way and in real-time.

Thanks,
Pratik
Parents
  • Note: This was originally posted on 18th February 2011 at http://forums.arm.com


    Not sure if this would help, but the Fast Models/RTSMs support a plug-in for recording model trace (format called Tarmac).  this can include all the instruction executed, and all the changes to register values.  Enabling the plug-in will hit simulation though.


    Thanks for the reply. I looked into it. The arm profiler can be used, but it needs the realview trace unit and processor that specifically support ETM. I am using a MINI2440 kit. Can you please see if any other solution can be found. thanks.
Reply
  • Note: This was originally posted on 18th February 2011 at http://forums.arm.com


    Not sure if this would help, but the Fast Models/RTSMs support a plug-in for recording model trace (format called Tarmac).  this can include all the instruction executed, and all the changes to register values.  Enabling the plug-in will hit simulation though.


    Thanks for the reply. I looked into it. The arm profiler can be used, but it needs the realview trace unit and processor that specifically support ETM. I am using a MINI2440 kit. Can you please see if any other solution can be found. thanks.
Children
No data