supplierdeeply

SD1000 'kind of' shoots RAW

  • 8 Replies
  • 822 Views
  • Publish
    SD1000 'kind of' shoots RAW
    « on: 11 / April / 2013, 12:22:40 »
    Advertisements
    I have an interesting issue that I'm finally fed up with enough to join the forums and post about.  So here's my first post.  :)

    My SD1000 seems to be quite lazy in that it only seems to shoot RAW when it wants to.  I'll go out and shoot and only a third to half of the images will actually be recorded in RAW format.  I first attributed it to me not being slow enough for the camera to autofocus, but recently I've tried several controlled tests with the camera on a tripod and the problem persists. 

    There seems to be absolutely no rhyme or reason to the cameras pattern of not recording the raw file.  Has anybody else had this issue?

    I'm using CHDK v1.1.0-2695 on a 16GB card formatted for use with an SD1000 running firmware 1.01b. 

  • Publish
    Re: SD1000 'kind of' shoots RAW
    « Reply #1 on: 11 / April / 2013, 12:27:04 »
    When you are missing the RAW image,  is there a JPG of that shot on the card?

  • Publish
    Re: SD1000 'kind of' shoots RAW
    « Reply #2 on: 11 / April / 2013, 12:29:39 »
    Yes.  There's always a JPG file recorded; it is hit and miss as to whether or not a RAW (DNG) file is also created.

  • Publish
    Re: SD1000 'kind of' shoots RAW
    « Reply #3 on: 11 / April / 2013, 12:50:12 »
    Very strange. 

    Is it possible you are accidentally enabling / disabling RAW using the shortcut key ( pressing the +/- while in <ALT> mode) ?   

    Also, if you enable the OSD RAW display info - does it change after each shot?


  • Publish
    Re: SD1000 'kind of' shoots RAW
    « Reply #4 on: 11 / April / 2013, 13:20:52 »
    No, I don't think so. 

    I've checked the settings in the OSD menu tree several times and RAW is enabled, as is DNG file mode. 

    I OSD onscreen RAW info enabled and the shots available count only changes when a RAW file is recorded.  I haven't seen any exception info pop up or anything like that.  I should note that this problem has persisted across two firmware versions, on two different SD cards.

    Thanks again for the replies.  :)

    *

    Offline srsa_4c

    • ******
    • 3136
  • Publish
    Re: SD1000 'kind of' shoots RAW
    « Reply #5 on: 11 / April / 2013, 19:23:55 »
    My SD1000 seems to be quite lazy in that it only seems to shoot RAW when it wants to.  I'll go out and shoot and only a third to half of the images will actually be recorded in RAW format.
    There might be a timing problem with the file counter. If this is the case, the missing RAW/DNG files are probably overwritten.
    Try the attached build, and see whether you get more RAW files.

    If you don't, perhaps one of the RAW exceptions prevents the creation of the RAW file. Try to observe whether you always get the long RAW save delay after shooting.
    Code: [Select]
    Index: platform/ixus70_sd1000/sub/101b/capt_seq.c
    ===================================================================
    --- platform/ixus70_sd1000/sub/101b/capt_seq.c (revision 2695)
    +++ platform/ixus70_sd1000/sub/101b/capt_seq.c (working copy)
    @@ -4,6 +4,8 @@
     
     static long *nrflag = (long*)0xCDA0;
     
    +#define PAUSE_FOR_FILE_COUNTER 100
    +
     #include "../../../generic/capt_seq.c"
     
     void __attribute__((naked,noinline)) sub_FFB01E30_my(long p)
    edit: attachment removed
    « Last Edit: 11 / April / 2013, 20:08:31 by srsa_4c »

  • Publish
    Re: SD1000 'kind of' shoots RAW
    « Reply #6 on: 11 / April / 2013, 19:42:06 »
    No, adding the pause didn't help much.  It still only writes a few out of 10 shots to RAW.  I don't see any exception messages popping up.  I'm still new to CHDK, is there a to write to or pull from a log file?

    *

    Offline srsa_4c

    • ******
    • 3136
  • Publish
    Re: SD1000 'kind of' shoots RAW
    « Reply #7 on: 11 / April / 2013, 20:07:51 »
    No, adding the pause didn't help much.  It still only writes a few out of 10 shots to RAW.  I don't see any exception messages popping up.
    If you don't always get the long delay (and you don't see a "RAW disabled" or similar on screen text showing up), one of the conditions in is_raw_enabled() could be triggered occasionally:
    https://trac.assembla.com/chdk/browser/branches/release-1_1/core/conf.c#L835

    The attached build has the above checks disabled (and therefore can cause crashes when used in certain modes).


  • Publish
    Re: SD1000 'kind of' shoots RAW
    « Reply #8 on: 11 / April / 2013, 22:56:57 »
    Quote
    Now here's something interesting.  With that latest build, the DNG files are being touched but not written.  Check out the attached screenshot.
    UPDATE:
    I double checked and I copied the wrong CHDK folder over to the SD card, so I corrected the issue.  So, far, at least, the issue seems to be resolved.  The camera is recording a DNG file for each JPG file.  See the second attached screenshot.
    « Last Edit: 11 / April / 2013, 23:18:48 by milbournosphere »

     

    Related Topics