AM62Ax MCU+ SDK  10.01.00
tisci_keywriter.h File Reference

Go to the source code of this file.

Data Structures

struct  tisci_msg_keywriter_req
 This file contains: More...
 
struct  tisci_msg_keywriter_resp
 Response message for keywriter. More...
 

Macros

#define NUM_KEYWR_ERR_CODES   (32)
 

Enumerations

enum  keywriter_error_codes {
  KEYWR_ERR_DECRYPT_AES256_KEY = 0, KEYWR_ERR_DECRYPT_BMEK = 1, KEYWR_ERR_DECRYPT_BMPKH = 2, KEYWR_ERR_DECRYPT_SMEK = 3,
  KEYWR_ERR_DECRYPT_SMPKH = 4, KEYWR_ERR_INTERAL_OP = 5, KEYWR_ERR_INVALID_EXT_COUNT = 6, KEYWR_ERR_PARSE_CERT = 7,
  KEYWR_ERR_PARSE_FEK = 8, KEYWR_ERR_PARSE_SMPK_CERT = 9, KEYWR_ERR_PROGR_BMEK = 10, KEYWR_ERR_PROGR_BMPKH_PART_1 = 11,
  KEYWR_ERR_PROGR_BMPKH_PART_2 = 12, KEYWR_ERR_PROGR_KEYCOUNT = 13, KEYWR_ERR_PROGR_KEYREV = 14, KEYWR_ERR_PROGR_SMEK = 15,
  KEYWR_ERR_PROGR_SMPKH_PART_1 = 16, KEYWR_ERR_PROGR_SMPKH_PART_2 = 17, KEYWR_ERR_VALIDATION_CERT = 18, KEYWR_ERR_VALIDATION_SMPK_CERT = 19,
  KEYWR_ERR_VALIDATION_BMPK_KEY = 20, KEYWR_ERR_VALIDATION_SMPK_KEY = 21, KEYWR_ERR_WRITE_PROT_KEYCOUNT = 22, KEYWR_ERR_WRITE_PROT_KEYREV = 23,
  KEYWR_ERR_IMG_INTEG_SMPK_CERT = 24, KEYWR_ERR_PROGR_MSV = 25, KEYWR_ERR_PROGR_SWREV = 26, KEYWR_ERR_PROGR_FW_CFG_REV = 27,
  KEYWR_ERR_DECRYPT_EXT_OTP = 28, KEYWR_ERR_PROGR_EXT_OTP = 29, KEYWR_ERR_PROGR_OVERRIDE = 30, KEYWR_ERR_JTAG_DISABLE = 31
}
 OTP Keywriter error code bit indices. More...
 

Functions

struct tisci_msg_keywriter_req __attribute__ ((__packed__))
 

Variables

struct tisci_header hdr
 
uint32_t image_addr_lo
 
uint32_t image_addr_hi
 
uint32_t key_prog_mask [2]
 
uint32_t debug_response
 
enum keywriter_error_codes __attribute__
 

Variable Documentation

◆ hdr

struct tisci_header hdr

◆ image_addr_lo

uint32_t image_addr_lo

◆ image_addr_hi

uint32_t image_addr_hi

◆ key_prog_mask

uint32_t key_prog_mask[2]

◆ debug_response

uint32_t debug_response