Problem with some commands - ATECC508A - RaspberryPi with i2c

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

Hello everyone,

 

I want to use ATECC508A device for application with RaspberryPi. Crypto device is on i2c and for control I use cryptoauthlib. I have problems with some commands (e.g. atcab_genkey) which return error F3 - ATCA_WAKE_SUCCESS. Other commands work fine.

 

I tried to run the same code on the same cryptodevice using AT88CK101 and everything works fine. 

 

Can you tell me, what can causes this problem? 

 

Thank you,

Radim

 

Last Edited: Fri. Sep 7, 2018 - 08:06 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I don't have much experience with the ATECC508A, but I've been working with the ATAES132a. Although the devices are different, the protocols are similar in nature. In my experience when getting errors like this, I would either hook up a digital analyzer up to the i2c bus on the "good" device, send the data and compare it against what you are sending on the "other device". If you don't have an analyzer, then send the command block bytes to the terminal and see whats different. Your error could be a step you missed.  

"When all else fails, read the directions"