ND Filter for SD870 /IXUS860 seems to be working - General Discussion and Assistance - CHDK Forum supplierdeeply

ND Filter for SD870 /IXUS860 seems to be working

  • 13 Replies
  • 4755 Views
ND Filter for SD870 /IXUS860 seems to be working
« on: 09 / July / 2008, 03:19:18 »
Advertisements
Hello,

I have hardly any knowledge on ARM assembler but I tried to click around a bit in IDA. This is what I figured out:

When searching through the dump I found the following ASCII data
Code: [Select]
ROM:FFAF2EC2 aPutinndfilter  DCB "PutInNdFilter",0   ; DATA XREF: ROM:FFB00090
ROM:FFAF2ED0 aPutoutndfilter DCB "PutOutNdFilter",0  ; DATA XREF: ROM:FFB00088

When I followed the XREF I came to functions which looked similar to the ND functions in the VxWorks A710 firmware where ND Filter settings seem to be present.

Substituting in platform/ixus860_sd870/sub/100c/stubs_entry_2.S

Code: [Select]
NSTUB(PutInNdFilter,    0xFF810958)
NSTUB(PutOutNdFilter,    0xFF810958)

(which currently points to nullsub behaviour) with

Code: [Select]
NSTUB(PutInNdFilter,    0xFF9E448C)
NSTUB(PutOutNdFilter,    0xFF9E44C4)

seems to make some ND Filter setting working.
I changed "Extra Photo Operations->ND filter state". With ND Filter "in" the picture was significantly darker. This is what I expected from ND Filter. With "out" is was light as usual.

Unfortunately I could not find an clue about the setting in the EXIF data of the pictures (even after running "Auto CHDK to EXIF v1.2.exe").
Can anyone check this behaviour? How are ND Filter settings handled for the other cameras? Is there any EXIF marker?

Regards,
Chris
IXUS 860IS (SD870)

*

Offline fe50

  • ******
  • 3127
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: ND Filter for SD870 /IXUS860 seems to be working
« Reply #1 on: 09 / July / 2008, 04:20:04 »
Hello Chris,

good work  :P - the adresses are correct, i've tested the ND filter successfully with trunk430 !

The ND filter works also in scripts - WE HAVE A WORKING ND FILTER FOR SD870

When the assembla SVN is online again (currently offline) somebody can integrate it in the trunk...

The Canon OSD data ignores the ND filter set at the shoot - with & without ND filter i get always F2.8 (with ND filter the correct value is F8.0), so the EXIF data is the same...

I will have a look to my Ixus 50 with working ND filter this evening & post my results here...

Again, thx Chris !

Re: ND Filter for SD870 /IXUS860 seems to be working
« Reply #2 on: 11 / July / 2008, 22:04:09 »
Great news, guys!  Is there a CHDK version with functional ND filter state settings that I can download yet?

If so, can you provide a link or tell me how to find it?

I'm VERY excited!!



*

Offline fe50

  • ******
  • 3127
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: ND Filter for SD870 /IXUS860 seems to be working
« Reply #4 on: 12 / July / 2008, 10:12:34 »
Great news, guys!  Is there a CHDK version with functional ND filter state settings that I can download yet?
If so, can you provide a link or tell me how to find it?

Hi Michael,

I have compiled the latest trunk 442 with this working ND filter support for the SD870, until somebody appends the changes to the trunk (after that it is in the Autobuild) you can download my build build here:

*EDIT: now it's the correct file...
Download  allbest-ixus860_sd870-100c-51-trunk442_with_ND_filter_by_fe50.zip  from zshare.
*EDIT-2: Now in the Autobuild !

(Allbest #51 trunk 442, only with the 2 corrected adresses for ND filter in stubs_entry_2.S)
« Last Edit: 13 / July / 2008, 20:18:13 by fe50 »

Re: ND Filter for SD870 /IXUS860 seems to be working
« Reply #5 on: 12 / July / 2008, 15:13:42 »
fe50,

I tried your newly compiled version and have found that the ND filter options are still not working.  They don't change the exposure in either the menu options or in scripts. 

SDM has added the ND filter options to the latest build to version 1.72 and I have found them to be working.

Hopefully your version just had a simple problem with compiling and will be working correctly shortly.

Thanks very much for your efforts!

Re: ND Filter for SD870 /IXUS860 seems to be working
« Reply #6 on: 12 / July / 2008, 17:38:49 »

SDM has added the ND filter options to the latest build to version 1.72 and I have found them to be working.

That is strange.

I just changed the addresses of the functions as indicated.



David

*

Offline fe50

  • ******
  • 3127
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: ND Filter for SD870 /IXUS860 seems to be working
« Reply #7 on: 12 / July / 2008, 17:42:16 »
I tried your newly compiled version and have found that the ND filter options are still not working.  They don't change the exposure in either the menu options or in scripts. 
...Hopefully your version just had a simple problem with compiling and will be working correctly shortly.

Hi Michael,

sorry - i've uploaded the wrong file, it was from the unmodified original, not from the changed work copy  :'(

I've changed the download link in the post above to the correct working file...

It is working, i had it with me (the right file  ;) ) the last 4 hours & used the ND filter for some nice shoots...

So if you want you can make another try...

*Edit: hmm - David, you're very fast  :D
   - added a test photo...

« Last Edit: 13 / July / 2008, 07:15:07 by fe50 »


Re: ND Filter for SD870 /IXUS860 seems to be working
« Reply #8 on: 12 / July / 2008, 17:50:21 »
*Edit: hmm - David, your very fast  :D


Just coincidence  :)

I had just uploaded SDM 1.72 to my friends website when Michael emailed me the link to this thread.

Normally, if I add anything new I get loads of compiler errors but I decided two addresses to change should be OK !


David

Re: ND Filter for SD870 /IXUS860 seems to be working
« Reply #9 on: 12 / July / 2008, 22:12:19 »
Got it, fe50!  And it's working, both from menu settings and from scripts.

I tried setting ND filter out with continuous TV bracketing, but that doesn't seem to work properly.  But that's another issue.  I'll be testing both Allbest and SDM with various ND filter options and exposure settings in the next few days to see what works best for my kite photography.

Thanks again to Chris, David and fe50 for getting this working.

 

Related Topics