One of my collegue points me that ETM BB cannot give me the branch address if the BB triggered, is that true?
I will continue to investigate OpenCSD, but above query will be important to my investigation.
At 2019-12-11 00:54:45, "Mathieu Poirier" mathieu.poirier@linaro.org wrote:
I strongly advise _not_ using ptm2human unless you are very proficient with coresight, its compression protocol and ptm2human itself. Otherwise any output from ptm2human should be considered faulty.
Mathieu
On Tue, 10 Dec 2019 at 04:07, Mike Leach mike.leach@linaro.org wrote:
Hi Joey,
Please provide more information on the problems you are encountering and any errors you are seeing. Without this I cannot investigate further.
- How are you attempting to use OpenCSD to decode this file? The
trc_pkt_lister test program will provide the same packet decode as PTMtoHuman but does require additional context to ensure that the decode is correct. This involves providing the raw data and certain ETMv4 registers in a "trace snapshot" format. The library comes with examples in this format and a specification for this format in the documentation.
- If you wish to go beyond packet decode then OpenCSD can do that -
but you will need to provide additional program image data - again in the snapshot format described above.
Thanks & Regards
Mike
On Tue, 10 Dec 2019 at 07:55, Joey Jiao joeyjiaojg@163.com wrote:
Hi Mike, I cannot attach the dump into github, so I have to ask here.
OpenCSD cannot decode the etm binary attached, however an opensource ETM decoder https://github.com/hwangcc23/ptm2human can parse.
Can you help understand why?
And is there any bug in OpenCSD?
Thanks
Joey
-- Mike Leach Principal Engineer, ARM Ltd. Manchester Design Centre. UK _______________________________________________ CoreSight mailing list CoreSight@lists.linaro.org https://lists.linaro.org/mailman/listinfo/coresight