]> sigrok.org Git - libsigrokdecode.git/commit - decoders/onewire_network/pd.py
onewire_network: add a 'Disable Test Mode' command for DS2408
authorMariusz Bialonczyk <redacted>
Sat, 16 Mar 2019 10:57:22 +0000 (11:57 +0100)
committerUwe Hermann <redacted>
Thu, 28 Mar 2019 21:36:06 +0000 (22:36 +0100)
commitc29da3bb1a296ef4ad5a966644681fa908b507ad
treea865f75e28796682702435817c67659964729f38
parentb53a9138efdcdca3d15846bb19eba1bab0407b7d
onewire_network: add a 'Disable Test Mode' command for DS2408

For details see the DS2408 datasheet, section "Power-up timing".

This commit is adding this missing command so now a full decoding
is possible:
Annotations from 1-Wire network layer:
8990980-8991220 1-Wire network layer: : Reset/presence: true
8994163-8994437 1-Wire network layer: : ROM command: 0x96 'DS2408: Disable Test Mode'
8995026-9008178 1-Wire network layer: : ROM: 0xa30000001246a929
9008785-9009060 1-Wire network layer: : Data: 0x3c
9012290-9012530 1-Wire network layer: : Reset/presence: true

And from the specific stacked DS2408 slave:
8990980-8991220 DS2408: : Reset/presence: true
8995026-9008178 DS2408: : ROM: 0xa30000001246a929 (family code 0x29)
9008785-9009060 DS2408: : Disable Test Mode (0x3c)
9012290-9012530 DS2408: : Reset/presence: true
decoders/onewire_network/pd.py