PentaxForums.com  

Go Back   PentaxForums.com > Pentax Photography > Pentax Photography Knowledge Base

Notice
Account Status Notice
Dear Unregistered: Please remember that questions are not to be posted in the Knowledgebase. Please only post articles or useful resources pertinent to Pentax.

Pentax Photography Knowledge Base Post and view articles with answers to common Pentax-related questions within this resource.

Reply
 
Thread Tools Search this Thread Display Modes
Old 11-01-2007, 05:53 PM   #1
Pentaxian
 
mattdm's Avatar
 
Join Date: Feb 2007
Location: Boston, MA
Gallery Photos: 8
Posts: 1,206
What are the checksums of the K10D/K100D firmware updates?

The camera's internal firmware update routine may have some sort of checksumming capability of its own, but better safe than sorry. A really corrupt firmware file probably wouldn't even load, but maybe a single or double bit error would slip through. So, here's md5 and sha1 checksums for the files from firmware 1.30 for the K10D:

$ md5sum fwdc162b.bin readme.txt
2afa718d2aadbf283a54d123c9178a6b fwdc162b.bin
88a666c31eb5c7cf3b0ca2095307c38f readme.txt

and

$ sha1sum fwdc162b.bin readme.txt
177db82b63efd1a7b7f693b87e84f53de80c579b fwdc162b.bin
124e85ea4043900796b632c68661a3e15b6508bd readme.tx

Please follow up with checksums for other firmware versions for the K10D and other Pentax digital cameras.

Last edited by mattdm; 11-06-2007 at 07:09 AM. Reason: fix typo in title
mattdm is offline   Reply With Quote
Old 11-06-2007, 01:54 PM   #2
Site Supporter
 
Join Date: Mar 2007
Location: Los Angeles, CA
Gallery Photos: 0
Posts: 333
For those who have never heard of checksumming, it's a method for verifying that your downloaded file wasn't corrupted during the transfer process.

An md5 or sha1 checksum program will read through the bits of any file and calculate a unique (for our intents and purposes) "hash" value for that file. If your downloaded file is a perfect copy of the original, then the hash value calculated from both files should be the same.
igowerf is offline   Reply With Quote
Old 11-16-2007, 03:39 PM   #3
Pentaxian
 
Lowell Goudge's Avatar
 
Join Date: Jan 2007
Location: Toronto
Gallery Photos: 2
Posts: 2,966
For all those who really want an explanation, a checksum is a numerically calculated value which has taken some specific file information such as create date etc, and added a calculated value shich performs specific arethmitic calculations on each byte of the code, to create a unique number.

It is used in software to insure that the software is original and not corrupted.

It is used in communications, to insure that messages are transmitted without error.

In some instances, depending on the technuique employed it can be used for error correction of transmitted data.

If you change one line of code in several megabytes of a program, it will usually generate a different checksum.


As a result, V1.1, 1.2 and 1.3 of the K10D software (for example) each have different checksums, and if there is an error in loading the software this is the first way the camera detects it. The checksum is downloaded as part of the software loading process, and compared with the calculated value the camera makes. The probability of having an error in the checksum as it is downloaded, and an error that produces the same erroneous checksum, or multiple errors that result in the calculation of a valid chechsum is very very low.
Lowell Goudge is online now   Reply With Quote
Old 11-16-2007, 06:58 PM   #4
Pentaxian
 
mattdm's Avatar
 
Join Date: Feb 2007
Location: Boston, MA
Gallery Photos: 8
Posts: 1,206
Originally Posted by Lowell Goudge View Post
If you change one line of code in several megabytes of a program, it will usually generate a different checksum.
In fact, if it doesn't produce a different checksum result, the checksum algorithm in use is seriously flawed.
mattdm is offline   Reply With Quote
Old 11-16-2007, 09:12 PM   #5
Site Supporter
 
Fl_Gulfer's Avatar
 
Join Date: Jul 2007
Location: Fl Gulf
Gallery Photos: 3
Posts: 736
I just wish I could get it to load into my camera, I've tryed 3 different cards and 3 different ways to load it onto the card. So my K100 will have to go without.
Fl_Gulfer is offline   Reply With Quote
Old 03-29-2008, 03:44 AM   #6
New Member
 
Join Date: Mar 2008
Location: Scunthorpe, England
Gallery Photos: 0
Posts: 5
Firmware update for K100D

Mine does the same. No way will it update, I've done everything the readme says. I've even changed the name from FWDC156B.BIN to fwdc156b.bin and nothing.
Is there anywhere else I can get this file from as I think there is a problem with the one on the pentax site. I've downloaded it four times to differant locations on my PC. but still the screen comes up with 1.00 and then nothing.

Please help!!
sparky2045 is offline   Reply With Quote
Old 03-29-2008, 04:22 AM   #7
Pentaxian
 
ftpaddict's Avatar
 
Join Date: Jan 2008
Location: Bucharest, Romania
Gallery Photos: 14
Posts: 2,584
I don't get it. My firmware update worked flawlessly.
__________________
I are aligatophotographer man. I snaps people. Snap snap snap. Yum.
I shoot things.
Weblog of the Everyday
My deviantART page

ftpaddict is offline   Reply With Quote
Old 03-30-2008, 02:09 AM   #8
New Member
 
Join Date: Mar 2008
Location: Scunthorpe, England
Gallery Photos: 0
Posts: 5
I have now tried it with 3 differant memory cards and still no go. Has anybody got any ideas
sparky2045 is offline   Reply With Quote
Old 03-30-2008, 04:28 AM   #9
Pentaxian
 
mattdm's Avatar
 
Join Date: Feb 2007
Location: Boston, MA
Gallery Photos: 8
Posts: 1,206
Can you describe exactly what you are doing?

Edit: and, let's not handle this here in the Knowledge Base forum, which I think should be for solved problems. Can you post something over in the DSLR forum?
__________________
—ℳ
mattdm is offline   Reply With Quote
Old 04-12-2008, 10:13 PM   #10
New Member
 
Join Date: Jan 2008
Location: France
Gallery Photos: 0
Posts: 6
Originally Posted by mattdm View Post
The camera's internal firmware update routine may have some sort of checksumming capability of its own, but better safe than sorry. A really corrupt firmware file probably wouldn't even load, but maybe a single or double bit error would slip through. So, here's md5 and sha1 checksums for the files from firmware 1.30 for the K10D:

$ md5sum fwdc162b.bin readme.txt
2afa718d2aadbf283a54d123c9178a6b fwdc162b.bin
88a666c31eb5c7cf3b0ca2095307c38f readme.txt

and

$ sha1sum fwdc162b.bin readme.txt
177db82b63efd1a7b7f693b87e84f53de80c579b fwdc162b.bin
124e85ea4043900796b632c68661a3e15b6508bd readme.tx

Please follow up with checksums for other firmware versions for the K10D and other Pentax digital cameras.
I could check my firmware before using it, thank you !
xp_98 is offline   Reply With Quote
Old 04-13-2008, 01:29 AM   #11
Site Supporter
 
Join Date: Jan 2008
Location: Munich, Alps, Germany
Gallery Photos: 17
Posts: 1,053
Originally Posted by mattdm View Post
Please follow up with checksums for other firmware versions for the K10D and other Pentax digital cameras.
This procedure isn't necessary.

The download of firmware files is an archive.

(At least, this is the case for download from
Downloads - Digitalkameras, Fotografie und Ferngläser - PENTAX Europe GmbH
-> you get an .exe which actually is the WinSFX32M Self Extractor for Win32)

So, save the downloaded file and just prior to your update, run/unpack it

The checksum is then automatically checked for you by the unpack routine as the archive format is checksum protected anyway.

So please, save your time and don't check checksums again.
falconeye is online now   Reply With Quote
Old 04-17-2008, 09:18 AM   #12
Pentaxian
 
mattdm's Avatar
 
Join Date: Feb 2007
Location: Boston, MA
Gallery Photos: 8
Posts: 1,206
Originally Posted by falconeye View Post
The checksum is then automatically checked for you by the unpack routine as the archive format is checksum protected anyway.

So please, save your time and don't check checksums again.
It makes me feel better to check the checksum of the bin file on the SD card itself.

Also, that exe file uses an LHA format archive, which I believe uses the CRC-16 BISYNCH checksum protocol, which is much less robust than the sha1sum or md5sum algorithms. It's unlikely that there'd be an error undetected by this, but it doesn't hurt to double-check.
__________________
—ℳ
mattdm is offline   Reply With Quote
Old 08-09-2008, 08:06 AM   #13
New Member
 
Join Date: May 2008
Location: Sydney, Australia
Gallery Photos: 0
Posts: 7
K100D firmware v1.02

K100D Firmware v1.02 MD5

244d1b7af0c4a75355679a1ab3e9de43 *FWDC156B.BIN

Followed the instructions carefully and it worked. Now, how do I upgrade the firmware in my Spotmatic?
geofferiah is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes



All times are GMT -7. The time now is 05:20 PM.

vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.