Intel® Arria® 10 SoC UEFI Boot Loader User Guide

ID 683536
Date 12/15/2017
Public
Document Table of Contents

1.10.2.1. Memory and Memory-Mapped I/O Commands

Command Usage Description
Read mr addr [count]

32-bit memory read. Read a 32-bit word (4 bytes) of data from addr and display the data in HEX format.

addr: memory address, must be 32-bit aligned.

count: If not specified, the default value is 1. If specified, increase the address by a 32-bit word (4 bytes) for the next count.

Write mw addr data [count]

32-bits memory write. Write a 32-bit word (4 bytes) of data to addr. If the count is more than one, the same piece of data is written to the subsequence address.

addr: memory address must be 32-bit aligned.

count: If not specified, the default value is 1. If specified, increase the address by a 32-bit word (4 bytes) for the next count.

Compare mcmp addr1 addr2 [count]

32-bit memory compare. Compare a 32-bit word (4 bytes) of data between two different 32-bit memory locations for a count iteration and print out the differences in the process.

addr: memory address, must be 32 bits aligned.

count: If not specified,the default value is 1. If specified, increase the address by a 32-bit word (4 bytes) for the next count.

Dump mdmp addr len Memory Hex Dump. Each byte (8-bits) is represented as a two-digit hexadecimal number.

addr: memory address, must be 32-bit aligned.

len: number of bytes, must be 32-bit aligned.