Introduction#
This application note explains how to use tokens for non-volatile data storage. First, the concept of tokens, different types of tokens, and how to categorize them from multiple perspectives is introduced. Then, practical instructions on how to create and access (that is, read and write) tokens from the application are provided.
After reading this application note, you should expect to understand what tokens are, why and when you would use them, and how to create and access them from certain types of applications.
To simplify handling of tokens and provide a common API interface, a new software component has been added in SiSDK (version 2025.6 onwards), named Common Token Manager (CTM). CTM provides a simplified token format along with better APIs to handle token operations. CTM will be maintained as a common SW interface to token management going forward. For more details, see the Common Token Manager section.
Note: CTM currently supports backward compatibility (legacy HAL APIs). The current token manager APIs and legacy HAL APIs for token management will be deprecated. From Series-3 onwards, only CTM is supported for token management, and HAL APIs are no longer supported.