hwangcc23 / ptm2human

ARM PTM decoder, and ARM ETM v4 decoder. ptm2human is a decoder for trace data outputted by Program Trace Macrocell (PTM) and Embedded Trace Macrocell (ETMv4).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Decodeng Atom5 and Atom6

stas-ibragimov opened this issue · comments

Hello!

Decoding of Atom5 and Atom6 packets is sometimes wrong.
For example, 0xD4 (0b11010100) is decoded as Atom5 with incorrect ABC, but according to IHI0064D this packet must be decoded as Atom6.

Table 6-21:
Atom Format 5 0b11110101 and 0b11010101 - 0b11010111
Atom Format 6 0b11000000 - 0b11010100 and 0b11100000 - 0b11110100

Thanks for reporting the issue.
It should be fixed by the change just submitted.

Thank you!