Ultimate Intervalometer - intermittent reboot faiure (powershot D10) - page 4 - Completed and Working Scripts - CHDK Forum

Ultimate Intervalometer - intermittent reboot faiure (powershot D10)

  • 63 Replies
  • 15257 Views
Re: Ultimate Intervalometer - intermittent reboot faiure (powershot D10)
« Reply #30 on: 30 / January / 2014, 17:22:59 »
Advertisements
Thanks a lot srsa_4s!

I don't have the code with me so maybe my question is irrelevant, but does it matter at which line I add the code?

Sorry if my question doesn't make sense, but I'd like to try your proposal tonight and want to make sure I can start when arriving at home.

Thanks again for your efforts!

Re: Ultimate Intervalometer - intermittent reboot faiure (powershot D10)
« Reply #31 on: 30 / January / 2014, 18:33:46 »
I don't have the code with me so maybe my question is irrelevant, but does it matter at which line I add the code?
Just insert it anywhere in that file - you'll see other similiar entries for other addresses.
Ported :   A1200    SD940   G10    Powershot N    G16

Re: Ultimate Intervalometer - intermittent reboot faiure (powershot D10)
« Reply #32 on: 30 / January / 2014, 19:03:15 »
Until now could not redo the error, but I recognized something that might be important? After having undone the commenting out and adding the line to the named file the camera won't connect to USB at startup. After having started the cam I have to unplug from USB, then plug back and afterwards the camera is found.

I'll run a script that will reboot the camera now until an error occurs...

EDIT: Well, can't do that of course via script, since the camera is also disconnected after warm reboot by post_levent_to_ui(4458). That was not the case before NHSTUB(Fopen_Fut, 0xFF8564D8). Maybe that really nails something?  :)
« Last Edit: 30 / January / 2014, 19:09:52 by Karmaschinken »

*

Offline srsa_4c

  • ******
  • 4285
Re: Ultimate Intervalometer - intermittent reboot faiure (powershot D10)
« Reply #33 on: 30 / January / 2014, 19:27:21 »
I don't have any problems with the USB connection using the changed Fopen_Fut address.
Can you check one camera manually (not over USB)? If the CHDK startup logo is on the card, does it show up after you switch the cam on (it's opened using fopen() )? Is ptp file transfer working?


Re: Ultimate Intervalometer - intermittent reboot faiure (powershot D10)
« Reply #34 on: 30 / January / 2014, 19:35:09 »
Hmmm. Sorry, don't know what that was. After having restarted my computer everything works as expected. That was a false positive, sorry.

So okay then, I'll start a testing with a 1 to 1000 loop which will warm reboot the camera.

Sorry for the failure!

Re: Ultimate Intervalometer - intermittent reboot faiure (powershot D10)
« Reply #35 on: 30 / January / 2014, 21:05:08 »
Stopped the script after about 250 successful reboots with one camera. The card was completely loaded with images.

Hope you found a solution, although don't understand what you did. However I'll keep this modified version and will try tomorrow or saturday with 10 cams.

Thanks again! I appreciate your help very much!
« Last Edit: 30 / January / 2014, 21:13:11 by Karmaschinken »

*

Offline srsa_4c

  • ******
  • 4285
Re: Ultimate Intervalometer - intermittent reboot faiure (powershot D10)
« Reply #36 on: 31 / January / 2014, 15:04:33 »
Stopped the script after about 250 successful reboots with one camera. The card was completely loaded with images.
Sounds good so far.

Quote
Hope you found a solution, although don't understand what you did.
By using the new function instead of Fopen_Fut, several checks are avoided which can cause trouble. I have since found the name of this function, it's called "Fopen_FileStream" in the ixus30 firmware.

Re: Ultimate Intervalometer - intermittent reboot faiure (powershot D10)
« Reply #37 on: 31 / January / 2014, 15:18:19 »
Takes a little longer here to test with more cameras. I would be very happy if the fault was gone with your solution, it was sometimes really annoying.

So again thank you very much!


*

Offline philmoz

  • *****
  • 3179
    • Photos
Re: Ultimate Intervalometer - intermittent reboot faiure (powershot D10)
« Reply #38 on: 31 / January / 2014, 16:47:19 »
Takes a little longer here to test with more cameras. I would be very happy if the fault was gone with your solution, it was sometimes really annoying.

So again thank you very much!

The only place I can see in the code that uses fopen() at startup, is the CHDK splash screen logo.

Do you disable the CHDK startup splash screen (CHDK Settings --> Show Splash screen on load)?

If you don't normally disable the splash screen, could you please retest the original build on a few cameras with the splash screen turned off.

Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)

Re: Ultimate Intervalometer - intermittent reboot faiure (powershot D10)
« Reply #39 on: 31 / January / 2014, 16:52:25 »
Hello Phil. Yes, splash screen has always been turned on. Never had the idea that this might be the reason.

I will reset the files to everything as is was before and then repeat the tests. But that will be on Tuesday next week.

Thanks also to you for your thoughts here.
« Last Edit: 31 / January / 2014, 16:54:08 by Karmaschinken »

 

Related Topics