MAILBOX Offset | 32-bit Word | Field Type | Field Description |
---|---|---|---|
0x00
|
[0] | Host Request Message | Message Header 31:24 Opcode
( 23:0 Reserved |
0x04
|
[1] | Host Request Message | 31:8 Reserved 7:0 SoC Control Opcode
|
0x08
|
[2] | Host Request Message |
31:8 Reserved 7:0 Length in Bytes 1 |
0x0C
|
[3] | Host Request Message | Magic Number (SoC reset mode only) 31:0 0xb002b002 |
|
Host Action | Function |
---|---|
Peek 0x28018
|
Check availability of the mailbox by confirming CONTROL_REG[5] is 0. |
Poke 0x29000
0x12000000
|
Write the request message header to MAILBOX
Word 0 (Opcode). Assumes HOST_MSG_OFFSET_REG =
|
Poke 0x29004
0x00000000
|
Set SoC Control Opcode to 0x0 SoC Reset |
Poke 0x29008
0x00000004
|
Set Length to 0x4 |
Poke 0x2900C
0xb002b002
|
Set Magic Number 0xb002b002 |
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 the CMS response is available. |
Peek 0x28304
|
Confirm no errors in HOST_MSG_ERR_REG. |
Host Action | Function |
---|---|
Peek 0x28018
|
Check availability of the mailbox by confirming CONTROL_REG[5] is 0. |
Poke 0x29000
0x12000000
|
Write the request message header to MAILBOX
Word 0 (Opcode). Assumes HOST_MSG_OFFSET_REG =
|
Poke 0x29004
0x00000001
|
Set SoC Control Opcode to 0x1 SoC Enable |
Poke 0x29008
0x00000000
|
Set Length to 0x0 |
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 the CMS response is available. |
Peek 0x28304
|
Confirm no errors in HOST_MSG_ERR_REG. |
Host Action | Function |
---|---|
Peek 0x28018
|
Check availability of the mailbox by confirming CONTROL_REG[5] is 0. |
Poke 0x29000
0x12000000
|
Write the request message header to MAILBOX
Word 0 (Opcode). Assumes HOST_MSG_OFFSET_REG =
|
Poke 0x29004
0x00000002
|
Set SoC Control Opcode to 0x2 SoC Disable |
Poke 0x29008
0x00000000
|
Set Length to 0x0 |
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 the CMS response is available. |
Peek 0x28304
|
Confirm no errors in HOST_MSG_ERR_REG. |