Specifications

Table Of Contents
read Output
root@dell-diag-os:~# memtool --read --addr=200
[00000200]: 0x00 || .
write Output
root@dell-diag-os:~# memtool --write --addr=200 --val=0x50
Constraints
You cannot perform memory tests while other tests that allocate and use memory within the region are performing. However, you can
perform the Read tests concurrently with other processes. You cannot run multiple memory tests at the same time as they may collide
within the memory spaces.
Memory tests cannot test all the memory, and without cache ushes, memory tests may not get out of the caches. The SDI must ensure
the memory accessed is accessing the physical memory. This check slows down the tests.
Data ow
The memtool is not part of the data path and does not participate in the data ow.
Conguration le format
The conguration le for the memtool is a list of memory segments separated by a ==== divider. Each entry describes the memory in a
system that is accessible. This list allows you to review memory in RAMs, FPGAs, and RAM in a memory-mapped PCI BAR. Each parameter
is on a separate line and consists of:
NameThe name of the memory region.
Start AddressThe address that the memory starts with. If this address is system memory, use a '-' to request the system to get
a location from the OS Heap.
SizeThe size of the memory. If this size is system memory, use a '-' to request the system to get a location from the OS Heap
Access Mode—How you access the memory; through (b)yte, (h)alfword, or (w)ord.
IncrementThe byte address increment for each successive memory location.
Ecc—checks if ECC is available.
Max Chunk—Memory is tested in chunks in which the available memory is divided into. This number is the maximum size of a chunk.
Max CacheThe size of the cache—not currently used. Ensures that caches are fully tested.
Cache LineThe size of a cache line—not currently used.
Iterations—How many times to run the tests on this region.
Tests—lists the tests to perform. Tests are specied in a comma-separated list.
Available tests are:
ALL_TESTS—All the following tests, except for DATA_CACHE, which must be run separately.
ADDRESS_READ—Read test of the address lines.
Dell EMC DiagOS tools
49