G16 Porting Thread - Test Versions Available - page 16 - DryOS Development - CHDK Forum

G16 Porting Thread - Test Versions Available

  • 229 Replies
  • 132774 Views
Re: G16 Porting Thread - Test Versions Available
« Reply #150 on: 09 / March / 2018, 08:15:23 »
Advertisements
Starting in playback mode, the green LED blinks twice. Using on/off button to start, the lens extends immediately and other than the card being locked, appears ready to shoot.
Those two results strongly suggest that you do not have your SD card correctly configured to autoboot CHDK.  Given your issues with getting STICK running, that seems to be the most likely scenerio.

The initial bootstrap code for the G16 is common to all four camera models.  If there was an bug in the G16 1.01b startup code I would expect the camera to simply crash.  While it is tchnically possible that a bug could cause the camera to load normally and not hook in CHDK,  I don't believe that is what is happening.   I can add blinking LED code to the G16 boot loader and post a test build to confirm that if necessary.

Did you hear anything back from zeno (Dave) about your STICK issues?  He is usually pretty responsive and I have his direct email address somewhere if you have not heard from him. The usual ulprit here is not running STICK with admin privileges.  I'm not sure you can do that via the Windows right click "Run as admin" option - you might need to pick the right script from the STICK install. Unfortunately Dave bundles everything for Windows / Linux / iMac into the same directory with similar nondescript names so people sometimes get this step confused. 

Also, STICK produces a log file - it would be interesting if you could post that here as an attachment.

This should not be so difficult - sorry about that.  There are other methods of configuring a bootable SD card (listed on the wiki page that I linked) but they require a lot more patience to get them to work correctly.

Ported :   A1200    SD940   G10    Powershot N    G16

Re: G16 Porting Thread - Test Versions Available
« Reply #151 on: 09 / March / 2018, 19:05:03 »
Starting in playback mode, the green LED blinks twice. Using on/off button to start, the lens extends immediately and other than the card being locked, appears ready to shoot.
Those two results strongly suggest that you do not have your SD card correctly configured to autoboot CHDK.  Given your issues with getting STICK running, that seems to be the most likely scenerio.

The initial bootstrap code for the G16 is common to all four camera models.  If there was an bug in the G16 1.01b startup code I would expect the camera to simply crash.  While it is tchnically possible that a bug could cause the camera to load normally and not hook in CHDK,  I don't believe that is what is happening.   I can add blinking LED code to the G16 boot loader and post a test build to confirm that if necessary.

Did you hear anything back from zeno (Dave) about your STICK issues?  He is usually pretty responsive and I have his direct email address somewhere if you have not heard from him. The usual ulprit here is not running STICK with admin privileges.  I'm not sure you can do that via the Windows right click "Run as admin" option - you might need to pick the right script from the STICK install. Unfortunately Dave bundles everything for Windows / Linux / iMac into the same directory with similar nondescript names so people sometimes get this step confused. 

Also, STICK produces a log file - it would be interesting if you could post that here as an attachment.

This should not be so difficult - sorry about that.  There are other methods of configuring a bootable SD card (listed on the wiki page that I linked) but they require a lot more patience to get them to work correctly.


I tried running all of the command files as an administrator, but that option is not available for all of them.  The only one that opens the program is stick.jar which cannot be run as an administrator.  The SD card shows up as "D:?????" implying that it's not being recognized.  I tried a quick format using the computer in case the camera was not formatting the card properly (the computer formats it at FAT32).

The log is attached.

Re: G16 Porting Thread - Test Versions Available
« Reply #152 on: 09 / March / 2018, 20:55:31 »
The log is attached.
A quick google search of the error line in your log file
Code: [Select]
Failure checking device '\\.\PHYSICALDRIVE1' - error 5
gets me to this post :

Help: How to install CHDK in IXUS 240 HS

That one and the post before it looks kind of familiar?


Also : https://chdk.setepontos.com/index.php?topic=12377.msg122366#msg122366
« Last Edit: 09 / March / 2018, 20:57:51 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

Re: G16 Porting Thread - Test Versions Available
« Reply #153 on: 09 / March / 2018, 22:17:34 »

The log is attached.
A quick google search of the error line in your log file
Code: [Select]
Failure checking device '\\.\PHYSICALDRIVE1' - error 5
gets me to this post :

Help: How to install CHDK in IXUS 240 HS

That one and the post before it looks kind of familiar?


Also : https://chdk.setepontos.com/index.php?topic=12377.msg122366#msg122366


That worked, thanks.  The camera now starts up and loads CHDK.  Unfortunately, it returns the message that the test build (Canon G16 firmware version 101b) has expired.

Re: G16 Porting Thread - Test Versions Available
« Reply #154 on: 09 / March / 2018, 22:23:18 »
That worked, thanks.  The camera now starts up and loads CHDK.  Unfortunately, it returns the message that the test build (Canon G16 firmware version 101b) has expired.
Yah !!   :D

Don't worry about the test build expired message - you can safely ignore it.  We put that into test builds of new ports so that people don't download a new port and use it forever without reporting back.

But if it makes you uncomfortable, as reward for sticking with us and getting this far,  I can post a version with the timer reset. 
Ported :   A1200    SD940   G10    Powershot N    G16

Re: G16 Porting Thread - Test Versions Available
« Reply #155 on: 09 / March / 2018, 22:33:05 »
That worked, thanks.  The camera now starts up and loads CHDK.  Unfortunately, it returns the message that the test build (Canon G16 firmware version 101b) has expired.
Yah !!   :D

Don't worry about the test build expired message - you can safely ignore it.  We put that into test builds of new ports so that people don't download a new port and use it forever without reporting back.

But if it makes you uncomfortable, as reward for sticking with us and getting this far,  I can post a version with the timer reset.


It doesn't bother me; the problem is that after it displays for a moment, the camera returns to its normal state with a locked card without loading CHDK.

Re: G16 Porting Thread - Test Versions Available
« Reply #156 on: 09 / March / 2018, 22:35:02 »
That worked, thanks.  The camera now starts up and loads CHDK.  Unfortunately, it returns the message that the test build (Canon G16 firmware version 101b) has expired.
Yah !!   :D

Don't worry about the test build expired message - you can safely ignore it.  We put that into test builds of new ports so that people don't download a new port and use it forever without reporting back.

But if it makes you uncomfortable, as reward for sticking with us and getting this far,  I can post a version with the timer reset.


It doesn't bother me; the problem is that after it displays for a moment, the camera returns to its normal state with a locked card without loading CHDK.


That is, not its normal state, but one where the lens doesn't extend and the menus are grayed out.

Re: G16 Porting Thread - Test Versions Available
« Reply #157 on: 10 / March / 2018, 09:25:16 »
That worked, thanks.  The camera now starts up and loads CHDK.  Unfortunately, it returns the message that the test build (Canon G16 firmware version 101b) has expired.
Yah !!   :D

Don't worry about the test build expired message - you can safely ignore it.  We put that into test builds of new ports so that people don't download a new port and use it forever without reporting back.

But if it makes you uncomfortable, as reward for sticking with us and getting this far,  I can post a version with the timer reset.


It doesn't bother me; the problem is that after it displays for a moment, the camera returns to its normal state with a locked card without loading CHDK.


That is, not its normal state, but one where the lens doesn't extend and the menus are grayed out.


Yes, I would appreciate if you could post a build with the timer reset.  I would like to test the build which would hopefully allow a final version for this firmware to be released.

Re: G16 Porting Thread - Test Versions Available
« Reply #158 on: 10 / March / 2018, 15:33:53 »
Yes, I would appreciate if you could post a build with the timer reset.  I would like to test the build which would hopefully allow a final version for this firmware to be released.
I can remove the warning message but I don't believe that's the problem. Normally you can just safely ignore the warning but in your case the camera apparently stops functioning.  Which suggests that something is wrong with the CHDK port for the 1.01b.

Can you expand a bit more on what you mean by
Quote
"That is, not its normal state, but one where the lens doesn't extend and the menus are grayed out."
When you have the SD card switch locked, you get the CHDK splash screen logo at boot (with the warning message) but then that goes away and you get the "Card locked" Canon warning message and nothing responds after that?

I'll take a look for anything obvious but we might need to go through a few trial & error test versions before we get is all sorted out if you are up for that?


Edit test build #1 attached.  You can simply unzip it (expanding the folders) onto the root folder of your working CHDK SD card - no need to reformat or use STICK. This one will blink the orange LED on the OVF rapidly a few time on boot. You should also see a number counting up in the upper left hand area of the LCD. CHDK shooting feature have been disabled while we test this.  The warning message has been removed too.  Let me know what you see?
« Last Edit: 10 / March / 2018, 16:18:56 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline reyalp

  • ******
  • 14128
Re: G16 Porting Thread - Test Versions Available
« Reply #159 on: 10 / March / 2018, 16:22:57 »
That is, not its normal state, but one where the lens doesn't extend and the menus are grayed out.
I'm not sure if this is part of the problem, but just in case: When CHDK loads, the camera will start in playback (image review) mode, with the lens retracted. To go to shooting mode, you need to half press the shutter, or hold the power button slightly longer while starting.
Don't forget what the H stands for.

 

Related Topics


SimplePortal © 2008-2014, SimplePortal