Project

General

Profile

Feature #1106

Add checksum checks/validation function

Added by tin about 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
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.

#1

Updated by tin about 6 years ago

  • Description updated (diff)
  • % Done changed from 0 to 50
#2

Updated by Izerg about 6 years ago

а шо такое "tin@tin-lap"?

#3

Updated by tin about 6 years ago

  • Category set to 135
#4

Updated by tin about 6 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 50 to 100

Done.

Also available in: Atom PDF