Skip to content
KalyanCManukonda edited this page Jan 24, 2019 · 2 revisions

The Microchip ATECC608A device is a member of the CryptoAuthentication™ family of high-security cryptographic devices, which combine world-class hardware-based key storage with hardware cryptographic accelerators in order to implement various authentication and encryption protocols. ATECC608A provides a mechanism to support secure boot operations in a connected microcontroller unit (MCU) that can help identify situations in which fraudulent code has been installed on the host central processing unit (CPU).

CryptoAuthLib is a software-support library for the ATSHA204A, ATECC108A, ATECC508A and ATECC608A CryptoAuthentication devices, written in C. It is a portable, extensible, powerful and easy-to-use library for working with the ATSHA and ATECC family devices.

The SAM Boot Assistant (SAM- BA® application) allows In-System Programming (ISP) using a USB or UART host without any external programming interface.

This wiki provides an example implementation of the ATECC608A SecureBoot feature, which operates by using the SAM-BA application. During this operation, the SAMD21 device becomes the Target, which contains the SAM-BA Monitor as the Bootloader. The Bootloader uses CryptoAuthLib to verify the user application before executing it.

Package Contents

This package contains:

  • The SAM-BA monitor application
  • An example of a user application
  • Python scripts to Sign the user application and to provision the crypto-device
  • Updated applets and binary files for the SAM-BA software

Hardware and Software Requirements

In order to perform the ATECC608A SecureBoot feature demonstration, the following hardware and software requirements must be met.

Hardware Prerequisites:

  • SAMD21 Xplained Pro Evaluation Board
  • One of the CryptoAuth-XPRO socket kits (AT88CKSCKTUDFN-XPRO or AT88CKSCKTSOIC-XPRO), to be connected on EXT1
  • OLED1 Xplained Pro, to be connected on EXT3
  • One Micro-B to Type-B USB interface cable
  • CryptoAuth-XSTK for Provisioning the crypto-device

Software Prerequisites:

  • Atmel Studio 7
  • Atmel Software Framework (ASF) 3.34 or later
  • CryptoAuthLib
  • SAM-BA 2.17

Note: All pieces of software listed above can be downloaded from the Microchip website.

References