Simple Tool for Installing CHDK (STICK)
for Windows, OSX and Linux (Ubuntu)





All my apps are freeware, but if you've found them useful and would like to thank the author, you can make a donation (for example £1, €1 or $1) to show your appreciation for the many hours spent working on them!

STICK is a Java application designed to make the process of installing CHDK on your Canon camera as simple as possible. It does for CHDK what my ASSIST app does for SDM. If you don't have Java installed, here is the official download site (for Mac OSX, Windows and Linux).

All you have to do is drop a photo taken by your camera on the STICK window and it will:

It runs under Windows (from XP to Windows 8), Mac OSX (from 10.5 onwards) and Linux (Ubuntu 11.x and 12.x at least).

To make things as easy as possible all you have to do is press a button to make STICK continue to the next step and on-line help is just a button-click away. Here's a picture of STICK just after a photo has been dropped.

Downloading and Installing STICK

Download the STICK zip file and unzip it. You'll get a folder called 'stick' which you can relocate anywhere you fancy. Inside the folder are the following files:

Running STICK

Double-click the appropriate script file (bat, cmd, command or sh file), depending on your Operating System. For OSX or Windows XP, double-clicking the jar file should work.

STICK will look for a valid build in 4 places:

  1. the 'stable' CHDK (1.2) site
  2. the 'trunk' CHDK (1.3) site
  3. the 'stabiles' CHDK-DE (1.2) site
  4. the 'experimentelle' CHDK-DE (1.3) site

Which of these STICK searches first depends on which build preference choice you select on the start-up screen. For most people, the 'stable' CHDK is the right choice (it's also the default when STICK is first installed), but you may want to install the 1.3 'development' version in order to use some new feature it contains.

Note that:

STICK will also detect if a build has been previously downloaded and if so, let you skip the download step. This can be useful if you want to prepare another card for your camera, but of course skipping the download step may mean you don't get the latest CHDK build.

Installing 'unofficial builds'

Starting with version 1.08 (December 2013) STICK will now install a downloaded unofficial build. See here for more details.

Supporting Files

STICK copies all the necessary files to the card - DISKBOOT.BIN, PS.FIR and the contents of the CHDK folder. After running STICK the downloaded files are in a sub-folder of the stick folder whose name is the model name and build of the camera (e.g. "a570-101a).

Note for Mountain Lion (10.8) and Mavericks (10.9) Users

Mountain Lion and Mavericks require root access to make changes to cards. As a result, STICK will fail with a "permission refused" message unless it has root access. To run STICK under Mountain Lion or Mavericks, use the stickML.command script. Double-clicking the script will bring up a terminal window and sudo will ask you to type your logon password so STICK can get root access. STICK will run when you press return.

Note for Windows Users

For cards larger than 4GB in pre-2011 cameras, STICK will create two partitions - a small FAT16 one containing DISKBOOT.BIN and a large FAT32 one for photos. Note that Windows will only let you see one partition at a time - use my WASP utility to switch between them.

Under the covers STICK issues commands and makes API calls that require administrator privileges under Windows 7 and 8. If you run STICK when logged on as a general user, without admin permission, STICK will diagnose the problem and display the message:

  STICK needs Administrator permission - start it by double-clicking STICKX.CMD

On a 64-bit system and on some 32-bit systems, even if you are logged on as an Admin, you will have to start STICK using STICKX.CMD, otherwise STICK will not be able to analyse your card. It should display a message like this:

   STICK needs permission to analyse disk
and the log will contain a message like this:
   Failure checking device '\\.\PHYSICALDRIVE2' - error 5
If you see this message, or are running a 64-bit Windows system, terminate STICK and double-click the STICKX.CMD file. This will display a dialog allowing you to temporarily 'elevate' yourself to Admin level by selecting a user account with these privileges. STICK will then run properly.

Unfortunately this temporary elevation breaks drag-and-drop (it's a known Windows problem) so you will have to use the Browse button to locate a photo.

Note for Linux Users

STICK needs sudo permission for some of the commands it issues. Currently that means you need to run it from a terminal window, setting the current directory to the folder containing the jar file and typing:

   sudo java -jar stick.jar
or 
   ./stickx.sh

When you run it it will ask you to type in your admin (logon) password and then run STICK

Help

Pressing the 'Help' button when STICK is running will display one of the following pages in your default browser:

Extra Features:

STICK has some extra features that can be enabled by changing its properties file, "stick.properties", (which you will find in the same folder as the app once you've run it). These features are:

Version History:

There's a companion app, ASSIST, which will install SDM in just the same way.

Comments, suggestions and bug reports welcome. Dave@zenoshrdlu.com.

For other SDM and CHDK-related stuff of mine, see here

Locations of visitors to this page