This message will disappear after all relevant tasks have been resolved.
Semantic MediaWiki
There are 1 incomplete or pending task to finish installation of Semantic MediaWiki. An administrator or user with sufficient rights can complete it. This should be done before adding new data to avoid inconsistencies.This article gives information about the OTP framework in OP-TEE and the associated interfaces.
1. Framework purpose[edit source]
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[edit source]
![]() |
Coming soon |
2.1. Component description[edit source]
- Non secure world (Linux):
- 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 Core API Lib (User Space): Library called by the client application to access to the kernel space.
- 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 driver (Kernel Space): Generic driver that send the message to the OP-TEE OS.
- Secure world: the OP-TEE secure OS is running on the Cortex-A in secure mode and exposes secure service with Trusted Applications (TA)
- NVMEM TA (OP-TEE core): Interface that exposes the NVMEM specific services for provisioning.
- BSEC PTA (OP-TEE core): Interface that exposes the BSEC specific services for OTP acccess.
- BSEC driver (OP-TEE core):
- Hardware: access to hardware specific peripherals
2.2. API description[edit source]
The OTP interface is provided by two trusted applications (TA) in OP-TEE, accessible from the normal world with the GlobalPlatform API:
- 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)
3. References[edit source]
Please refer to the following links for additional information: