SD990 - page 17 - DryOS Development - CHDK Forum supplierdeeply

SD990

  • 206 Replies
  • 76583 Views
*

Offline reyalp

  • ******
  • 13624
Re: SD990
« Reply #160 on: 01 / August / 2010, 03:06:19 »
Advertisements
I think I've fixed "Intermittent RAW: if you press the shutter quickly, RAW/DNG files may not be saved"

Test builds at http://drop.io/reyalp_chdk

If an SD990 user can verify that this works, I'll commit it.

The display setup is very similar to D10, so I may be able to finally fix some of those longstanding issues as well.
Don't forget what the H stands for.

Re: SD990
« Reply #161 on: 20 / August / 2010, 10:18:51 »
Sorry just noticed your post,  uploaded your port and tried several shots (20) using the autobuild and your new build.  both operate the same,  if you quickly press shutter only jpeg is saved, if you hold shutter 1/2 pressed until focus lock both DNG and jpeg are saved

Hans
It is better to burn a roll of film than curse the darkness Equip, S100 w/CHDK, SD900 w/CHDK, SD990 w/CHDK & Pentax K2000, Pentax Kr
Flickr:

Re: SD990
« Reply #162 on: 20 / August / 2010, 12:57:38 »
I think I've fixed "Intermittent RAW: if you press the shutter quickly, RAW/DNG files may not be saved"

If an SD990 user can verify that this works, I'll commit it.

The display setup is very similar to D10, so I may be able to finally fix some of those longstanding issues as well.

Hi reyalp

Just saw your message.

I have tested your build from drop.io and it works on my camera (firmware 101b). I tried a number of different settings: auto, P/M (auto, macro and manual focus) and QuickShot (all of them both with and without flash) So I think that you safely can commit your changes.


Yours

DryDuck!

*

Offline reyalp

  • ******
  • 13624
Re: SD990
« Reply #163 on: 20 / August / 2010, 13:12:17 »
@DryDuck:
Does raw/DNG save correctly if you pressed the shutter quickly ? If not, then this is no point committing it.

@hnikesch
Which firmware version of SD990 do you have ?
Don't forget what the H stands for.


Re: SD990
« Reply #164 on: 20 / August / 2010, 14:23:20 »
I have firmware 1.00e  

DNG + jpeg save is very consistent, push shutter quickly and only jpeg is saved,  hold shutter 1/2 pressed until focus lock and both DNG and jpeg are saved in P, M, SCN, and quick shot modes

Hans
« Last Edit: 20 / August / 2010, 14:34:18 by hnikesch »
It is better to burn a roll of film than curse the darkness Equip, S100 w/CHDK, SD900 w/CHDK, SD990 w/CHDK & Pentax K2000, Pentax Kr
Flickr:

Re: SD990
« Reply #165 on: 20 / August / 2010, 15:07:45 »
@DryDuck:
Does raw/DNG save correctly if you pressed the shutter quickly ? If not, then this is no point committing it.

@hnikesch
Which firmware version of SD990 do you have ?

Hi reyalp

All my tests were done by quickly pressing the shutter button, and all of them saved both the jpeg and the DNG file.

I just made a smaller test, also done by quickly pressing the shutter, saving the RAW images in CR2 the format and it also worked flawlessly.


Yours
DryDuck!

*

Offline reyalp

  • ******
  • 13624
Re: SD990
« Reply #166 on: 20 / August / 2010, 15:33:11 »
Thank you both for your careful testing. Sounds like I messed up the 100e fix or build. I'll look into it.

For future reference, there's no need to check both DNG and CHDK raw, if this bug is fixed for one it will the fixed for the other.
Don't forget what the H stands for.

Re: SD990
« Reply #167 on: 20 / August / 2010, 16:43:54 »
Thank you both for your careful testing. Sounds like I messed up the 100e fix or build. I'll look into it.

For future reference, there's no need to check both DNG and CHDK raw, if this bug is fixed for one it will the fixed for the other.

Hi reyalp

OK about the need not to check both DNG and CR2 raw writing.

I haven't looked at the source code, so just out of curiosity. What caused the bug, and how did you fix it?


Yours
DryDuck


*

Offline reyalp

  • ******
  • 13624
Re: SD990
« Reply #168 on: 20 / August / 2010, 17:13:46 »
Just moved the raw hook slightly, after realizing the code it was in depended on the flag that is set for "quick press".
sub_FF8662E0_my
Code: [Select]
                LDR     R0, [R6,#0x24] ; <- "quick pressed" flag
                CMP     R0, #0
                BNE     loc_FF866390
...
                BL      sub_FF93DDF4_my // SsCaptureSeq.c:0 nr setup
; <- old raw hook was here
                MOV     R5, R0
                B       loc_FF8663A0
loc_FF866390:
                LDR     R0, =0x54EC
                LDR     R0, [R0,#4]
                CMP     R0, #0
                MOVNE   R5, #0x1D
loc_FF8663A0:
                BL      capt_seq_hook_raw_here  ; <- new raw hook here

Don't forget what the H stands for.

*

Offline reyalp

  • ******
  • 13624
Re: SD990
« Reply #169 on: 21 / August / 2010, 02:09:07 »
I have firmware 1.00e 

DNG + jpeg save is very consistent, push shutter quickly and only jpeg is saved,  hold shutter 1/2 pressed until focus lock and both DNG and jpeg are saved in P, M, SCN, and quick shot modes

Hans
I've uploaded a new test build for 100e: http://drop.io/reyalp_chdk/asset/ixus980-sd990-100e-0-9-9-rawtest-2-zip

The same change was in both versions in my tree, but it's possible I got the wrong build last time.
Don't forget what the H stands for.

 

Related Topics