Académique Documents
Professionnel Documents
Culture Documents
0 User Manual
TableofConents
Introduction............................................................................................................................1
ImportantDisclaimer..............................................................................................................3
UsingCHDK............................................................................................................................4
LoadingCHDK...............................................................................................................4
Firmwareupdatemethod..........................................................................................4
BootableSDCardmethod.........................................................................................5
HasCHDKbeenloaded?............................................................................................5
Itsrunning!What'snext?..........................................................................................5
<ALT>Mode.................................................................................................................5
CHDKMainMenu...................................................................................................................7
EnhancedPhotoOperations...........................................................................................7
DisableOverrides.......................................................................................................7
OverrideTv................................................................................................................8
OverrideAperture......................................................................................................8
OverrideISOvalue....................................................................................................9
OverrideSubjectDistance..........................................................................................9
EnableFastEVSwitch?............................................................................................10
AutoFlash+Exp.Comp.........................................................................................10
ManualFlash+Power............................................................................................10
NDfilterstate..........................................................................................................11
DarkFrameSubtraction...........................................................................................12
OverrideJPEGQuality.............................................................................................12
BracketinginContinuousMode..............................................................................12
CustomAutoISO.....................................................................................................15
CustomCurves.........................................................................................................17
DisableOverridesonStartup...................................................................................18
VideoParameters.........................................................................................................19
VideoMode..............................................................................................................19
VideoBitrate............................................................................................................19
VideoQuality...........................................................................................................19
Videowithouttimelimit..........................................................................................19
ClearVideoParamsonStart?..................................................................................20
FastVideoControl...................................................................................................20
VideoQualityControl?...........................................................................................20
EnableOpticalZoom...............................................................................................20
MuteDuringZooming.............................................................................................20
AFkey......................................................................................................................20
ShowRemainingVideotime.....................................................................................21
RefreshRate(~sec).................................................................................................21
RAW(digitalnegative)................................................................................................22
SaveRaw.................................................................................................................22
Exceptions................................................................................................................22
OnlyFirstRAWinSeries.........................................................................................23
RAWFilePrefix........................................................................................................23
RAWFileExtension.................................................................................................23
RAWsubtractextension...........................................................................................23
II
RAWdevelop...........................................................................................................24
Manualbadpixelremoval.......................................................................................24
RAWbuffercached..................................................................................................25
Showrawsavingtime..............................................................................................26
DNGformat.............................................................................................................26
DNGfileextension...................................................................................................27
DNGversion.............................................................................................................27
Createbadpixel.bin..................................................................................................27
EdgeOverlay(panoramatool).....................................................................................27
EnableEdgeOverlay................................................................................................28
FilterEdges..............................................................................................................28
PanoramaMode.......................................................................................................28
Panooverlap(%).....................................................................................................28
Alwaysshow............................................................................................................29
Edgeoverlaythreshold............................................................................................29
EnableinPlay..........................................................................................................29
SaveEdgeOverlay...................................................................................................29
Load+SetZoom.......................................................................................................29
LoadEdgeOverlay...................................................................................................29
Histogram(exposuregraph)........................................................................................30
Showlivehistogram................................................................................................31
HistogramLayout....................................................................................................31
HistogramMode......................................................................................................32
Showhistogramover/underEXP.............................................................................32
Ignoreboundarypeaks............................................................................................33
AutoMagnify...........................................................................................................33
ShowHistoEvGrid..................................................................................................33
Zebra(showover&underexposure)..........................................................................34
DrawZebra..............................................................................................................34
Zebramode..............................................................................................................34
UnderExposureThreshold.......................................................................................34
OverExposurethreshold..........................................................................................35
RestoreOriginalScreen...........................................................................................35
RestoreOSD............................................................................................................35
DrawOverZebra.....................................................................................................35
RGBzebra(overexp.only)......................................................................................35
Scripting(programyourcamera)................................................................................36
LoadScriptfromFile...............................................................................................36
Scriptshootdelay(.1s)............................................................................................37
Autostart..................................................................................................................37
RestartLuaonerror.................................................................................................37
Loaddefaultparamvalues.......................................................................................37
Parameterset...........................................................................................................37
Saveparams.............................................................................................................37
CHDKSettings..............................................................................................................38
OSDParameters.......................................................................................................38
ShowOSD...........................................................................................................38
ShowStateDisplays............................................................................................38
III
ShowTemperature..............................................................................................39
InFahrenheit.......................................................................................................39
ShowUSBinfo.....................................................................................................39
MiscellaneousValues...........................................................................................39
DOFCalculator....................................................................................................42
Raw.....................................................................................................................43
Battery.................................................................................................................44
Filespace..............................................................................................................44
Clock....................................................................................................................46
ShowOSDinReviewMode.................................................................................46
OSDLayoutEditor...................................................................................................47
ColorSettings..........................................................................................................47
MenuSettings..........................................................................................................49
UserMenuEnable...............................................................................................49
UserMenuasRoot..............................................................................................49
UserMenuEdit....................................................................................................49
CenterMenu........................................................................................................50
Autoselect1stentry@menu.............................................................................50
Show<ALT>HelpScreen..................................................................................50
HelpScreenDelay...............................................................................................50
Language&Fonts................................................................................................50
Grid..........................................................................................................................51
RemoteParameters..................................................................................................51
EnableHalfpressShortcutKeys..............................................................................52
ShowSplashScreenonLoad...................................................................................52
Startupsound..........................................................................................................52
<ALT>ModeButton..............................................................................................52
DisableLCDOff.......................................................................................................52
ResetOptionstoDefault..........................................................................................52
MiscellaneousStuff......................................................................................................53
FileBrowser.............................................................................................................53
Calendar..................................................................................................................56
Textfilereader........................................................................................................56
Games......................................................................................................................57
Console....................................................................................................................57
Flashlight.................................................................................................................57
ShowBuildInfo.......................................................................................................57
ShowMemoryinfo..................................................................................................57
EnableLuaNativeCalls'...........................................................................................58
SDCard...................................................................................................................58
Createcardwithtwopartitions...........................................................................58
Makecardbootable.............................................................................................59
Swappartitions...................................................................................................59
EyeFi........................................................................................................................59
Availablenetworks..............................................................................................59
Configurednetworks...........................................................................................59
Forceeyefiwlanoff.............................................................................................59
Forceeyefiwlanon.............................................................................................60
IV
Debug......................................................................................................................60
Debugdatadisplay..............................................................................................60
PropCase/ParamsDatapage..............................................................................60
Taskliststart.......................................................................................................60
ShowMiscValues................................................................................................61
Memorybrowser.................................................................................................61
Benchmark..........................................................................................................61
ALT+/debugaction.........................................................................................61
RAMDump..........................................................................................................61
SaveROMCrashLog...........................................................................................61
CHDKtoPCInterfaceviaPTP..............................................................................................62
CCHDK2.CFG........................................................................................................................63
OSDMap(Diagram).............................................................................................................64
KeyShortcuts........................................................................................................................65
Acknowledgements...............................................................................................................67
GPLlicenseinformation........................................................................................................68
Introduction
What is CHDK?
Canon Hack Development Kit
CHDK is a unique software application developed by enthusiasts that enables extra
features for ported Canon "Point&Shoot" cameras. (Note:itwillnotrunon
DSLRcameras).
What can it do? CHDK enhances the capabilities of your camera in a non-destructive,
non-permanent way.
After loading CHDK, your camera will have the following extra functionality:
Shutter-priority (Tv)
exposure - via shutter
value override feature
Aperture-priority (Av)
exposure - via aperture
value override feature
Shooting in RAW, with
RAW Average, RAW
Sum, and RAW Develop
features
DNG (Digital Negative)
in camera conversion,
and USB download
options
Bracketing -Tv, Av, ISO,
and Focus bracketing,
using scripts, or in
continuous or custom
timer modes
Live histogram (RGB,
blended, luminance and
for each RGB channel)
Zebra mode (a live view
of over and underexposed areas of your
picture) for many
cameras
Depth-of-field (DOF)calculator, Hyperfocalcalculator with instant
Hyperfocal and Infinity
higher
High-speed Flash Sync at
all speeds up to 1/64,000
second
Custom, user-editable
visible grids for framing,
cropping, and alignment
(not all cameras)
Motion-detection trigger
- automatically fires
camera on motion
detection. - Ability to
capture lightning strikes.
File browser
Calendar
Elimination of 1 Gig
video-size limit (for most
DIGIC II cameras)
Zoom during video
function - for cameras
without this feature
Shutter, Aperture, and
ISO Overrides
Ultra-long shutter speeds
- at least up to 64
seconds - and longer for
supported cameras
Ultra-fast shutter speeds
- up to 1/10,000" and
Text reader
Text editor
Games
Fully customizable
CHDK display, info
placement, user colors,
fonts in menus, etc.
Multi-language Interface
- CHDK supports many
languages
Custom CHDK User
Menu - for instant recall
of up to 10 favorite
functions
Scripts execution including intervalometer,
motion detection, etc
And many others.
These new features are accessed through CHDK-specific menus, rather than the default
camera menus. As CHDK is continually evolving, new features are added as they are
developed. Updating occasionally will ensure you have all the latest features for your
camera.
How is all this possible? Firstly, by the skill, persistence, and generosity of the
developers, and other contributors to the CHDK project. Secondly, in the same way that
your computer hardware runs an operating system, such as Windows, Mac OS, or Linux,
your Canon camera also has an operating system in it. And in the same way that the OS
runs Photoshop or Zoombrowser on your computer, the OS in your camera is also able to
run programs such as CHDK.
Does CHDK permanently alter the camera? No. CHDK is simply software. Just like
a computer, when the camera is turned off all the software disappears from memory until
it is turned on again and CHDK is reloaded. Also like some software, there is an option to
automatically start CHDK when the camera starts ("booting").
How does CHDK get on the camera? In the same way that you install Photoshop or
Zoombrowser onto a computer (by copying the software onto your hard drive from, say, a
CD) CHDK is installed by copying the CHDK software onto one of the cameras "drives" the SD flash memory card.
How does CHDK software get copied to the flash card? CHDK can be copied to
your SD flash card using a file manager such as Windows Explorer. A card reader is used to
connect the SD flash card to your computer. Once connected, the SD flash card appears
like any other hard drive on the computer. Your printer may contain a usable card reader.
Card readers are fairly inexpensive, and can simplify transferring of files, and thus files can
be transferred via USB. See also: Raw Parameters, and DNG visible via USB.
Where can CHDK software be downloaded? Visit this Wiki : Prepare your SD card
to learn how do to find the correct CHDK version for your camera and how to prepare your
SD card to use it. If this is your first time using CHDK, it is strongly recommended that you
use the STICK Utility to download CHDK and setup your SD card.
Thanks to the Authors
Many thanks go to all the contributing writers over the past few years, please see
Acknowledgements at bottom of this page
Important Disclaimer
This CHDK User Manual is FOR INFORMATIONAL PURPOSES ONLY, and
offered WITHOUT ANY WARRANTY, without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. The
information offered is for experimental application.
CHDK is experimental! CHDK comes with no warranty for any use - use it at
your own risk.
Before downloading and using the CHDK software, careful consideration should be given
to the following:
Usually the first question is: Can CHDK damage your camera?
The short answer: It is unlikely, but theoretically possible. CHDK is created by reverse
engineering an undocumented system that directly controls the hardware. Because of this,
it is impossible to be certain that it is completely safe.
The long answer: It is very unlikely that CHDK will permanently harm your camera. There
have been no confirmed reports of CHDK damaging a camera, and both the original
rmware and the CHDK developers use safeguards to prevent situations where this could
happen. There is a wiki page where suspected issues with CHDK can be documented :
Camera failures suspected to be caused by CHDK
There are at least two ways in which CHDK could theoretically do damage:
1. By commanding physical hardware to do something it was not designed to do. For
example, it is possible to command the lens hardware to move when the lens is
closed. It is also possible to move lens hardware beyond limits allowed by Canon's
rmware, using scripts, or overrides. For an example of this, see Tele-Super-Macro
Mode Comments.
2. By overwriting the internal ash ROM where the Canon rmware is kept, rendering
the camera un-bootable. Since CHDK is never intended to write directly to internal
ash, it would take an extremely unlikely sequence of events for this to happen.
It is worth noting that neither of these cases has resulted in actual damage, and both would
require direct input from the user. If you are concerned about this, the risk can be
minimized by avoiding untested developmental builds (such as test builds posted on the
forum) and being selective about what scripts you run.
One more thing: There are tens of thousands of satisfied users all around the world
enjoying the benefits of CHDK.
See also GPL license information below.
Using CHDK
Once CHDK is installed, you will need to start it on your camera. As explained earlier,
CHDK does not actually change your firmware, so it must be started each time the camera
runs.
Loading CHDK
There are two methods of loading CHDK: The Firmware Update method and the
Bootable SD card method. Both methods are fully described on the Prepare your SD
card wiki page.
Firmware update method
Use this method to load CHDK once, manually. If this method is used, CHDK will be
unloaded when the camera is powered off, and you will need to repeat the steps each time
you want to use it. This is a good method if you just want to try CHDK out, or only use
CHDK occasionally. Despite using the Canon Firmware update menu, it does not update
the firmware.
Start the camera in playback mode. On cameras that with a distinct PLAY button
(usually a blue triangle) use that to power the camera on instead of the power
button. On cameras with a play/record switch, ensure it is in the PLAY position.
If the firmware update option does not appear, there are a few common causes
The camera was started in record (picture taking) mode. Switching to playback after
starting in record mode does not enable the firmware update menu, the camera
must be started in playback mode.
The CHDK port for the camera does not support this method. Check the wiki page
for your camera model. If this method is not supported, you can use the bootable SD
card method.
The files were not correctly installed on the card. If you installed from a Mac, be
sure to check FAQ/Mac#Still Having Trouble?
Bootable SD Card method
Use this method if you want CHDK to run every time you start your camera. The steps
needed to use this method depend on the camera, type of card and OS of the PC used to
install CHDK. See Prepare your SD card for details. After the card is prepared, CHDK will
load automatically when the camera starts if the card is locked. To disable CHDK
temporarily, just unlock the card.
Has CHDK been loaded?
When CHDK starts, this splash screen
appears on the LCD for about 2 seconds,
showing CHDK is loading to the cameras
memory. (The splash screen can be disabled
in Main Menu > CHDK Settings ).
Its running! What's next?
When the splash screen is cleared, CHDK will
be running in the background. Some features
are enabled by default, for example, the
battery and memory indicators. However, most features are inactive by default.
To make changes to how CHDK operates, you start by entering <ALT> mode.
<ALT> Mode
When <ALT> mode is enabled the function of certain buttons on the camera will change,
allowing you to start accessing CHDK features. For example, pressing the FUNC.SET
button will display the CHDK Script menu, rather than the usual function associated with
FUNC.SET
There are different ways to enter <ALT> mode, depending on the style of camera and how
it was configured for CHDK operation. For <ALT> mode, try one of these key
combinations :
Note:ChecktheCHDKWikipageforyourspecificcamera'sCHDK
features.ForinstancetheMODEbuttonfor<ALT>oncertainmodels
maybelistedthere.Ifitsnot,pleasefeelfreetoupdatethe
informationonthatpage.
When you enter <ALT> mode, the indicator
will appear at the bottom middle of the
OSD. In <ALT> mode you can now use CHDK Scripts, and also enter the CHDK Main
Menu. When you have finished customizing how CHDK operates, and/or using scripts,
press the <ALT> mode button to exit <ALT> mode. You can now use the camera to take
photos or video, and its operation will be changed by the options you set in CHDK. . . .
Remember - unless you are running a script, you must exit <ALT> mode to actually take
photos. Any overrides you have selective will be active once you leave <ALT>mode.
This last point should be emphasized by itself: you must exit <ALT> mode to
take photos normally !
And another final point : you must also switch the camera from playback
mode to shooting mode to take pictures.
10
Will override the flash power setting when then camera exposure control decides to fire the
flash - especially if the camera is setup to force the flash to fire. Because there is no
preflash with manual flash, force manual flash can be used to advantage when using slave
flash equipment.
By always performing a dark-frame subtraction the noise caused by the hot-pixels will be
removed from any image. There will be an increase in processing time equal to twice the
shutter open time.
Override JPEG Quality
[ Off, Superne, Fine, Normal ]
Allows you to override the JPG quality setting selected in the Canon menus. Some cameras
do not allow a "Superfine" setting in the Canon menus so this menu item allows you to
select "Superfine". Actual quality changes in Superfine mode are camera dependent.
Bracketing in Continuous Mode
Bracketingfeaturesareenabledwhenthecameradrivemodeisset
tocontinuousorwithcustomtimeronsomemodels.Fornewer
camerasyoucanusealsothehighspeedburstmode.
Bracketing is the practice of making several
exposures of a scene, with each exposure
differing from the next by predetermined steps
in exposure or focus settings. Bracketing is used
to easily capture a range of exposures so that
the best exposure can be selected at a later time.
Bracketing is also used to create a series of
exposures which will be combined using
methods such as HDR processing. In order for
bracketing to work, the camera must be in
continuous mode, or the custom timer is set to
take more than one shot. The sequence stops
when the shutter is released in continuous
mode, or the number of shots set for the custom timer is reached.
12
13
Bracketing type
[+/-, -, +]
BRACKET in the OSD. With all bracketing types the first exposure uses the current
exposure settings of the camera. The exposure settings are adjusted as follows:
+/This bracketing type will alternatively apply the bracketing value by first
increasing then decreasing the exposure value like this: 0 Ev, +1Ev,
-1Ev, +2Ev, -2Ev, etc. Bracketing will continue until the shutter is released,
or the number of shots set for the custom timer is reached. For example,
TV bracketing is set to "1 Ev", and, when the shutter is half-pressed, an
exposure time of 1 s is registered. When the shutter is fully pressed the
exposures will be at these shutter speeds: 1 s, 1/2 s, 2 s, 1/4 s, 4 s, etc.
+
This bracketing type works as above but will only increase the exposure
value. Using the above example, the exposure times would be 1 s, 2 s, 4 s,
etc. Once the cameras limit is reached, subsequent exposures will occur at
the maximum setting.
This bracketing type works as above but will only decrease the exposure
value. Using the above example, the exposure times would be 1 s, 1/2 s, 1/4
s, etc. Once the cameras limit is reached, subsequent exposures will occur
at the minimum setting.
14
Auto - This is for use when photographing still-life, landscapes, etc. It will use the
factors below to prevent camera shake, but will assume the subject holds still.
Numerical setting - hint to the camera what the optimal shutter speed is for the
subject you are photographing.
15
The camera will try to use this value or a faster one as much as possible (to prevent
blur), e.g.
1/8s - 1/30s - Slow moving subjects.
1/60s - 1/125s - Kids, Pets, general movement
1/250s - 1/1000s - Sports, Fast action.
User Factor (1/FL/factor)
[1-8]
This setting is only used if Mimimum Shutter Speed is set to Auto mode. It accounts
for the users ability to hold the camera steady. It is based on the old rule that the
shutter speed should be no less than 1/focal-length. Start by dividing the effective
focal length of the lens by the actual focal length. The answer is generally somewhere
around 6. Then increase or reduce this amount by a self-assessed value of your
steadiness. If you think your hands are steadier than average then decrease by 20%. If
you think youre shaky then increase by 20%.
IS Factor (Tv*factor)
[1-8]
This setting is only used if Mimimum Shutter Speed is set to Auto mode. In
determining the ISO setting, the effectiveness of the IS system will be taken into
account. Use a setting of 4 if the IS is effective enough to give you a two-stop
reduction in shutter speed. Use a setting of 2 if the IS isnt very effective, or 8 if the IS
is very effective.
Min ISO
[10-200]
Sets the minimum "Auto" ISO that the camera can select.
Max ISO Auto
[100-3200]
Sets the maximum ISO that the camera can select when operating in "Auto" ISO
mode.
Max ISO HI
[200-3200]
Sets the maximum ISO that the camera can select when operating in "HI" ISO mode.
Fallback Min. Shutter Speed
[Off, 1/4 s to 1/1000 s]
If the shutter speed & ISO cannot be held within the range specified above, this
setting will be used as an alternate minimum shutter speed setting.
Setting this value to Off will disable the use of the alternative values.
16
17
The following three options require that you have a SYSCURVES.CVF file in your /CHDK
folder on the SD card. This file is included in the "full" CHDK packages and can also be
obtained from this link: CurveUpdate.zip (which also contains a curve editor).
+1EV - Increases shadow detail by 1EV step.
+2EV - Increases shadow detail by 2EV steps.
Auto DR (auto dynamic range):
Auto DR with Zebra is intended to be used for the direct application of the curves to the
shot - not for post processing (the feature is a mimic of the Fuji S100 +200, +400 Dynamic
Range). The workflow is:
1. Activate Zebra display
2. Activate Auto DR
3. Use the camera EV negative compensation to reduce the Zebra overblown highlights
shown on screen. You can use the (+/-) button on the back of the camera.
4. Take the shot. You will directly get the JPG without post processing. The luminance
of the darker areas will be raised while the highlight is compressed. During the RAW
develop process, you need to set the EV comp. to the value that you used to reduce
the highlight blown out when you took the RAW. Care should be taken with in
camera develop since it is a tricky art there (for White Balance issues in particular).
If the scene does not require you to reduce exposure to avoid blown highlights, the
Auto DR feature does not do anything.
Load Curve Profile
Load your desired curve profile from the \CHDK\CURVES folder. All curve profile files
except for SYSCURVES.CVF should be in that folder.
18
Video Parameters
The Video Parameters menu is used to configure all aspects of recording video using
CHDK overrides.
Video Mode
[ Bitrate or Quality ]
Bitrate dictates a constant data rate. Video
compression (and hence, video quality)
expands or contracts as necessary to maintain
the data rate constant.
Quality Sets a constant compression level,
ensuring a defined level of quality regardless of
how much data that level requires.
Note1:FromownersreportsoftestingQualityoverrides,itis
evidentthatsettingsabovethestandardCanonsettinggainlittle
ifanyhigherquality.Howeverfilesizeswillincrease
significantly.Lowersettingswillloselittleinqualitybutwill
reducefilesize.
Note2:Bitratecontrolisnotavailableonallacameras.Ifnot
available,theoptionswillbeQualityandDefault.Bitrateand
Qualitysettingsthataresettoohighcancausememorybuffer
overload,andstoprecording,ared!willshowontheOSD.Also
alowqualitysetting,orneartofull/fragmentedSDcards,can
haveaneffectonthesesettings.
Video Bitrate
[ 0.25, 0.5, 0.75, 1, 1.25, 1.5, 1.75, 2, 2.5, 3 ]
The compression factor for Bitrate compression. 0.25 is the most compressed / least
quality and 3 is the least compressed/best quality.
Video Quality
[ 1 - 99 ]
The compression factor for Quality compression. 1 is the most compressed / least quality
and 99 is the least compressed / best quality.(Roughly ~70 - 80 is Canon equivalent).
Video without time limit
If available for your camera, enables byassing of the built-in time limits on video recording.
Note that this will not bypass the 4G video file size limit.
19
Only a few cameras are supported. Pause and unpause video by pressing LEFT / RIGHT
while recording. Note:Whenusingthisfunctiontheremainingvideo
recordtimecalculationisreset,sothechangeisshown
immediatelyintheOSD.
Video Quality Control ?
Enable [?] / Disable [ ]
When enabled, using the UP / DOWN button will increase or decrease video quality or bitrate (depends on which one is enabled in the Video Mode override) - While you are
recording.
Enable Optical Zoom
Enable [?] / Disable [ ]
This feature allows you to use the cameras optical zoom during video recordings.
20
21
22
23
RAW develop
This feature is used to process a CHDK RAW file and create a JPEG from it. When selected,
a file browser window is displayed, Select a RAW file and press FUNC/SET, then the
message 'Switch Camera to Record Mode and take one shot' displays, Press FUNC/SET
again to back out of this menu, then use the <ALT> button to exit <ALT> mode. Press the
shutter button, instead of taking an image, it will process that selected RAW le and make
a JPEG le from it, that will be named according to whatever last JPEG lename is in that
folder and increment it by one (1). Remember that the EXIF data on this new JPEG le will
not reect the original RAW le. It will use whatever camera settings were available at the
time that you take the RAW Developing shot for the resulting EXIF data.
Notes:
This feature only works with CHDK raw or DNG, not Canon native raw.
If the Canon "I-Contrast" feature is on when using raw develop, you may see "ghost
image" artifacts in the resulting jpeg.
White balance and image processing for the jpeg will occur with the cameras
current settings. So, for example, you can use the MyColors settings to create Vivid
and Sepia versions of the same image, or simply tweak the sharpness or contrast,
and other settings. Normally, you would have to set MyColors before the image is
taken, and you would get only one image. In effect, RAW files can be kept as
'Masters' to develop from as desired, and to experiment with settings.
See also > File browser for RAW Merge.
Manual bad pixel removal
[ Off, Average, RAWconv ]
The CHDK Manual bad pixel removal tool allows the removal of defective pixels from each
image as it is taken. While Canon firmware will automatically fix bad pixels that were
found when the camera was manufactured, this CHDK feature will also remove "hot" or
"defective" pixels which are not known to the Canon firmware (e.g. pixels that became
defective during the camera lifetime). This feature affects both the JPG image and RAW image.
The first step in enabling bad pixel removal is to create a badpixel file. (Note:thisis
notthebadpixel.binfileusedforDNGfilecreation). This text file
should contain a list of the coordinates of all bad pixels to be fixed. To create this file, you
will need to capture a "dark frame" image by shooting an image with the lens completely
capped. For shutter speeds longer than 2 seconds, you may want to keep a collection of
"dark frame" image on hand for each exposure length that you will be using in the future,
as more warm and hot-pixels appear with extended shutter speeds. Convert your dark
frame images to a list of the bad / defective pixels using the show_bad tool from here:
show_bad direct download
CHDK repository tools section
24
NOTEthistoolonlysupportsrawfilesfromafewoldcameras.
Ifyourcameraisnotsupported,youwillneedtomodifythe
sourceorfindanotherwaytogeneratethefile.
Read more about this program & how to use it here: Hot/bad pixel removal
Once you have generated a file with the list of all the "bad" pixels for your camera, CHDK
can remove them automatically with the [Average] or [RAWConv] option selected. CHDK
looks for the files badpixel and badpixel.txt in the /CHDK folder; this is a plain text file
with coordinates of the bad pixels in the raw image, with one x,y pair per line. If both files
are present, pixels listed in each file will be patched. Only the first 8kb of each file will be
used.
[Off] with this setting no Bad pixel removal processing takes place.
[Average] with this setting CHDK calculates the color for the bad pixel based on its four
neighbor pixels with a simple average calculation and then interpolates - bad neighbor
pixels will be ignored in this calculation.
[RawConv] setting means - intended for use with post processing raw converter software
to remove the bad pixels later in the workow. With this setting CHDK just sets the bad
pixel to the value 0 (zero), without any other calculation or modication. Most RAWcapable apps. will detect this and apply their own algorithms. This option is ignored in
DNG mode (in DNG mode bad pixels are always averaged by CHDK).
Quote from senior developer ewavr - You can compare bad pixel removal quality in both
modes, IMO, 'RAWConv' mode is preferred, because CHDK interpolation is very
unsophisticated.
Note:WithDNGformatenabled,badpixelsidentiedby
badpixel.binarealwaysremoved(interpolated/averaged)by
CHDK.Thisdoesnotaffectthe'Badpixelremoval'option,which
alsoxesuserspeciedpixels.
Forum discussion: http://chdk.setepontos.com/index.php?
topic=3098.msg28955#msg28955 re: 'Average' and 'RAWconv'
RAW buffer cached
Enable [?] / Disable [ ]
When enabled, CPU cache is used while processing raw data for DNG. This is faster, but
could theoretically lead to a small amount of data being incorrect. In practice, there seems
to be no negative effect and should always be enabled except for debugging.
25
DNG format
Enable [?] / Disable [ ]
Save RAW in DNG format directly in the
camera. This format can be read by many image
editing programs. Also includes meta-data like
EXIF and whitebalance / color matrix
information. The DNG files created have the
same file extension as described in RAW, and
can be reset manually to DNG. There is also an
automatic function to rename for most cameras
in the CHDK RAW menu. DNG format is now
the preferred method of CHDK RAW capture.
To enable this option the first time, as described
above, a special file BADPIXEL.BIN must be
generated and stored on the memory card once. This camera specific binary file contains
information about the sensor pixels which were marked as defective by the manufacturer.
Note:WithDNGformatenabled,badpixelsinbadpixel.binare
alwaysremoved(interpolated/averaged)byCHDK.Thisdoes
notaffectthe"Badpixelremoval"option,whichfixesuser
specifiedpixels.
There are two ways to create this BADPIXEL.BIN file:
in the camera, using "Create badpixel.bin" from the raw menu: (See Create
badpixel.bin below)
and with a little software tool - read about it here > Badpixel removal
26
27
Always show
Enable [?] / Disable [ ]
When enabled, the Edge overlay will be visible even without half-pressing the shutter
button.
Edge overlay threshold
[ 0 - 255 ]
This setting adjusts the Edge-overlay sensitivity. Lower values create edges along lower
contrast / lower-brightness edges, but can potentially cause more noise. Higher values
create edges only on the highest contrast/ brightest boundaries, and therefore fewer, finer,
and more well defined lines. The downside of using higher values is that some edges might
be missed. In general, lower values are more useful with low-light scenes, while higher
values are more useful with bright scenes. If you get too much noise, try the Filter edges
option.
Enable in Play
Enable [?] / Disable [ ]
When enabled, the Edge overlay will be visible during canmera playback mode.
Save Edge Overlay
Saving an Edge overlay allows you to recall it at a later time even if the camera was
switched off. Note that you can only save an overlay while it is frozen. After creating an
overlay, navigate to this Menu item and press FUNC.SET to save.
Load+Set Zoom
Enable [?] / Disable [ ]
This option will cause the zoom to move to the same position used when the overlay was
stored when an edge overlay file is loaded.
Load Edge Overlay
Opens a file browser menu to let you select a previously stored edge overlay file.
Notes :To move an overlay - with a loaded overlay rst switch to <ALT> mode, then press
a Directional button
to move the overlay continuously until release of the button,
or click the button to move in steps. It is be advisable to make a log of the saved edge
overlays, keeping a description together with the le number and date of the le, to keep
track of them over time, perhaps adding GPS information as well.
29
30
31
RGB
RGB Y
RGB all
Y all
RGB
Blend
Blend Y
Histogram Mode
[Linear, Log]
Determines how the Y-axis (vertical) of the histogram will be scaled. Log mode is
useful for scenes with a large amount of a single color, such as an overcast sky (lots of
gray.)
Show histogram over/under EXP
Enable [?] / Disable [ ]
EXP in on-screen display. If parts of a scene are over or under exposed, then this
setting will display "EXP" above the histogram, and a red dot at the end that indicates
exceeding exposure limits.
32
In this example the red dots show the image is both over and under
exposed (the scene has a very wide dynamic range).
Ignore boundary peaks
[0 32]
Another tool for controlling the scaling of the histogram. If you know that the scene
will contain large amounts of black or white (e.g a moon shot) you can set how many
levels from the left or right edges of the histogram to ignore, if those levels peak in the
histogram. This will increase the visibility of the smaller portion of the histogram.
Auto Magnify
Enable [?] / Disable [ ]
N.NNx in on-screen display. Another tool for controlling the scaling of the histogram.
This option will magnify the Y-axis (vertical) if less than 20% of the histogram area is
filled. The purpose of this function is to make the histogram easier to read when there
are very tall peaks. This function lies somewhere between the Linear and Log options
above. A red dot over a peak indicates that its been clipped due to the magnification.
The amount of magnification applied is displayed over the histogram.
No Magnification
With magnification
Show Histo Ev Grid
Enable [?] / Disable [ ]
Adds 4 or 5 vertical lines to the histogram dividing the histogram by full stops.
EV Grid Enabled
33
Solid coverage
UnderExposure Threshold
[0 32]
Controls the sensitivity of exposure indication. 0 is less sensitive and 32 is very
sensitive.
34
OverExposure threshold
[0 32]
Controls the sensitivity of exposure indication. 0 is less sensitive and 32 is very
sensitive.
Restore Original Screen
Enable [?] / Disable [ ]
This option only applies to Zebra Blink modes. When exposure indicators are visible,
all of the original Canon indicators are erased. When this option is enabled, the
original Canon screen items (such as exposure) are redrawn between blinks.
Restore OSD
Enable [?] / Disable [ ]
This option only applies to Zebra Blink modes. When exposure indicators are visible,
all of the CHDK half-shutter indicators are erased. When this option is enabled, the
CHDK half-shutter indicators (such as DOF calculator) are redrawn between blinks.
Draw Over Zebra
[Histo, OSD, Nothing]
This option applies to all Zebra modes. When exposure indicators are visible, nothing
else is displayed on the screen. This option specifies which additional indicators will
be drawn.
Histo Only the live histogram is drawn with the exposure indicators.
OSD The entire CHDK OSD is drawn with the exposure indicators.
Nothing Nothing else is drawn with the exposure indicators.
RGB zebra (overexp. only)
"Enable [?] / Disable [ ]
Overexposed areas are indicated by the color of the channel that is overexposed.
Underexposed areas are ignored.
35
Solid coverage
Zebra coverage
36
Setting to Once will cause the script to only run once - at the next camera restart
Setting to ALT causes the script to run when you press the ALT button (rather than
entering CHDK ALT mode). The camera will return to <ALT> mode when the script
exits.
(Hint : remember this setting ifyou see your camera operating by itself after it is turned
on.)
Restart Lua on error
The Lua programming language contains more advanced error checking that the uBASIC
language. If it detects an error condition while running, setting this value will cause the
script to restart rather than halt. Generally, its not a good idea to leave this feature
enabled.
Load default param values
Each script has up to 26 parameter that can be set from the Script menu (down at the
bottom). Selecting this menu item causes those values to reset to the default value specified
in the script.
Parameter set
[Default, 0-9]
To accommodate different shooting scenarios, CHDK allows up to 10 different sets of user
parameters to be stored and reused each time the script is loaded. Setting this value to
Default will cause the defaul values specified in the script to be used each time the script is
loaded.
Save params
When set to "On", the current values of the script parameters (perhaps adjusted by the
user) will be store in the parameter set specified above. When set to "Off", parameter
values are "locked" and will not change. Complete information about scripting can
be found here : Scripting Cross Reference Page
37
CHDK Settings
The CHDK Settings menu is used to configure
the look, feel and operation of CHDK. This
menu allows you to configure the CHDK On
Screen Display (OSD) through the selection and
positioning of on-screen information and icons
showing the current state of camera operations.
Other operating display functions can also be
configured with this menu and the menu allow
access to the setup of the CHDK USB remote
control.
OSD Parameters
Show OSD
Enable [?] / Disable [ ]
Control the visability of the CHDK On Screen
Display (OSD) Hide in ?
[ Dont , In Play , On Display , Both ]
Don't - always shows the OSD
icons/elements
In Play - hides them in playback mode
On Display - hides them when you
toggle the CANON icons on/off with the
display button (does not work for the
EVF)
Both - hides OSD in both playback and by "display button cycling", Helpful to those
who don't need the battery and other indicators in their playback screens.
Show State Displays
Enable [?] / Disable [ ]
Displays the Override, Bracketing, and Override Disabled settings in their own
positionable information area.
38
Show Temperature
[ Off, Optical, CCD, Battery, all ]
Off - No display of camera component temperatures.
Optical - Displays the temperature of the optical elements (most assume this is
used for the IS mechanism and Zoom/Focus motors). When the camera is first
turned on this will most accurately reflect the environmental temperature.
CCD - Displays the temperature of the CCD. Lets you know when it might be getting
too warm. Or when it's cold enough to take lower-noise images.
Battery - Displays the temperature of the battery compartment.
NOTE:3rdpartyLIIONbatterypacksmayalwaysreporta
constanttemperature,e.g.25Cor28C.
all - Displays all 3 values.
Note:Notallmodelshaveaseparatetemperaturesensorforeach
component,andduetodifferencesindesign,valuesreportedby
differentmodelsmaynotbedirectlycomparable.
In Fahrenheit
Enable [?] / Disable [ ]
Default is Celsius, check this for Fahrenheit.
Show USB info
[Off. Icon, Text ]
Displays either a colored icon or a text string when the USB Remote is enabled.
NOTE : when USB remote is enable, PTP connections (i.e USB connection camera/PC) are
disabled.
Miscellaneous Values
Show Misc Values
[Dont, Always, Shoot]
39
40
41
DOF Calculator
The Depth Of Field Calculator displays 5 distances in meters
SD Distance to the subject (Near Limit + DOF*0.33). Also called the Focal Plane.
NL Near Limit. The distance where acceptable sharpness begins.
FL Far Limit. The distance where acceptable sharpness ends.
DOF the Distance between the Near Limit and the Far Limit.
HYP - Hyperfocal distance
Depending on the aperture and zoom settings, the hyperfocal distance reflects the
optimal distance for an object to be photographed, i.e. the sharpness of that object
will be the sharpest at this specific distance.
Show DOF calculator
[Don't, Separat, In Misc]
Dont Disables display of the DOF calculator
Separate Displays the DOF values apart from the Misc values.
In Misc Displays the DOF values with the Misc values.
Canon Subj. Dist. as Near Limit
Enable [?] / Disable [ ]
Enabling this value affects the way the subject distance is calculated.
Use EXIF subj. Dist. (Propcase #65)
Enable [?] / Disable [ ]
Enabling this value affects the way the subject distance is calculated.
Note:Experimentationmayberequiredtoclarifythese2
precedingsettings,theywilleffectscriptcommandsthat
establishfocusandsomeothercamerabehavior,suchasfocus
bracketing.
The following 5 settings determine which DOF values will appear. When the "Show DOF
calculator" is set to "Separat", all 5 values are always displayed. When it is set to "In Misc"
then only the enabled values below are displayed as part of the Miscellaneous Values.
Show Subj. Dist. in Misc.
Enable [?] / Disable [ ]
Enable to show in Miscellaneous values on OSD.
42
43
Battery
Controls the display of the battery indicators on the LCD
Set the maximum and minimum voltages to match fully charged and discharged
battery reading. The battery icon fill color will reduce as voltage lowers and will
change to red color close to minimum voltage.
Show Battery Percent
Enable [?] / Disable [ ]
Displays text status of battery in units of 0-100%
Show Battery Voltage
Enable [?] / Disable [ ]
Displays text status of battery in units of volts
Show Battery Icon
Enable [?] / Disable [ ]
Displays a battery icon that changes color (or fill) with battery state.
Filespace
Show Filespace Icon
Enable [?] / Disable [ ]
Displays a small SD card shaped icon on the screen to show how much filespace is left on the SD
card. Opaque means remaining free space. Transparent means that space has been used. Use the
OSD Layout Editor to position the icon anywhere on the screen.
44
Width/Height
Change the width (for vertical space-bar) or height (for horizontal space-bar) in 1pixel increments.
Show Filespace in Percent
Enable [?] / Disable [ ]
Display the SD card space left in percentage of its total capacity. (Toggles
between this and the MB option.) OSD display element positionable in the OSD
Layout Editor.
Show Filespace in MB
Enable [?] / Disable [ ]
Displays the SD-card space-remaining in Megabytes. Toggles between this and
the percentage option. (see above).
Warning Unit
Don't - Don't display a warning when the free SD-card space is getting low.
Percent - Change the space remaining display to the warning color when the
percentage reaches or goes below your selected "% Threshold" (see below).
MB - Change the space remaining display to the warning color when the Megabytes
reaches or goes below your selected "MB Threshold (see below).
% Threshold
Setting used in conjunction with above "Warning Unit" feature. Set the amount of
SD-card space percentage remaining when you want that OSD element to turn to
your chosen warning color.
MB Threshold
Setting used in conjunction with the above "Warning Unit" feature. Set this to how
many megabytes when the space remaining feature turns to your chosen warning
color. Note:maybeusedinconjunctionwithahandyscriptif
youneedtorationtheamountofphotosyoutakeonalong
vacation.
45
Clock
Show Clock
Displays an OSD real-time clock.
Don't - No clock display.
Normal - Displays HH:MM
Seconds - Displays HH:MM:SS
Clock Format
12-hour or 24-hour format toggle. When 12-hour
format is used then the chosen 12-Hour Clock AM/PM indicators are enabled. Also
influences the temperature format. 12h - Fahrenheit.
12h Clock Indicator
PM- Displays AM or PM suffix on the OSD Clock
P - Shorthand version of A or P for AM and PM on the OSD Clock (to save real-estate
space). Ultra-shorthand version of AM or PM. Displays a simple "." after the time to
indicate PM, no character is displayed for AM. Examples: 10:30 = 10:30 AM, 11:15. =
11:15 PM (notethesmallperiodafterthe15).
@ Shutter Half-press Show
Shows the OSD clock during a half-press of the shutter button.....
Don't - No clock display on a half-press.
Full - Shows full clock time during half-press.
Seconds - Only counts off the seconds in the clock display during a half-press.
Helpful when doing manual timings between consecutive shots without having to
quickly call up some intervalometer script.
Show OSD in Review Mode
Displays the OSD when in REVIEW mode. Do not confuse this with Playback mode.
Review mode is when the last taken photo is temporarily being displayed as you hold down
the shutter-button (and press SET to lock it into Review Mode) or when you have the
Canon's Menu "Review" options turned on. This allows you to keep the on-screen grid and
other settings visible when reviewing the photo to see if you got the framing or other
settings as you had intended.
46
Color Settings
Change any of the display colors for all the text
and icons. If you don't change them they will
remain as their defaults. There are opaque
colors and transparent colors, and also some
"special effect" colors. Note that record mode
and playback mode use different color tables. So
it may happen that you pick a nice color in
playback mode, and in record mode it will look
totally different. But there are also colors which
will stay the same in both modes. Some
examples for A-series cameras > 0x11(white),
0xFF(black), 0x22(red), 0x55(green), 0x44
(transparent light grey).
47
Draw Palette
Shows the current color space in the current shooting
mode. Use the cursor keys to scroll around to any color
- the hex value of that color is displayed at the top of
the display.
48
Menu Settings
CHDK offers the ability to define a customized
menu of the things you use the most. This menu
can contain menu entries from other menus, the
name of favorite scripts to load and even
loadable code modules. This custom menu is
called the User Menu and it can be configured to
appear as soon as you press the <ALT> key or as
the first menu displayed when the MENU key is
pressed.
See also > CHDK User Menu Wiki Page
User Menu Enable
[ Off, On, On Direct ]
Add frequently used menu items to make a custom, easy access menu.
Off - Disables use of the User Menu
On - Enables the User Menu when in <ALT> mode and pressing [HALF-PRESS] +
MENU.
On Direct - When entering <ALT> mode the User Menu will be automatically
displayed without having to press the MENU button. The main menu can be
reached by scrolling to the top or using a HALF-PRESS + MENU shortcut keys.
User Menu as Root
Enable [?] / Disable [ ]
Toggles the behavior of the Menus when the User Menu is turned ON. When
this option is set then the User Menu will be the first one to be seen, and the
main menu may be reached by using the HALF-PRESS + MENU shortcut keys,
or just selecting the top entry "Main Menu".
User Menu Edit
Provides a full screen editor for the User Menu. When selected it opens the current
user menu. Use the UP and DOWN keys to select a current menu item. Use the
RIGHT and LEFT keys to change the position in the menu of the current menu item.
Press the Set./Disp button to bring up a pop-up box that will allow you at add or
delete items from the User Menu.
Customizing hint / reminder:- Some CHDK features require 2 or more options that
work together. An example, "Override Shutter Speed" might also need its associated
"Value Factor" selection and the "Shutter Speed Enum Type" if you frequently change
that too. Be sure to copy any related menu items together so they are still available
where you need them in your custom menu.Customizing hint / reminder:- Some
CHDK features require 2 or more options that work together. An example, "Override
Shutter Speed" might also need its associated "Value Factor" selection and the
"Shutter Speed Enum Type" if you frequently change that too. Be sure to copy any
49
related menu items together so they are still available where you need them in your
custom menu.
Center Menu
Enable [?] / Disable [ ]
Selecting this option causes each CHDK menu to automatically center vertically
and horizontally in the display region.
Auto select 1st entry @ menu
Enable [?] / Disable [ ]
Quickly position the menu-selection cursor on the first entry in any CHDK
menu. Instead of having to press once to enter the menu options it will now
start out already on the first menu option.
Show <ALT> Help Screen
Enable [?] / Disable [ ]
Enables a pop user help menu.
Help Screen Delay
[0 - 10]
Sets the delay in seconds after the
last key press before the user help
menu appears.
Language & Fonts
Language
Lets you choose another language if you
have the appropriate .lng-file in the CHDK/LANG/ folder of the SD card.
OSD codepage
Choose the Codepage [ Win1250 - 1257 ]
(Win1250 East European Latin , Win1251 Cyrillic, Win1252 West European
Latin, Win1254 Turkish , Win1257 Baltic)
Menu RBF font
Choose another font RBF format for the CHDK menus. If you have chosen a RBF font
but want to switch back to the original built-in font, just choose an "illegal" RBF font
(Try to load a uBASIC script as a RBF font, for example).
Enable Symbols
Enable [?] / Disable [ ]
Enables the display of menu symbols
Symbol Font
Lets you choose the font used to display symbols on the menus.
Select textbox charmap
Changes the character set used to display menu text boxes.
50
51
52
Miscellaneous Stuff
The Miscellaneous Stuff menu contains
the various CHDK features and
functions that don't really belong in any
of the other menus. These functions are
usually related to the mechanics of how
the CHDK program loads and operates.
Functions related to actually taking
photographs can be found in the other
CHDK menus.
File Browser
The file browser allows you to look at
the les in the various CHDK folders.
Use:
53
54
Purge RAW
This function allows RAW les to be deleted in 3
different ways...
1. Delete all RAW les in DCIM folder
including subfolders Useful when: You
keep a separate folder for RAW les. You
set up the camera to create a new folder
everyday (several days trek, holidays etc).
You want to erase the occasional
mischievous RAW le stored in a different
folder. Go to CHDK File Browser, select
DCIM folder, push the LEFT to display the
popup menu and select "Purge RAW" (See
image 1). A warning will ask you to conrm
(See image 2) and voila! You have regained
some SD space. This feature will search
through all the folders in DCIM looking for
a RAW le (CRW/CR2 prex or le
extension) and if it nds one then will look
for its JPG partner anywhere inside DCIM
(comparing the 4 digit number assigned by
the camera). If it is not found, the RAW le
is erased.
2. Delete all RAW les in a selected folder
Useful when you keep RAW les in the
same folder as JPG les, You only want to
get rid of some RAW les. (Very important shots in some other folder). You
know which folder has a lot of out-takes. Go to CHDK File Browser and inside
DCIM folder select the folder you want (E.g. "102CANON") and push the LEFT
button to display the popup menu. Select "Purge RAW". A warning will ask you
to conrm and all the RAW les in ONLY that folder will be erased. This
option works like the previous one but only on the selected Canon folder, the
rest are untouched.
3. Delete some or all RAW les in a list. Useful when You want to protect specic
RAW les (to use them later for HDR) Go to CHDK File Browser, enter DCIM
folder, enter a sub folder (E.g. "102CANON") push the LEFT to display the
popup menu. Select "Purge RAW" . A warning will ask you to conrm and all
the RAW les will be gone. Now the useful thing of this option is that you can
mark the RAW les you DON'T want to erase (protect les). The Purge RAW
function will erase the rest of the RAW les ignoring the marked ones.
55
Calendar
Yes, a calendar!
Select Year - UP/DOWN Select Month LEFT/RIGHT
Use MENU button to exit.
Text file reader
This utility can be used to read a text le stored on the
SD card. (Very convenient!, you can keep onboard
instructions.)
Open new le Displays a le browser window, opened to the CHDK/ BOOKS
directory. You can select a txt le to view. Press FUNC.SET to open the le.
Open last opened le
Will display the most recent text le that was viewed.
Select RBF font
Open the le browser in the CHDK/FONTS directory. Allows you to select a
different font for displaying text.
Codepage [Win1251, DOS] Select the text le format.
As with other menus, fonts and colours can be changed to suit all preferences.
Wrap by words Enable [?] / Disable [ ]
Enables word-wrap.
Enable autoscroll Enable [?] / Disable [ ]
When enabled the text le will scroll automatically.
Autoscroll delay (sec) [ 0 60 ]
Determines how long the system waits before scrolling the text le.
Use MENU button to exit.
56
Games
Yes, games! Choose your favourite!
Arrow buttons move
FUNC.SET- choose level (Moves counter should
be 0). Erase / +/- restart current level DISP. show 'about' info Zoom rocker - undo / redo
moves Use MENU button to exit.
If colours are not displayed properly, try entering and exiting Canon menus before
entering <ALT> mode.
Console
tbd
Flashlight
For cameras with fold out LCD. Turns the LCD panel into a flashlight! When in
Record Mode and the LCD panel is swiveled facing forward, the LCD display turns
all-white so you can see your way around in the dark, or to illuminate some close
object while setting up to take a photograph.
Show Build Info
Displays the current version of CHDK in use, ie:- 0.9.9 - 910, date May 07 2010.
Show Memory info
Displays free RAM available, also CHDK size and load address.
57
This option creates a 2 MB FAT partition on the SD card, that's xed on the code for
now. Copy the CHDK rmware extensions to this partition and load them, (The
DISKBOOT.BIN and PS.FI2 les). Then select "Make card bootable" in "Main Menu
> Miscellaneous stuff", so it does not complain when you write-protect the card. Next
step is to select "Swap partitions" in "Main Menu > Miscellaneous stuff", this will
hide this small partition and make the larger FAT32 one visible. We need to format it,
and copy CHDK les DISKBOOT.BIN and PS.FI2 to it too, so we can perform "swap
partitions" again. So format it in FAT32, copy CHDK, insert it on the camera and load
CHDK using "Firmware Update", Select "Swap partitions" and "Make card bootable",
write-protect the SD card, (lock with slider on side of SD card) and power- cycle the
camera. It should now load CHDK from the small 2 MB partition, but have access to
the larger FAT32 partition to store pictures, video and the CHDK folders.
The size of the 1st partition is fixed to 2MB in the code (not changeable in the CHDK
menu), but you can change it there and compile your own build, if you know how,
using whims CHDK Shell
Normally the creation of a partition deletes all data on the card, the swap command
should not delete any data, but you should test this first!
58
The partitions can also be created manually with a card reader on a computer, the 1st
partition must be less than 4GB and formatted with FAT16.
Make card bootable...
Option to enable auto load of CHDK at startup if there is a DISKBOOT.BIN
executable file in the root of the SD card. For cameras released prior to January 2011,
the memory card must have FAT12 or FAT16 format for the bootable partition. For
cameras released after January 2011, memory cards can use FAT32 format on the
bootable partition. Note that large cards formatted in camera will be FAT32 and so
will not boot on cameras release prior to 2012. See [ Prepare your SD card ] for more
information.
After selecting this option, turn the camera off, remove the SD card and write protect,
or 'lock', the card. Reinstall the card and CHDK should automatically load.
Swap partitions
For cameras with multi partition support. To access each partition on a multi
partition memory card, (necessary for computer OS's that will only show one
partition at a time (i.e., Windows). You must swap partitions in order to see the
DCIM folder on the computer. You then must switch back for CHDK to boot in the
camera.
EyeFi
Various functionalities related to EyeFi cards. If the card in your camera is not of the Eyefi
type you will see this menu but every action will result in some sort of error.
Available networks
Queries the card for wifi networks visible at the current location. Once the list is displayed
you can press move though it with the UP and DOWN keys and press FUNC.SET to chose
a network to register on. A textbox will allow you to enter the password. Use half-shoot to
change the character set, MENU to switch input mode.
Configured networks
Shows the list of the networks currently configured in the card. you can move through the
list with the UP and DOWN buttons. Pressing FUNC.SET you can delete a network. You
will be prompted to confirm the deletion..
Force eyefi wlan off
Turns off the wlan of the card, regardless of Canon's firmware settings
59
60
61
62
CCHDK2.CFG
A note on the CCHDK2.CFG configuration file. This file, amongst other things, saves the
settings the user has made to the CHDK Overrides, OSD elements, etc. If this file is
corrupted for whatever reason, it can cause some weird behavior from CHDK camera
settings. So to test for this, find and rename the file so a new one will be created at the next
start-up. If this eliminates the erratic behavior the old file can be deleted. Remember
though, all your personal settings will be gone. It is advisable to keep a copy of a known
good CCHDK2.CFG file from your camera version to use as a replacement for a corrupted
one, and to add it to other SD cards for that camera, to have them ready with your
preferred settings. The file is found at /CHDK/CCHDK2.CFG on the SD card.
Note that previous version of CHDK used configuration files called CCHDK.CFG and
CCHDK1.CFG
CCHDK2.CFG can be edited with the application CFGEDIT - available at >
http://www.zenoshrdlu.com/zips/CFGEDIT.jar
63
64
Key Shortcuts
While in <ALT> mode the following buttons are reassigned:
A Series,SX130 [+/-] Toggles RAW capture mode
G Series AF Frame Selector/Erase Toggles RAW capture mode
S Series FUNC.SET Toggles RAW capture mode
SD/IXUS Series DISP. Toggles RAW capture mode
SX200 DISP. Toggles RAW capture mode
SX10, 20 AF Frame Selector/Erase Toggles RAW capture mode
Common to most cameras
MENU Displays the main CHDK menu
FUNC.SET Display the Script menu
DISP. Button - Return to previous menu
Full Shutter press Executes the selected Script, or end the running script
The following functions are available any time CHDK is loaded.
Common to most cameras
Half Shutter + Left Toggle Zebra on/off
Half Shutter + Right Toggle OSD on/off
Half Shutter + Up Toggle Histogram on/off (on recent versions Half Shutter +
Down)
Half Shutter + Down - Toggle Overrides on/off (on recent versions Half Shutter +
Up) [Half Shutter + LEFT or RIGHT on a few later models like the IXUS120 - owners
of other later versions could verify please?]
More keys and shortcuts
In manual focus mode - (with <ALT>) Up Set MF to infinity
Down to set MF distance to hyperfocal distance (based on f/stop and zoom focallength).
Left Decrease Value Factor,
Right Increase Value Factor.
On the SD/IXUS series the DISP. button is used to instantly set MF (manual focus)
distance to infinity.
See > Extra Photo Operations
65
66
Acknowledgements
CHDK might be one of the most innovative improvements to any camera that has ever
come along since the beginning of photography. Started out by some people who only
wanted RAW out of their raw-crippled cameras, it has now grown into an adaptable,
exible, and full-featured operating system.
We are all extremely grateful for the work that everyone has put into this arena of
discovery, implementation, coding, sharing, camera testing, (especially with the unknown,
and possibly high risk), and those that provide all the information on the Wiki pages (and
elsewhere in the world). Those who have contributed to this great stride in the world of
photography deserve a huge vote of thanks.
Many thanks go to the original developers - vitalyb, and GrAnd, owenjm, Harvester,
jeff666, [mr.anon], MX3, Fingalo, ewavr, Allbest, CHDKLover, BarneyFife, also to Jucifer
and PhyrePhoX, and cosmograph for the excellent CHDK logo.
Other early contributors included acseven (for the forum), achurch, acid2000, ADamb,
ArtDen, atalwar, Atnas, auj, awdark, barberofcivil, Basq, Bg~, bondo, bperrybap,
brabl2, brake, cail, chdkj, chr, cormac, cppasm, cyril42e, danielmewes, Darkness,
DataGhost, DavidB, diablo, Divalent, ehmu, elecktro255, ERR99, fantomas4o, fboesch,
fbonomi, fe50, shpepper, f_m_b, fudgey, gajownik, Graystar, Grin, Hacki, HarpoMa,
hiker_jon, h-v-n, iax, ihar, image13, Intrnst, Keoeeit, KevB, m2tk, ma_jk, MartinBudden,
mattkime, Microfunguy, mkmenuts, mproko, mrblack51, mrowl, MrSpoon, msl,
mweerden, nandoide, neszt, nimrod, nirschi, Novex, oldgit, pedropaislopes, peregrine,
pev69, philmoz, pixeldoc2000, PlasmaHH, quietschi, RaduP, revivery, reyalp,
Rorschach, rudi, sharky, shenty, Smartkiller, snc, stevetm2, stift, syahmixp, Thorwak,
tillo, toinech, TPC, tr1stan, ultimA, uvvv, Velo, viulian, vit40, whim, whoever, wontolla,
xiaofeng, Yarvieh, Yossar, zeno, zfeet, and for the documentation of Canon Basic - Oren
Isacson and Alfredo Ortega
More recently, the bulk of core CHDK development and support has been contributed by
the hard work of acseven, fe50, hacki, rudi, lapser, msl, nafraf, philmoz, reylap, srsa_4c,
tsvstar, whim, & zeno : supported by generous contributions by many others.
And to all rest of the camera porters, rmware dumpers, testers, forum posters, wiki
contributors & editors, bug reporters and general fans - many thanks for your big part in
keeping this project going.
67
68