2.1. Parsing Programming Files
2.2. Getting Device Information
2.3. Debugging QSPI Flash
2.4. QSPI Controller Settings and SFDP Values
2.5. Debugging Remote System Update
2.6. Voltage Sensor Monitoring
2.7. Temperature Sensor Monitoring
2.8. Hard Processor System (HPS) Cold Reset
2.9. Debug Log
2.10. SDM Mailbox Command
2.11. VR Diagnostic
2.12. VR Telemetry
2.13. Virtual Hardware
2.13.2.1. Reading Programming File Information from Virtual Hardware
2.13.2.2. Reading Device Information from Virtual Hardware
2.13.2.3. Accessing Flash Memory Attached to Virtual Hardware
2.13.2.4. Performing RSU with Virtual Hardware
2.13.2.5. Reading Voltage Sensor Measurement from Virtual Hardware
2.13.2.6. Reading Temperature Sensor Measurement from Virtual Hardware
2.13.2.7. Sending SDM Mailbox Commands with Virtual Hardware
2.10.2. Command Options for Sending SDM Mailbox Command
| Options | Type | Description |
|---|---|---|
| cmd_code | Required | Option to specify the SDM mailbox command code. The input value is an 11-bit command code. The tool formats the code into a valid header. |
| cmd_param | Optional | Option to specify the SDM mailbox command parameters. The input value can be a single word or a list of words. |
Example 1. Sending an NOOP [0x0] Command
Command:
quartus_pgm -c 2 -m jtag --cmd_code=0x0
Example of response returned:
Command:
00001000
Response:
00000000
Example 2. Sending a CONFIG_STATUS [0x4] Command
Command:
quartus_pgm -c 2 -m jtag --cmd_code=0x4
Example of response returned:
Command:
00001004
Response:
00006000
00000000
00150300
C000000F
0000000B
00000000
00000000
Example 3. Sending a QSPI Command
i. Executing QSPI_OPEN command (0x32):
quartus_pgm -c 2 -m jtag --cmd_code=0x32
Example of response returned:
Command:
00001032
Response:
00000000
ii. Executing QSPI_SET_CS command (0x34) with 1 command parameter:
quartus_pgm -c 2 -m jtag --cmd_code=0x34 –cmd_param=”0x0”
Example of response returned:
Command:
00003034
00000000
Response:
00000000
iii. Executing QSPI_READ command (0x3A) with 2 command parameters:
quartus_pgm -c 2 -m jtag --cmd_code=0x3A –cmd_param=”0x0 0x5”
Example of response returned:
Command:
0000303A
00000000
00000005
Response:
00005000
62294895
00000030
00000400
00000000
00000000
iv. Executing QSPI_CLOSE command (0x33):
quartus_pgm -c 2 -m jtag --cmd_code=0x33
Example of response returned:
Command:
00001033
Response:
00000000
Related Information