MicrochipTech / cryptoauthlib

Library for interacting with the Crypto Authentication secure elements
Other
373 stars 218 forks source link

Specifing I2C address with HID interface does not work with DM320118 #183

Closed bse-sja closed 3 years ago

bse-sja commented 4 years ago

Setting cfg.atcahid.dev_identity to anything but zero does not work with DM320118.

DM320118 returns ID string of "ECC608A" while code is looking for "ECC608" so (strcmp(device_match, dev_type) fails in lib/hal/kit_protocol.c.

drewwestrick commented 3 years ago

Looks like a typo in the code. If you change the source code from ECC608 to ECC608A does it solve the problem?

bryan-hunt commented 3 years ago

This should have been resolved in v3.2.3