Microchip SAM D5x/E5x
This series of ARM Cortex M4F-based SoC’s includes:
SAMD51
SAME51
SAME53
SAME54
Target name |
SoC |
Probe |
---|---|---|
|
AT SAM D5x/E5x |
SWD |
|
AT SAM D5x/E5x |
USB:CMSIS-DAP (Deprecated) |
Supported Debug Probes
The built-in SWD probe of the PLT
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 (including user page)
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
User Page
For Microchip SAMD program targets that require modifications to the “Smart EEPROM” user page during production programming, custom openocd commands may be required in the YAML test plan.
Example: Write ATSAMD5x/E5x User Page
- title: "Write ATSAMD5x/ATSAME5x User Page"
steps:
- command: openocd ATSAME5
- with:
- init
- reset halt
# Write 2 to SEESBLK and 4 to SEEPSZ fields but leave other
# bits unchanged (setup SmartEEPROM of virtual size 8192
# bytes)
- atsame5 userpage 0x4200000000 0x7f00000000
- exit
Example PLTcloud Projects
References