OTP Keywriter TISCI Description

This chapter provides information on TISCI message for programming customer keys into eFuse array on K3 devices.

TISCI Message ID Message Name
0x9031 TISCI_MSG_KEY_WRITER

This document must be read alongside Key Writer

API Description

TISCI_MSG_KEY_WRITER - Key writer

Usage

Message Type Secure
Secure Queue Only? Yes

TISCI Message ID

TISCI_MSG_KEY_WRITER          (0x9031U)

struct tisci_msg_keywriter_req

Request message for keywriter

Parameter Type Description
hdr struct tisci_header standard TISCI header
image_addr_lo u32 Lower 32 bit address (in LE format) of the certificate
image_addr_hi u32 Higher 32 bit address (in LE format) of the certificate
key_prog_mask u32 Reserved for future use

Address of the certificate containing customer key information is given as input to the API.

struct tisci_msg_keywriter_resp

Response message for keywriter

Parameter Type Description
hdr struct tisci_header standard TISCI header
debug_response u32 debug code for success/failure

A debug_response of 0x0 means the key programming was successful, other response codes indicate the point of failure, which can be referred from PDK documentation for OTP Keywriter.