From 7b30b74694c6909e1b5a0e10bc640a2e546a2f5f Mon Sep 17 00:00:00 2001 From: Aaron Shaw Date: Thu, 15 May 2025 17:07:36 +0100 Subject: [PATCH] typo: correct comment about WriteConfig byte Per the datasheet, write config 0010 means: - Writes are never permitted on this slot using the Write command. Slots set to never can still be used as key storage. - DeriveKey command can be run without authorizing MAC. (Roll) - GenKey may be used to write random keys into this slot. Correcting comment to match datasheet --- atecc608a/atecc508a_config_dev.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/atecc608a/atecc508a_config_dev.h b/atecc608a/atecc508a_config_dev.h index 52d1142..ce6165e 100644 --- a/atecc608a/atecc508a_config_dev.h +++ b/atecc608a/atecc508a_config_dev.h @@ -56,8 +56,8 @@ const uint8_t template_config_508a_dev[] = /* Bytes 20-51 are SlotConfig, 2 bytes per slot. Slots 0-7: private keys. * 0x8720 = 1000 0111 0010 0000 - * (12-15) 0010 WriteConfig - Clear text write permitted, GenKey may be - * used to write random keys into this slot. + * (12-15) 0010 WriteConfig - Clear text write not permitted, GenKey may + * be used to write random keys into this slot. * (8-11) 0000 WriteKey - Irrelevant, since clear writes are permitted. * (7) 1 IsSecret - The contents of this slot are secret. * (6) 0 EncryptRead - Reads from this slot are prohibited.