1.5.1 Storage Service

The PRIME Stack uses the PRIME Storage service library to access persistent information. This library offers an interface to read/write persistent data from/to non-volatile memory.

Persistent data required by the PRIME Stack are given below:
  • the MAC address
  • the Device Unique Key or DUK (only for Service Node)
  • the Base Node parameters (only for Base Node)
  • the PRIME mode
  • the PHY parameters
On the SAMD20, this service additionally provides non-volatile data slots that emulate the backup registers (GPBRs) available on other devices. These slots are used by:
  • the Firmware Upgrade service, to store the state of an ongoing over-the-air upgrade so it can resume after an interruption
  • the Reset Handler service, to store the reset information