Can you provide an example csv/txt file that shows how exactly you would like it to appear? I also don’t quite understand the 2 channel requirement, so if you could go into detail on that, that would be helpful as well.
Ah, I see the problem: the code tag eat my brackets.
The HLAs and the old analyzers exports the data byte-per-byte.
However I would like to group the bytes to packets and print the packets line-by-line.
My idea for packet forming is simple: if a byte arrives within a certain amount of period to the previous one (user editable parameter) then it belongs to the same packet if not it is a new packet.
Here is an example of what I used to do:
This is a basic command-response based UART communication which is quite common.
What I would like to see for this one as an output: one line for the command and one line for the response (prefixed with some user parameter). The bytes in the packets are printed with HEX separated by spaces.
In the image above this is the beginning of the R16 TX - STM command packet:
And this is the beginning of the response packet:
My intention to have an export capability in the following way (TX, RX is the user specified “channel prefix”):
TX AA 12 01 D0 ...
RX AA 58 01 07 ...
During reverse engineering I often create traces while applying different circumstances to the target and do diff on the created traces with standard text comparison tools.
If the output is packetised properly it is easier to edit/spot differences/etc.