PDA

View Full Version : Check sum for IKEY and IAUX?


dc17
12-15-2005, 01:37 AM
(based on atmega128's anyway)
When a new key gets posted (and thank you for those who post), can one calculate that last byte so we can easily apply it in a pfg or eeprom file?

For example, with this post
IKEY 1= 3D731922275DC2C997965A0CA57927F9 -Active

...we needed to replace the old IKEY1 (as of the 10th I think) with
100020003D731922275DC2C997965A0CA57927F905

...into the pfg or eeprom.eep file to have the current active key.


OK. Breaking the key up we get:

Mem Loc. <-----------KEY----------------> Checksum???
10002000 3D731922275DC2C997965A0CA57927F9 05

My question is, can you calulate that checksum, if it is a checksum, that was "05" on the above example?

Off on a tangent, I can guess that memory locations in the pfg (under the [EEP] section) or in the tomico eeprom.eep for example are:

:10001000 is IKEY0
:10002000 is IKEY1
:10003000 is IAUX0
:10004000 is IAUX1


Thanks.

dc17
12-29-2005, 12:22 AM
Thanks to pikachule1, answer posted here
http://www.dssftp.com/forum/t54725-newbie-question.html