memtest¶
glasgow run memtest¶
Run a simple memory test procedure to diagnose memory issues. Our patented memtest67™ algorithm works as follows:
- For each pattern in (
Const0,Const1,Alt01,Alt10,PRBS) do: - For each sequential block of specified size in the specified region, do:
Write pattern sequence to memory block
Read memory block and compare with pattern sequence
- For each pattern in (
usage: glasgow run memtest [-h] -c INDEX [-a HEX-ADDR] [-b HEX-ADDR] [-s SIZE]
[-n COUNT]
- -h, --help¶
show this help message and exit
- -c {0,1}, --channel {0,1}¶
memory channel (one of: 0, 1)
- -a <hex-addr>, --start-addr <hex-addr>¶
start of region (default: zero)
- -b <hex-addr>, --stop-addr <hex-addr>¶
end of region, exclusive (default: 64 MB)
- -s {2,4,8,16,32,64,128,256,512,1024,2048}, --block-size {2,4,8,16,32,64,128,256,512,1024,2048}¶
block size (power of two, 2..2048, default: 2048)
- -n <count>, --cycles <count>¶
repeat memory test COUNT times