Microchip SAM D5x/E5x

SoCs in the Microchip SAM D5x/E5x series are based on ARM Cortex-M4F CPUs.

Target name

SoC

Probe

ATSAME5

AT SAM D5x/E5x

SWD

ATSAME5_DAP

AT SAM D5x/E5x

USB:CMSIS-DAP (Deprecated)

Supported Debug Probes

Security Bit

For ATSAMD5x/E5x systems that make use of the “Security Bit” of the ATSAMD5x/E5x SoC, custom openocd commands may be required in the YAML test plan.

Example: Set ATSAMD5x/E5x Security Bit

title: "Set ATSAMD5x/E5x Security Bit"
suite:
- title: DUT power
  steps:
  - command: power off
  - command: ground 1
  - command: sleepms 50
  - command: power 3V3 on
  - command: sleepms 500
- title: Enable security on SAMD5x/E5x
  steps:
  - command: openocd ATSAME5
    with:
    - ftdi_init_samd_cold_plug
    - init
    - reset halt
    - atsame5 set-security enable
    - exit

Example: Erase secured ATSMD5x/E5x

title: "Erase secured ATSAMD5x/E5x"
suite:
- title: DUT power
  steps:
  - command: power off
  - command: ground 1
  - command: sleepms 50
  - command: power 3V3 on
  - command: sleepms 500
- title: Disable security and erase SAMD5x/E5x
  steps:
  - command: openocd ATSAME5
    with:
      - ftdi_init_samd_cold_plug
      - init
      - atsame5 chip-erase-secured

Example PLTcloud Projects

References