Feature #1106
Add checksum checks/validation function
Start date:
05/19/2014
Due date:
05/19/2014
% Done:
100%
Estimated time:
Description
Added small tool for dump checksum checks.
tin@tin-lap:/repo/ddr4s/fw/Pi$ ./check.sh -i- http://dev.xdevs.com/projects/ddr4s Compiling checksum.c All done.
DDR3 dump example:
tin@tin-lap:/repo/ddr4s/fw/Pi$ ./checksum -f ddr3.bin /********************** xDevs.com DDR4s Project ************************/ DDR3/DDR4 dump checksum check tool | calculates CRC16 for input binary Usage: checksum -f [dump_filename] /***********************************************************************/ File DDR3 CRC16 = 600E | byte 126 = E | byte 127 = 60 Calculated DDR3 CRC16 = 600E | byte 126 = E | byte 127 = 60 CRC in dump is correct
DDR4 Dump example
tin@tin-lap:/repo/ddr4s/fw/Pi$ ./checksum -f ddr4.bin /********************** xDevs.com DDR4s Project ************************/ DDR3/DDR4 dump checksum check tool | calculates CRC16 for input binary Usage: checksum -f [dump_filename] /***********************************************************************/ -i- DDR4 mode enabled, 512 bytes parsed File DDR4 CRC16 = E752 | byte 126 = 52 | byte 127 = E7 File vendor section DDR4 CRC16 = 0 | byte 382 = 0 | byte 383 = 0 Calculated DDR4 CRC16 = E752 | byte 126 = 52 | byte 127 = E7 CRC in dump is correct tin@tin-lap:/repo/ddr4s/fw/Pi$
Need some code cleanup and integration to main programm.
Updated by tin over 8 years ago
- Status changed from In Progress to Closed
- % Done changed from 50 to 100
Done.