Closed scateu closed 7 years ago
Thanks, there is a bug in setup. I will look into fixing soon.
I forgot to update the fixed setup.hex files. It seems to work now.
Hi,
I just tried with the new commit.
$ ./setup_device.sh gencert/ca/key.pem gencert/ca/cert.der
configuring...
opened None
Device is configured.
read 15 bytes
[128, 15, 1, 35, 102, 69, 0, 0, 80, 0, 213, 168, 139, 196, 238, 192, 85, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
conf: 0123664500005000d5a88bc4eec05500c0005500837181018371c101837183718371c171010183718371c1718371837183718371ffffffff00000000ffffffff00000000ffffffffffffffffffffffffffffffff00005555ffff00000000000013003c0013003c0013003c0013003c003c003c0013003c0013003c0013003300
crc is ['0xc9', '0x3b']
locked eeprom with crc [201, 59]
failed writing master key
While in serial port:
U2F ZERO
0123664500005000d5a88bc4eec05500c000550083a083a083a083a083a083a0
U2F ZERO
U2F ZERO
0123664500005000d5a88bc4eec05500c000550083a083a083a083a083a083a0
83a083a083a083a083a083a083a083a083a083a000030000000a0009ffffffff
00000000ffffffffffffffffffffffffffffffff00000000ffff000000000000
1300130013001300130013001300130013001300130013001300130013003300
config crc:ed67
00000000
already locked
81000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
U2F_CONFIG_IS_BUILD
80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
U2F_CONFIG_GET_SERIAL_NUM
83c93b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
got crc: c93b
00000000
config already locked
00000000
data already locked
855de572f0e5b2d4ac7f8ceb6ca7dad684c606acbb9fe92192e25608467f15f5db00000000000000000000000000000000000000000000000000000000000000
U2F_CONFIG_LOAD_TRANS_KEY
master key: 5de572f0e5b2d4ac7f8ceb6ca7dad684c606acbb9fe92192e25608467f15f5db
writing master key failed
error: f
Actually, I tried to build setup.hex
from scratch, and the result didn't change.
Old U2F zeros will not work with the new firmware since I changed the configuration of the ATECC508A. It can't be changed after it has been locked. So you can do 1 of two things:
OK. I will replace the old ATECC508A.
Thanks again for your great job!
With the latest commit. Using programmer.
After I erase U2F Zero with Simplicity Studio, I program U2F Zero with
setup.hex
Then: