CHDK firmware hack discussion (7)

Started May 11, 2007 | Discussions
harvester Contributing Member • Posts: 693
CHDK firmware hack discussion (7)

This is a sequel to the old threads discussing the CHDK firmware.

The CHDK fw is a hacked firmware for DIGIC II cameras. Currently supported cams are A610, A620, A630, A640, A710IS and S3IS (see the FAQ for a complete list).

The CHDK fw implements new features like RAW, battery indicator, live histogram (RGB/luminance), zebra mode (blinking areas of over- underexposure), DOF calculator, scripts (intervalometer, exposure/focus ... bracketing etc.), text reader, file browser, calendar, games and much more. New features get implemented frequently, so check the timeline for the latest changes, or the FAQ for a complete list.

The CHDK firmware does not touch the original firmware of your camera. It is an additional program which gets loaded into the memory of the cam. If you have a problem, just turn your cam off or remove the batteries, and the CHDK fw is gone.

For further information, a guide, download links and FAQ see the english WIKI:
http://scratchpad.wikia.com/wiki/CHDK

Timeline:
http://tools.assembla.com/chdk/timeline

Dear Vitalyb, GrAnd and all the others: Thank you so much for creating this wonderful piece of software!
Some screenshots:

Main menu

Histogram (Blended) and Zebra overexposure indicator

Script menu

The old discussion threads:
1. http://forums.dpreview.com/forums/readflat.asp?forum=1010&thread=21263144
2. http://forums.dpreview.com/forums/readflat.asp?forum=1010&thread=21995907
3. http://forums.dpreview.com/forums/readflat.asp?forum=1010&thread=22706343
4. http://forums.dpreview.com/forums/readflat.asp?forum=1010&thread=22915656
5. http://forums.dpreview.com/forums/readflat.asp?forum=1010&thread=22966768
6. http://forums.dpreview.com/forums/readflat.asp?forum=1010&thread=23051418

OP harvester Contributing Member • Posts: 693
S2 IS

GrAnd, I noticed on the russian forum some posts by Altsoph which mention the S2 and have lots of "techno speak" like memory adresses or something like that. May I ask if he's working on a CHDK port for the S2 IS?

Graystar Veteran Member • Posts: 8,373
Re: CHDK firmware hack discussion (7)

And for those wondering what you can do with RAW that you can't do with JPEG...

http://digicanon.narod.ru/compare.htm

GrAnd Regular Member • Posts: 325
Re: S2 IS

harvester wrote:

GrAnd, I noticed on the russian forum some posts by Altsoph which
mention the S2 and have lots of "techno speak" like memory adresses
or something like that. May I ask if he's working on a CHDK port
for the S2 IS?

Yes, he is trying to port CHDK for the s2is.

In addition, Vitaly compiled firmware dumpers for A700, A530-550. http://vitalyb.mail333.com/hdk/dumper/

Anybody who have appropriate camera can try to get a dump (but without any warranty that it will work). AFAIR, before getting a dump, the folder 'MISC' should be created manually in the root directory of SD-card. If firmware is successfully dumped there will be the file AUTPRINT.MRK in MISC folder.

Marty Too Senior Member • Posts: 1,204
Sokoban!?!

harvester wrote:

Frank43 wrote:

I am ashamed to say that I can't even solve the first level of
Sokoban. I have another Sokoban game on my Desktop for which I have
solved a dozen levels. But the camera Sokoban is beyond me.

Did others succeed? Any hints ...

It was the same for me
The level is not broken, there definitly is a solution. GrAnd told
it to me and it worked, but now I've forgotten it again. I think it
was quite long... 36 steps or something.
The levels have no particular order. So level 120 may be easier
than the first level. Use [set] to choose levels when the move
counter is zero.

i got through level 1...but level 2 is more difficult.

I got through all but one of the 1-6 but am stumped so far by level 7. There is some obscure move that I am missing. (One level had a bug for me that is now fixed.)

I am beginning to think I will wear out the buttons with this game.

OP harvester Contributing Member • Posts: 693
Re: S2 IS

GrAnd wrote:

Yes, he is trying to port CHDK for the s2is.
In addition, Vitaly compiled firmware dumpers for A700, A530-550.
http://vitalyb.mail333.com/hdk/dumper/
Anybody who have appropriate camera can try to get a dump (but
without any warranty that it will work). AFAIR, before getting a
dump, the folder 'MISC' should be created manually in the root
directory of SD-card. If firmware is successfully dumped there will
be the file AUTPRINT.MRK in MISC folder.

This sounds very interesting for the owners of one of these cams. May I assume that this does not change the original firmware of the cam (just like the CHDK itself), and so there is no risk in trying to run this firmware dumper on your cam?

Frank43 Senior Member • Posts: 1,912
Re: Sokoban!?!

Marty Too wrote:

I got through all but one of the 1-6 ... I am beginning to think I will wear out the buttons with this game.

Could you give us a mini-tutorial on strategy or tactic. I have spent a lot of time on level 1 and it seems to me that I have tried all the alternatives. This stone must be placed before this stone to leave an open access and this one before this one, etc. Level 1 has only three stones and few places to go. There are'nt so many possibilities, but all get stuck.

Canon will be surprised to see so many cameras returned with worn-out buttons. I think my brain will wear-out before the buttons.

Frank

Skeris Junior Member • Posts: 25
Re: Sokoban!?!

I tried that new MF/Zoom lever feature today on my S3, but instead of adjusting the MF it changed the aperture. Maybe I'm doing something wrong, or perhaps I accessed a hack intended for another model. Anyone having a similar issue?

onree New Member • Posts: 19
Auto-load on 4GB - how about formatting it as FAT?

I'm wondering what the drawbacks are of taking a 4GB card and formatting it as FAT instead of FAT32. I tried it just to see, and the auto-load of CHDK worked fine. I suspect (though was not able to verify) that the 4GB card might only allow up to 2GB capacity, but are there any other potential issues with setting it up this way?

GrAnd Regular Member • Posts: 325
Re: firmware dumpers

harvester wrote:

GrAnd wrote:

Anybody who have appropriate camera can try to get a dump (but
without any warranty that it will work). AFAIR, before getting a
dump, the folder 'MISC' should be created manually in the root
directory of SD-card. If firmware is successfully dumped there will
be the file AUTPRINT.MRK in MISC folder.

This sounds very interesting for the owners of one of these cams.
May I assume that this does not change the original firmware of the
cam (just like the CHDK itself), and so there is no risk in trying
to run this firmware dumper on your cam?

Yes. it's safe. The original firmware will be not touched, the same as for CHDK.

But, the dumper for A700 does not work (two russian guys tried it without success).

GrAnd Regular Member • Posts: 325
Re: Auto-load on 4GB - how about formatting it as FAT?

onree wrote:

I'm wondering what the drawbacks are of taking a 4GB card and
formatting it as FAT instead of FAT32. I tried it just to see, and
the auto-load of CHDK worked fine. I suspect (though was not able
to verify) that the 4GB card might only allow up to 2GB capacity,
but are there any other potential issues with setting it up this
way?

I can confirm that 4GB card can be formatted as FAT16. But it leads to non-standard 64K cluster size. So, it might work. And it might not work. It depends on the camera. But the good news are that all guys who tried had got succeeded.
Anyway, the appropriate notice has been added into wiki-FAQ.

GrAnd Regular Member • Posts: 325
Re: Sokoban!?!

I have the solution for the first 52 levels.

SteMa Senior Member • Posts: 1,100
dumpers

Any thought when ixus cams like the ixus800is (sd700) will have a dumper, I would gladly run it on mine, in hope of a chdk support for my cam

Frank43 Senior Member • Posts: 1,912
Re: Sokoban!?!

GrAnd wrote:

I have the solution for the first 52 levels.

Wow!

Did you solve them or did you find them?
Do you have a reference somewhere? I think I need to cheat a little.
Is there a Basic source code that I could run on my PC?
Thanks, this game is a fantastic brain teaser.

Frank.

manpower New Member • Posts: 14
Re: S2 IS

Hi, I´m spanish, sorry by my english. Are there any firmware or CHDK for the Canon S2 IS?? Where I can download?? I have tried with CHDK for S3 why Canon S2 IS use DIGIC II too. But don´t work.
Thanks.

Frank43 Senior Member • Posts: 1,912
Which features to you use the most?

It might be useful for GrAnd if we rank the features that we use the most and If we specify which feature would alone have justified the hack and which features we never use.

Here is my ranking:

1 - Battery meter - alone would justify the hack

2 - RAW - alone would justify the hack. Although I usually turn it off because it is too slow to use all the time. RAW makes Continuous mode unusable and I am often in Continuous mode. I am waiting for the option to have the first shot RAW and the rest as fast. I do like the ability to define the RAW names and the fact that the numbering matches the JPG.

3 - Control of OSD layout - I might not have used the hack if I could not turn-off some of the extra displays.

4 - File Browser

5 - Calendar

6 - Manual focus with zoom lever - would have been close to the top if I was using manual focus more.

7 - Focus distance - I should learn to use it more to make sure that I am not focusing on the background in difficult situations.

8 - Games

9 - Zoom value

I do not use the DOF information for now, but I see its tremendous usefulness for landscape photography.

A lot of development effort has gone into the various forms of histograms. For some type of photography it could be essential. For me, the original histogram of the S3 is sufficient.

Scripts have a lot of potential although I am not using them for now. I just made one simple script to avoid the long delay that could come inadvertantly with the default script.

I do not use the file reader.

It is an incredibly rich package. I think Canon could learn many things by looking into it. A camera becomes more of a personal computer than a predefined appliance. Even their most advanced and expensive cameras do not offer many of the fetureas available in this hack.

Frank

teeb Junior Member • Posts: 47
Re: S2 IS

There is no chdk for the S2 IS yet (someone is working on it), but there is a raw-enabler:
http://digicanon.narod.ru/rawenabler.htm

 teeb's gear list:teeb's gear list
Pentax K-5 Pentax K-3 Pentax K-1
manpower New Member • Posts: 14
Re: S2 IS

Thanks. Can this Raw enabler touch the original firmware?

GrAnd Regular Member • Posts: 325
Re: S2 IS

manpower wrote:

Thanks. Can this Raw enabler touch the original firmware?

It does not touch the original firmware. This RAW enabler is the predecessor of CHDK and based on the same methodology.

ursamajorRO
ursamajorRO Regular Member • Posts: 267
Re: request?

GrAnd excuse me if I am annoying, but I want to know if it is possible to save ONLY RAW (selectable + - JPG) in the manual modes and ONLY JPG (or plus RAW) in AUTO mode? And of course, the hack to memorize that settings...
Thank you.

 ursamajorRO's gear list:ursamajorRO's gear list
Fujifilm FinePix F40fd Canon PowerShot SX510 HS Canon EOS 550D Olympus PEN E-PL3 Canon EF 50mm f/1.8 II +5 more
Keyboard shortcuts:
FForum MMy threads