At 2019-12-10 19:07:25, "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. > >1) 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. > >2) 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