Hello,

I am a master student working on a program-tracing project on the
PandaBoard ES. I'm using the FlySwatter2 as an adapter. I'm now working on
implementing ETM/PTM support for OMAP4460 in OpenOCD.

I analyzed the *etm.c* file. After getting some knowledge about it, I tried
to figure out if there were differences between that implementation and the
PTM/PFT specification.

So far, I spotted the following differences:

   - registers are quite similar (same addresses and names), however ETM
   register have different sizes and PTM registers have a constant size of 32
   bits. In practice they are still similar because, for instance,
   *ETMTRIGGER* register which has 17 bits on ETM is a 32 bits register on
   PTM with 15 bits reserved.
   - PTM registers have different access permissions (e.g. read only, read
   and write, write only).
   - Type of access to ETM registers (scan chain 6 [
   
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0211k/Cacbjhfg.html])
   is different from the way PTM access its registers (ADI version 5.0 as
   recommended from ARM [
   
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ihi0035b/BEIJDIJD.html
   ])

Giving this scenario, IMHO, it looks like I need to implement a *ptm.c* file
based on *etm.c*. Do you agree? Do you have any suggestion?

Since I've been struggling with the PandaBoard ES for quite a while, are
there any other recommended Android/Linux-friendly boards with better ETM
support already implemented in OpenOCD?

Best regards,
Rodrigo Santos
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to