Pages: 1 ... 6 7 [8]
Author Topic: MED 17 , EDC 17 EEPROM CHECKSUM  (Read 99263 times)
Team dz
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 5


« Reply #105 on: December 09, 2023, 03:26:49 PM »

ALGO  SIMPLE CRC  Xor
Logged
doot47
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 5


« Reply #106 on: December 13, 2023, 01:25:40 PM »


thank you friend  Smiley Smiley Smiley
Logged
beginner
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 3


« Reply #107 on: March 06, 2024, 07:48:29 PM »

does any one have a working c# for this algo ?
Logged
deutsch1988
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 3


« Reply #108 on: April 22, 2024, 12:03:16 PM »

Hello.
And i am interessing abouth here. Will up this theme!
Logged
deutsch1988
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 3


« Reply #109 on: April 23, 2024, 12:13:59 PM »

6 days i am trying to fix this , buth CR1 dont work. here pascal code, what its wrong?


Code:

[codefunction CRC32T(Initial: LongWord; Data: array of Byte; DataSize: LongWord): LongWord;
const
 poly = $EDB88320;
var
 j: Integer;
 tmp1, tmp2, crc, i: LongWord;
begin
 crc := Initial;
 i := 0;
 while i < DataSize do
 begin
   tmp1 := 0;
   tmp2 := crc xor Data[i];
   for j := 0 to 7 do
   begin
     if tmp2 and 1 = 1 then
       tmp1 := tmp1 xor poly;
     tmp2 := tmp2 shr 1;
   end;
   crc := (crc shr 8) xor tmp1;
   Inc(i);
 end;
 Result := not crc;
end;
« Last Edit: April 23, 2024, 12:16:25 PM by deutsch1988 » Logged
deutsch1988
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 3


« Reply #110 on: April 23, 2024, 02:54:25 PM »

Problem fixed CS1.
Special Thanks to Anton from group. he have writed code in Visual Studio, and i have converted this code to Pascal!
SPECIAL THANKS ANTON!!!
Great mann.helped very very goood!!!


after finish program i will share the direct basic exe file, just put datas and get CS1 and CS2 or automatic edit CS on file with cheking!
Logged
LI
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 1


« Reply #111 on: April 30, 2024, 09:32:26 AM »

Hello, I want to figure out the effective verification and calculation steps for my 17 years old. Can you help me?
Logged
Arthur1808
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 2


« Reply #112 on: July 11, 2024, 06:17:09 AM »

Hello everyone, any news for this calculation of cs1 and cs2?
Logged
duzi
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 1


« Reply #113 on: July 30, 2024, 02:00:36 AM »

DEL..
figured it out, thanks everyone for your help
« Last Edit: August 05, 2024, 09:59:54 AM by duzi » Logged
stranger
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 5


« Reply #114 on: Today at 04:33:23 AM »

What about TC1793 that doesn't seems to use CS2. Blocks still looks to be same size, but no block ID is used.

Emulated eeprom is 192Kb in size.

At place where normally CS2 is, only something similar to CS1.


Has anyone figured out how to calculate this checksum?
Logged
Pages: 1 ... 6 7 [8]
  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Page created in 0.022 seconds with 18 queries. (Pretty URLs adds 0.001s, 0q)