Problems in SimpleSerial of project

Hi Alex,

Your solution give me a lot of help! But still I have some problem when reading the data. I got

image
‘t’ command here refer to tx_pk function.

I always got this error and sometimes I got

WARNING:ChipWhisperer Target:Unexpected frame byte in CWbytearray(b’05 65 01 01 d6 00 05 65 01 01 d6 00 05 65 01 01 d6 00 05 65 01 01 d6 00 05 65 01 01 d6 00 05 65 01 01 d6 00 05’)

Can you tell me why this unexpected frame byte warning comes and about read time out error?

Magnolia