PDK API Guide for J721E
Sciclient OTP API Interface

Introduction

OTP programming is done using the DMSC. This is needed to convert a field securable device into a HS device.

Files

file  sciclient_keywriter.h
 This file contains the definition of all the message IDs, message formats to be able to interact with the System Controller firmware for OTP Key programming.
 

Functions

int32_t Sciclient_otpProcessKeyCfg (uint32_t *otpKeyCfgAddr, uint32_t timeout, uint32_t *debug_response)
 Message to request a processor Provides a means for either the “recovery master” host or another host in the permitted access list to request for a physical processor control. More...
 

Function Documentation

◆ Sciclient_otpProcessKeyCfg()

int32_t Sciclient_otpProcessKeyCfg ( uint32_t *  otpKeyCfgAddr,
uint32_t  timeout,
uint32_t *  debug_response 
)

Message to request a processor Provides a means for either the “recovery master” host or another host in the permitted access list to request for a physical processor control.


Message: TISCI_MSG_KEY_WRITER
Request: tisci_msg_keywriter_req
Response: tisci_msg_keywriter_resp

Parameters
otpKeyCfgAddrAddress of otp writer key config structure Refer Sciclient_ProcessorIds.
timeoutGives a sense of how long to wait for the operation. Refer Sciclient_ServiceOperationTimeout.
debug_responseAddress of debug_response variable to store the debug response from API call
Returns
CSL_PASS on success, else failure