TT-System-Firmware APIs 19.8.99
Tenstorrent Firmware
Loading...
Searching...
No Matches
eeprom_rqst Struct Reference

Host request to read or write SPI EEPROM. More...

#include <msgqueue.h>

Data Fields

uint8_t command_code
 The command code corresponding to TT_SMC_MSG_READ_EEPROM or TT_SMC_MSG_WRITE_EEPROM.
uint8_t buffer_mem_type
 Buffer memory type (0 = CSM scratch buffer)
uint8_t pad [2]
 Two bytes of padding.
uint32_t spi_address
 SPI flash address to read from or write to.
uint32_t num_bytes
 Number of bytes to transfer.
uint32_t csm_addr
 CSM buffer address for the data.

Detailed Description

Host request to read or write SPI EEPROM.

Read messages are processed by read_eeprom_handler. Write messages are processed by write_eeprom_handler.

The host must use flash unlock (TT_SMC_MSG_FLASH_UNLOCK) before writing. The CSM buffer address must fall within the SPI global buffer region.

Field Documentation

◆ buffer_mem_type

uint8_t eeprom_rqst::buffer_mem_type

Buffer memory type (0 = CSM scratch buffer)

◆ command_code

uint8_t eeprom_rqst::command_code

The command code corresponding to TT_SMC_MSG_READ_EEPROM or TT_SMC_MSG_WRITE_EEPROM.

◆ csm_addr

uint32_t eeprom_rqst::csm_addr

CSM buffer address for the data.

◆ num_bytes

uint32_t eeprom_rqst::num_bytes

Number of bytes to transfer.

◆ pad

uint8_t eeprom_rqst::pad[2]

Two bytes of padding.

◆ spi_address

uint32_t eeprom_rqst::spi_address

SPI flash address to read from or write to.


The documentation for this struct was generated from the following file: