Analog Devices ADSP-SC58 Series Hardware Reference Manual page 531

Sharc+ processor
Table of Contents

Advertisement

OTP API Overview
typedef struct {
uint32_t (*huk)[8];
uint32_t (*pvt_128key1)[4];
uint32_t (*pvt_128key2)[4];
uint32_t (*pvt_128key3)[4];
uint32_t (*pvt_128key4)[4];
uint32_t (*pvt_192key1)[6];
uint32_t (*pvt_192key2)[6];
uint32_t (*public_key0)[16];
uint32_t (*public_key1)[16];
uint32_t (*ek)[8];
uint32_t (*secure_emu_key)[4];
uint8_t
bootModeDisable;
uint32_t (*boot_info)[16];
uint32_t (*gp0)[16];
uint32_t antiroll_nv_cntr;
uint8_t
stageID;
uint32_t (*preboot_ddr_cfg)[11];
} otp_data;
NOTE:
Make OTP memory a non-cacheable region if the core needs access to it.
OTP Reading
This API provides a unified source for retrieving OTP data fields.
All addresses are assumed to be byte addresses, unless otherwise noted.
A list of APIs follow:
bool adi_rom_otp_get( OTPCMD cmd, uint32_t*
data);
OTP Get Field
Retrieves indicated data from OTP memory.
Name
Prototype
Argument
Argument
Return Value
Stack Requirements
bool res = adi_rom_otp_get(otpcmd_info,data);
12–4
OTP Get Field
bool adi_rom_otp_get( OTPCMD cmd,
uint32_t* data);
cmd
data
bool
valid stack
ADSP-SC58x/ADSP-2158x SHARC+ Processor Hardware Reference
OTP Get Field
Indicates what data to fetch, based on
theOTPCMD enum.
memory location to write the data to
true for a successful read

Advertisement

Table of Contents
loading

This manual is also suitable for:

Adsp-2158 series

Table of Contents