X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=decoders%2Fatsha204a%2Fpd.py;h=56cb75bfb46112f8d463e9531bfc5dee07f3bb22;hb=d6d8a8a440ea2a81e6ddde33d16bc84d01cdb432;hp=70b7b39b01a7e2bbbf124803d4269aff41c78e25;hpb=26d56154c141147a41f12e5298d0e0003c452859;p=libsigrokdecode.git diff --git a/decoders/atsha204a/pd.py b/decoders/atsha204a/pd.py index 70b7b39..56cb75b 100644 --- a/decoders/atsha204a/pd.py +++ b/decoders/atsha204a/pd.py @@ -85,10 +85,11 @@ class Decoder(srd.Decoder): id = 'atsha204a' name = 'ATSHA204A' longname = 'Microchip ATSHA204A' - desc = 'Microchip ATSHA204A CryptoAuthentication device' + desc = 'Microchip ATSHA204A CryptoAuthentication device.' license = 'gplv2+' inputs = ['i2c'] outputs = ['atsha204a'] + tags = ['Security/crypto', 'IC', 'Memory'] annotations = ( ('waddr', 'Word address'), ('count', 'Count'), @@ -107,6 +108,9 @@ class Decoder(srd.Decoder): ) def __init__(self): + self.reset() + + def reset(self): self.state = 'IDLE' self.waddr = self.opcode = -1 self.ss_block = self.es_block = 0