
CRC32
LITE5200B User’s Manual, Rev. 0
Freescale Semiconductor
7-11
7.10
CRC32
c
rc32 address count [addr]
– Compute CRC32 checksum [save at addr].
=> crc 100004 3FC
CRC32 for 00100004 ... 001003ff ==> d433b05b
=>
The crc32 command (short: crc) can be used to caculate a CRC32 checksum over a range of memory:
=> crc 100004 3FC
CRC32 for 00100004 ... 001003ff ==> d433b05b
=>
When used with 3 arguments, the command stores the calculated checksum at the given address:
=> crc 100004 3FC 100000
CRC32 for 00100004 ... 001003ff ==> d433b05b
=> md 100000 4
00100000: d433b05b ec3827e4 3cb0bacf 00093cf5 .3.[.8'.<.....<.
=>
As you can see, the CRC32 checksum was not only printed, but also stored at address 0x100000.