Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is ATECC608A-TNGTLSU compliant ? #5

Open
vansinba opened this issue Nov 16, 2021 · 3 comments
Open

Is ATECC608A-TNGTLSU compliant ? #5

vansinba opened this issue Nov 16, 2021 · 3 comments

Comments

@vansinba
Copy link

Is ATECC608A-TNGTLSU compliant ?

@shawaj
Copy link

shawaj commented Dec 21, 2021

Judging by the datasheet:
ATECC608A-TNGTLS-CryptoAuthentication-Data-Sheet-DS40002112C.pdf

It looks like it has an ECC private key in slot 0 and you can optionally put ECC private keys in slots 2, 3 and 4 as well...

image
image
image
image

So in principle it should work, but you should get some and test it before committing to a big order.

Also note this part of the datasheet - the default 7 bit i2c address is 0x35 which is different to the non programmed one (which uses 0x60 - or 0xC0 for a write operation with the R/W bit set to 0):

The default 7-bit I2C address is 0x35. The I2C address can be overwritten using the UpdateExtra command.
Important:  The default I2C address of the ATECC608A-TNGTLS is not the same as that of the
generic non-configured ATECC608A device.

image

Also, note that you may need to modify gateway-mfr-rs to work with this chip as it may give errors when trying to configure/lock the chip and other standard routines it uses on the bare chip.

@Hccd2022
Copy link

Hccd2022 commented Mar 9, 2022

I use 0x35 ATECC608B, how to change script to 0x35?

@shawaj
Copy link

shawaj commented Mar 9, 2022

@Hccd2022 You would use gateway-mfr-rs and pass in the correct device:

https://github.com/helium/gateway-mfr-rs#addressing

--device ecc://i2c-1:96?slot=0

The address 96 corresponds to 0x60
0x35 would be 53

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants