ATECC608 - Configure Slot as plaintext read and write

Go To Last Post
2 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

Dears,

I have an ATECC508A and on the slot 8 I have SlotConfig 0F0F and KeyConfig 3C00. On the 508A the Read plaintext and write plaintext work fine, but on the ATECC608A with the same config it does write, but when reading I get error 0xF4 (ATCA_EXECUTION_ERROR).

 

Could you please tell me if I have the right config and why reading on the 608 does not work?

What I need is to configure slot for simple plaintext data storage. Configmap attached below.

 

Thank you

 

508A config:
XXXXXXXX00005000XXXXXXXXXX003900b00055008f20c444872087208f0fc4369f0f82200f0fc4440f0f0f0f0f0f0f0f0f0f0f0fffffffff00000000ffffffff00000000ffffffffffffffffffffffffffffffff00000000ffff00000000000033001c00130013007c001c003c0033003c003c003c0030003c003c003c003000

---------------------

608A config:
XXXXXXXX00006002XXXXXXXXXX013500c0000000872087208720872087208720800083000f0f0000000000000000000000000000ffffffff00000000ffffffff000000000000000000000000000000000000000000c05500fcff0000000000003300330013001300330033001c0018003c003000300010003000300030003000

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

The issue was that the OTP section was not locked. (byte 86 should be 0x00). That can be done by calling atcab_lock_data_zone()