Developer-friendly / experimental branch (dataghost) - page 5 - CHDK Releases - CHDK Forum

Developer-friendly / experimental branch (dataghost)

  • 143 Replies
  • 99309 Views
*

Offline fudgey

  • *****
  • 1705
  • a570is
Re: Developer-friendly / experimental branch (dataghost)
« Reply #40 on: 20 / May / 2008, 16:01:14 »
Advertisements
Way cool Dataghost!  :D

LED disco smoothly controls the LCD backlight and the Af beam and blinks the blue LED. Others don't seem to be affected. The firmware dump command obviously worked too.

The IS demo definitely does something when I move the camera around. It seems to work best with the camera upside down, though... the game works as well (no change in scenery like your video though), but I have to keep my camera a bit crooked (tilting the left corner to ground 35 deg or so) to keep the square stable.

The IS internals commands froze the camera after printing some numbers on the display.

*

Offline DataGhost

  • ****
  • 314
  • EOS 40D, S5IS
    • DataGhost.com
Re: Developer-friendly / experimental branch (dataghost)
« Reply #41 on: 20 / May / 2008, 16:19:10 »
Way cool Dataghost!  :D

LED disco smoothly controls the LCD backlight and the Af beam and blinks the blue LED. Others don't seem to be affected. The firmware dump command obviously worked too.
The LED commands are using numbers which specifically address S5IS LEDs, they differ per model.

Quote
The IS demo definitely does something when I move the camera around. It seems to work best with the camera upside down, though... the game works as well (no change in scenery like your video though), but I have to keep my camera a bit crooked (tilting the left corner to ground 35 deg or so) to keep the square stable.
Change in scenery? You mean the track? Use the zoom controls to 'accellerate/decellerate'.
As for the tilt: I had to apply a 4096 offset for my S5IS. After that, I shift the value 7 bits to the right. 4096>>7 is 32 (and it's probably very inaccurate) so that seems to account for the tilt.

Quote
The IS internals commands froze the camera after printing some numbers on the display.
I'm not using buffered drawing... what's the last line you see on the screen before the camera crashes? That'll tell me which commands (the ones after that line) failed. It's probably not such a big issue, though... I specifically implemented all these values to see which were changed when I change the IS 'converter' setting, I expected gain to change but nothing really did. This makes most of the values useless so I might as well take them out in the future.

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: Developer-friendly / experimental branch (dataghost)
« Reply #42 on: 20 / May / 2008, 16:22:14 »
Seriously,cant wait to test all your branches' features on both a620 and s3is.just drop a note if you need some logfiles or anything.

*

Offline fudgey

  • *****
  • 1705
  • a570is
Re: Developer-friendly / experimental branch (dataghost)
« Reply #43 on: 20 / May / 2008, 16:35:34 »
Change in scenery? You mean the track? Use the zoom controls to 'accellerate/decellerate'.
Ah, now I get it :)  Isn't this just the greatest game ever: enter REC mode, run the game, point camera at a TV set => pure entertainment!  :haha

Quote
The IS internals commands froze the camera after printing some numbers on the display.
I'm not using buffered drawing... what's the last line you see on the screen before the camera crashes? That'll tell me which commands (the ones after that line) failed. It's probably not such a big issue, though... I specifically implemented all these values to see which were changed when I change the IS 'converter' setting, I expected gain to change but nothing really did. This makes most of the values useless so I might as well take them out in the future.

The last ones on the screens are hall dev gain and gyro gain.

*

Offline DataGhost

  • ****
  • 314
  • EOS 40D, S5IS
    • DataGhost.com
Re: Developer-friendly / experimental branch (dataghost)
« Reply #44 on: 20 / May / 2008, 18:11:39 »
Thanks for the TX1 1.00g firmware dump, Microfunguy... revision 402 should now support both TX1 versions. Looking at other cameras, I engineered some code which should allow a readout of the orientation sensor... given that it's actually in the device (and can be read out through the functions I made).

PhyrePhoX: seems like you've got the two wrong cameras :P A620 doesn't have IS and S3IS has a completely different code layout for the IS functions, so no orientation sensor stuff with those yet. Maybe later on but it probably requires a significant amount of RE.
Anyway, I'll make a note to start searching for the orientation sensor in other places since it should also be present in non-IS cameras. The 'IS' function is probably a wrapper for the generic sensor and the IS subsystem probably just happens to use it for something, hence the function.

Re: Developer-friendly / experimental branch (dataghost)
« Reply #45 on: 20 / May / 2008, 18:27:21 »
Why were you so slow ?  :)

My Japanese friend will have gone to work now, so it will be quite a while before he can try the TX1 and A570 code.


Good work !

Re: Developer-friendly / experimental branch (dataghost)
« Reply #46 on: 22 / May / 2008, 09:26:14 »
My Japanese friend will have gone to work now, so it will be quite a while before he can try the TX1 and A570 code.


He says that it works fine on both cameras.


Thanks !


David

*

Offline DataGhost

  • ****
  • 314
  • EOS 40D, S5IS
    • DataGhost.com
Re: Developer-friendly / experimental branch (dataghost)
« Reply #47 on: 22 / May / 2008, 09:32:04 »
What about the orientation sensor on the TX1?

Re: Developer-friendly / experimental branch (dataghost)
« Reply #48 on: 22 / May / 2008, 12:50:34 »
DataGhost, I read this thread extensively and I am very interested in some control over the IS functions of the camera -- primarily for resolution enhancement ("drizzling" -- see here: Weasner's Astrophotography Info Page )

I have a simple question that I couldn't figure out from reading the thread. Can I use your new IS functions on a 720is, or do I need an S3is or S5is?

*

Offline DataGhost

  • ****
  • 314
  • EOS 40D, S5IS
    • DataGhost.com
Re: Developer-friendly / experimental branch (dataghost)
« Reply #49 on: 22 / May / 2008, 14:51:30 »
I think I found them all on the A720 and not on the S3IS. If you use the IS functions on a camera I didn't find the functions for, you'll likely see zero values (or semi-random garbage, not sure) and no response to IS adjustment settings. I don't think it's going to be easy to implement something as "drizzling" accurately, since the thing I'm currently doing (in my private junk-build) is reading values from the 720x240 viewport. It's probably possible but it requires altering the CCD readout and I have no idea how that happens (in firmware) now.

 

Related Topics


SimplePortal © 2008-2014, SimplePortal