Difference between revisions of "ATSAM Device Series"

From SEGGER Wiki
Jump to: navigation, search
(Created page with "__TOC__ =Set Flash Security Bit= Most ATSAM series devices support securing Flash by writing to the NVMCTRL module. This can be achieved by using J-Link Commander or J-Flash(...")
 
(Set Flash Security Bit)
 
Line 4: Line 4:
 
Most ATSAM series devices support securing Flash by writing to the NVMCTRL module. This can be achieved by using J-Link Commander or J-Flash(exit steps).
 
Most ATSAM series devices support securing Flash by writing to the NVMCTRL module. This can be achieved by using J-Link Commander or J-Flash(exit steps).
   
A ATSAM series device supports this feature if group configuration ''Set Security Bit'' or in short ''SSB'' is supported by the NVMCTRL. This information can be found int he corresponding user manual.
+
A ATSAM series device supports this feature if group configuration ''Set Security Bit'' or in short ''SSB'' is supported by the NVMCTRL. This information can be found in the corresponding user manual.
   
 
==Example secure command with J-Link Commander==
 
==Example secure command with J-Link Commander==

Latest revision as of 14:18, 21 June 2018

Set Flash Security Bit

Most ATSAM series devices support securing Flash by writing to the NVMCTRL module. This can be achieved by using J-Link Commander or J-Flash(exit steps).

A ATSAM series device supports this feature if group configuration Set Security Bit or in short SSB is supported by the NVMCTRL. This information can be found in the corresponding user manual.

Example secure command with J-Link Commander

The following command sequence can be used to secure the following ATSAM devices:

  • ATSAMD20, SAMD21, SAMC21, SAMHA1, SAMR21, SAML21...

w4 0x41004000, 0xA545

  • ATSAME51, ATSAME52, ATSAME54, ATSAMD51...

w4 0x41004004, 0xA516

Unlock secured ATSAM devices

Unlocking ATSAM devices is supported with all devices that have a Device Service Unit or short DSU present. The unlock process will then be handled automatically by J-Link when trying to connect to the device.