CMS_OP_SC_FW_DATA (0x02) - 4.0 English

Alveo Card Management Solution Subsystem Product Guide (PG348)

Document ID
PG348
Release Date
2023-11-10
Version
4.0 English
Table 1. CMS_OP_SC_FW_DATA (0x02) Message Format
MAILBOX Offset 32-bit Word Field Type Field Description 1
0x00 [0] Host Request Message Message Header

31:24 Opcode (0x2)

23:12 Reserved

11:0 Payload length in bytes

0x04-end [1:end] Host Request Message Firmware data
  1. The entire payload is filled with firmware data (assuming HOST_MSG_OFFSET_REG = 0x1000, a maximum of 4092 bytes of firmware data can be transferred in this message).
  2. Multiple messages are required to send a firmware section.
Table 2. CMS_OP_SC_FW_DATA (0x02) Worked Example
Host Action Function
Peek 0x28018 Check the mailbox availability by confirming CONTROL_REG[5] is 0.
Poke 0x29000 0x02000FFC Write the request message header into MAILBOX Word 0 (Opcode and payload length).

Assumes HOST_MSG_OFFSET_REG = 0x1000.

Payload length: 4092 bytes firmware data (0xFFC).

Poke 0x29004-0x29FFC 0xXXXXXXX Write the firmware data to the remaining 1023 MAILBOX words.
Poke 0x28018 0x20 Set CONTROL_REG[5] to 1 to indicate a new request message is available.
Peek 0x28018 Poll CONTROL_REG bit 5 until ‘0’ is received, indicating CMS has completed the operation.
Peek 0x28304 Confirm no errors in HOST_MSG_ERR_REG.