CHDK on Canon SD630 - workaround for failed installation - General Help and Assistance on using CHDK stable releases - CHDK Forum
supplierdeeply

CHDK on Canon SD630 - workaround for failed installation

  • 17 Replies
  • 7760 Views
CHDK on Canon SD630 - workaround for failed installation
« on: 05 / December / 2016, 18:00:15 »
Advertisements
Short description-I cannot make my Canon SD630 display the Firmware Update option in MENU tabs.  How I bypassed the problem.

I have a Canon Powershot SD630. (Announced 2006)
Using vers.req the camera displays the following:

Canon Powershot SD630
P-ID:30FE  NT

Firmware Ver GM1.00A
No error
Jan 23 2006   19:44:50

I prepared a Sandisk Ultra II 2GB memory card formatted in the camera as FAT16.

On the card I placed the CHDK distribution files including:

changelog.txt
CHDK <directory and contents>
DISKBOOT.BIN
PS.FIR
readme.txt
vers.req

With the memory card unlocked, I started the camera in PLAY mode (top function switch moved to PLAY and normal camera power button actuated)

Pressing MENU I find that none of the memory tabs contain a Firmware Update selection.

I repeated this process for the following versions of the SD630-specific CHDK distribution, with no success.

ixus65_sd630-100a-V1.2.0 Build 3770
ixus65_sd630-100a-V1.3.0 Build 4296
ixus65_sd630-100a-V1.4.1

Thinking that the SD630 was rejecting PS.FIR as an invalid firmware update file and not knowing what contents should be provided in PS.FIR, I created a workaround.

I already have a Canon 100HS/IXUS115 running CHDK so I used an CHDK-enabled SD card, set up for my Elph 100HS /IXUS115.  This card was already bootable, formatted as FAT16 and contained V1.3.0.3853 of CHDK.

Since the card was already bootable, I replaced all the files on the card with the distribution files from ixus65_sd630-100a-V1.4.1.

I then set the switch on the SD card to write disable, placed it in my SD630 and powered up the camera.  CHDK now works on the SD630.

Of course, making up a batch of CHDK-enabled SD cards for the SD630 was very time consuming, so I’d like to find a permanent fix that others could use.

Getting back to the contents of PS.FIR.  How do I go about determining what in PS.FIR is being rejected by the SD630, preventing the Firmware Update menu item from appearing?


Re: CHDK on Canon SD630 - workaround for failed installation
« Reply #1 on: 05 / December / 2016, 19:02:57 »
Of course, making up a batch of CHDK-enabled SD cards for the SD630 was very time consuming, so I’d like to find a permanent fix that others could use.
I'm not sure what the problem is but the SD630 is a pretty old camera so I would not expect there are going to be a lot of new people using it in the future. 

A more permanent "fix" might be to just use STICK to setup your cards ?


Edit :  are you by any chance using a Mac to copy files to the card?  http://chdk.wikia.com/wiki/FAQ/Mac#Still_Having_Trouble.3F
« Last Edit: 05 / December / 2016, 19:10:02 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

Re: CHDK on Canon SD630 - workaround for failed installation
« Reply #2 on: 05 / December / 2016, 21:14:50 »
Yes, SD630 is a decade old.  But my S200 (not supported) is much older.

I also ran into the same problem on 100 HS.  If I tried to install V1.4.0, the camera would not offer up the Firmware Update option in the menu.  The same process using V1.3.0 worked.  Then I copied the V1.4.0 files onto the back levelled card and I was off to the races.

STICK has appeared since I first messed with CHDK many years ago.  I will go research it. (Oh please let it run on OSX...I can't stomach firing up the VistaBox) :blink:

Thanks for the tip.

Cheers


Re: CHDK on Canon SD630 - workaround for failed installation
« Reply #3 on: 05 / December / 2016, 22:06:26 »
OK, I downloaded STICK and installed it plus the recommended Java runtime on my macOS Sierra V10.12.1 machine.

When I run STICK using a photo taken with the SD630 and providing a 2GB SD card formatted as FAT16 using the camera, STICK fails to mark the card as bootable.

I -think- the problem is here...

awaiting permission to install
Preparing Device disk6 2.0 GB - please wait ...
Making card bootable  as FAT16
Command 'diskutil unmountDisk disk6' = 'Unmount of all volumes on disk6 was successful'
   return code was 0
Command 'printf "BOOTDISK" | dd bs=1 count=8 seek=0x40 conv=notrunc of=/dev/disk6s1' = '!Error

dd: /dev/disk6s1: Permission denied'
   return code was 1
Command 'diskutil mountDisk disk6' = 'Volume(s) mounted successfully'
   return code was 0


I have attached the entire log in case more information is needed.



Re: CHDK on Canon SD630 - workaround for failed installation
« Reply #4 on: 05 / December / 2016, 22:36:33 »
A yes,  yet another problem with a Mac - the computer that "just works".  :P

See :  https://chdk.setepontos.com/index.php?topic=12306.msg121436#msg121436

Quote
you need to start STICK by using the stickml.command script
« Last Edit: 05 / December / 2016, 22:39:47 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

Re: CHDK on Canon SD630 - workaround for failed installation
« Reply #5 on: 06 / December / 2016, 19:51:40 »
Hmmm...when I run stickML.command I get:

Last login: Sun Dec  4 17:23:33 on ttys000
/Users/Gary/Desktop/STICK\ Prepare\ CHDK\ SD\ Cards/stickML.command ; exit;
Garys-Mac-mini:~ Gary$ /Users/Gary/Desktop/STICK\ Prepare\ CHDK\ SD\ Cards/stickML.command ; exit;
Password:
Exception in thread "main" java.lang.UnsupportedClassVersionError: Stick : Unsupported major.minor version 51.0
   at java.lang.ClassLoader.defineClass1(Native Method)
   at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)
   at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
   at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
   at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
   at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
   at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
Deleting expired sessions...none found.

[Process completed]

 :-[

Re: CHDK on Canon SD630 - workaround for failed installation
« Reply #6 on: 06 / December / 2016, 20:07:59 »
Hmmm...when I run stickML.command I get:
I forwarded a link to your post to zeno (STICK's author) via email. He's usually very good about getting back withing 24 hours.
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline zeno

  • *****
  • 891
Re: CHDK on Canon SD630 - workaround for failed installation
« Reply #7 on: 07 / December / 2016, 04:34:13 »
Gary

I don't know what version of OSX you are running but I don't think it matters. What does matter is what version of Java you have. I just downloaded STICK and ran it on my Yosemite (10.11) system and it ran fine with Java 1.8. I did the same on my El Capitan (10.12) system (same level of Java) and that worked fine too.

So I suggest you download the latest Java (there's a pointer to the Oracle site on the STICK webpage) and try again.

Dave
« Last Edit: 07 / December / 2016, 04:43:37 by zeno »
A570, S100, Ixus 127
Author of ASSIST, STICK, WASP, ACID, SDMInst, LICKS, WICKS, MacBoot, UBDB, CFGEdit


Re: CHDK on Canon SD630 - workaround for failed installation
« Reply #8 on: 07 / December / 2016, 12:24:31 »
Hi Dave

I am running macOS Sierra V10.12.1 with Java Version 8 Update 111 build 1.8.0_111-b14 on a late 2012 Mac Mini 2.3GHz Intel i7 with 16GB of RAM.

Are there any Java security or advanced settings that I should review?

And by the way, thanks for helping me get this sorted.

*

Offline zeno

  • *****
  • 891
Re: CHDK on Canon SD630 - workaround for failed installation
« Reply #9 on: 07 / December / 2016, 14:58:11 »
Well I was wrong - it does matter what OS your Mac has! I have not yet installed MacOS (Sierra) on either of my machines but it looks like I will have to. It will take some time for me to investigate what the problem is but I'll report back here asap.

Reporting back: it turns out I was doubly wrong. One of my machines is running Yosemite which is 10.10 (not 10.11 as I said above). The other, my MacBook Pro, is running MacOS Sierra - 10.12. I must have upgraded - at my age (75), senior moments happen all the time!


Anyway, that makes Gary's problem strange, because I have just successfully installed CHDK on a card on that machine.
« Last Edit: 07 / December / 2016, 18:11:00 by zeno »
A570, S100, Ixus 127
Author of ASSIST, STICK, WASP, ACID, SDMInst, LICKS, WICKS, MacBoot, UBDB, CFGEdit

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal