- Last edited one month ago ago
OP-TEE OTP PTA overview
This article gives information about the OTP framework in OP-TEE and the associated interfaces.
1 Framework purpose
The OP-TEE OTP PTA provides a generic interface for the device non-volatile OTP (one-time programmable) fuses.
It offers interfaces to read and/or write OTP data and status at Trusted Applications (TA) in secure world and at non-secure applications.
2 System overview
2.1 Component description
- NVMEM framework (kernel space)
The NVMEM framework in Linux® kernel provides sysfs interface and NVMEM API.
- NVMEM drivers (kernel space)
Provider drivers such as BSEC Linux® driver that exposes OTP data to the core.
- TEE framework (kernel space)
The TEE framework provides TEE client API to communicate with secure services, as the services provided by the OP-TEE Linux® driver.
- OP-TEE (Secure)
2.2 API description
- BSEC PTA: used to export OTP to other TA or to normal world (individual access)
- NVMEM TA: used to export OTP to STM32cubeProgrammer (global access)
Please refer to the following links for additional information: