CW308T-ADUCM3029

Revision as of 07:08, 22 August 2018 by LCraig (Talk | contribs) (Initial Page add. Still mostly placeholder)

Revision as of 07:08, 22 August 2018 by LCraig (Talk | contribs) (Initial Page add. Still mostly placeholder)

CW308T-ADUCM3029
SAM4L-Top-small.jpg
Target Device Atmel SAM4L
Target Architecture ARM Cortex M4
Hardware Crypto Yes
Design Files

GITHub Link

OSH Park PCBs
Supported Apps Simple Serial Enc/Auth
Status Released

This board supports the Atmel SAM4L microcontroller. The default build has the Atmel ATSAM4LC2AA-AU, which has 128KB flash and 32KB SRAM.

Power Supply

The ADuCM3029 can run from a core supply voltage between 1.8 and 3.3 volts. By default the core is fed from the 3.3v supply but the adjustable regulator on the CW308T can be used to set any viable core voltage. Sometimes power analysis is more viable at different supply voltages.

Hardware AES

The SAM4L has a hardware AES module, with optional countermeasures that can be enabled. These countermeasures are described in the SAM4L datasheet as the following options:

  • Type 1: Randomly add one cycle to data processing
  • Type 2: Randomly add one cycle to data processing (other version)
  • Type 3: Add a random number of clock cycles to data processing, subject to a maximum of 11 clock cycles for key size of 128 bits
  • Type 4: Add random spurious power consumption during data processing

Interestingly they can be individually enabled/disabled. This makes the SAM4L a useful training target for power analysis attacks against various hardware countermeasures.

Programming

An external programmer is needed for this target. The SAM4L has an internal bootloader you can use via an external serial port, which is not yet supported directly by the ChipWhisperer-Capture software.

Schematic

See GIT Repo for PDF of schematic.

Board Layout

See GIT Repo for gerber files.

Hardware