SD 4000 IS / IXUS 300 HS / IXY 30S porting thread - page 14 - DryOS Development - CHDK Forum  

SD 4000 IS / IXUS 300 HS / IXY 30S porting thread

  • 322 Replies
  • 190010 Views
*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: SD 4000 IS / IXUS 300 HS / IXY 30S porting thread
« Reply #130 on: 31 / October / 2010, 08:49:07 »
Advertisements
Hi, p::d

Thanks to your work on this cam (and it's specs, of course) I also got one, 100 D as expected.
While running the source for v6 through GCC 4.5.1, I get an 'undefined symbol' error
which can be traced back to /platform/ixus300_sd4000/sub/100d/boot.c, line 939:
Quote
        "loc_FF871AB4:\n"
            "CMP     R8, #7\n"
            "STR     R0, [R4,#0x40]\n"
            "LDMNEFD SP!, {R4-R8,PC}\n"
            "MOV     R0, R8\n"
            "BL      sub_FF8719D4\n"
            "CMP     R0, #0\n"
            "LDMEQFD SP!, {R4-R8,LR}\n"
            //"ADREQ   R0, =0xFF871B00\n"        // "EMEM MOUNT ERROR!!!""
            "LDREQ   R0, =0xFF871B00\n"          // compiler does not like ADREQ
            "BEQ     0xFF81177C\n"               // qPrintf() --> this statement provokes an 'undefined symbol' error from GCC 451's 'ld'
            "LDMFD   SP!, {R4-R8,PC}\n"

Take a look at this post by reyalp for explanation/cure(s)

cheers,

wim

PS   Any tips/hints on activating <Alt> with up + left ? It always takes 3 - 5 attempts for me ... 
PS2 What trunk version is this based on ? version.inc only says 0.9.9 

Re: SD 4000 IS / IXUS 300 HS / IXY 30S porting thread
« Reply #131 on: 31 / October / 2010, 09:20:01 »

PS   Any tips/hints on activating <Alt> with up + left ? It always takes 3 - 5 attempts for me ... 


I found that holding the left button down then a light quick touch on the up button works best for me. Got in down to fine art - even with the camera in its underwater housing (CHDK helps here as the Ikelite housing doesn't support the jog wheel which is used for setting Tv, Av and EV - with CHDK I can set these with the the normal keys - great stuff!).

*

Offline pixeldoc2000

  • ****
  • 356
  • IXUS900Ti 1.00C, IXUS300HS 1.00D
    • pixel::doc homebase
Re: SD 4000 IS / IXUS 300 HS / IXY 30S porting thread
« Reply #132 on: 01 / November / 2010, 11:16:23 »
@whim
Thanks for reporting gcc 4.5.1 compiler error.
Fixed it: here.

PS   Any tips/hints on activating <Alt> with up + left ? It always takes 3 - 5 attempts for me ...  
As Beaver already wrote, it takes some time to get used to it... Holding down left and push up immediately does work.

PS2 What trunk version is this based on ? version.inc only says 0.9.9  
I regulary update github against current chdk (not chdkde) trunk (git master = svn trunk), currently #964.
« Last Edit: 01 / November / 2010, 11:34:26 by pixeldoc2000 »

*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: SD 4000 IS / IXUS 300 HS / IXY 30S porting thread
« Reply #133 on: 01 / November / 2010, 21:10:50 »
Quote
As Beaver already wrote, it takes some time to get used to it... Holding down left and push up immediately does work.
Thanks, but I still don't get above 20 - 30 % success ... my thumb is too large for the button
and - as a left hander - on the wrong hand besides  :D

wim
 


Re: SD 4000 IS / IXUS 300 HS / IXY 30S porting thread
« Reply #134 on: 03 / November / 2010, 11:42:30 »
>RAW Image files size i get ATM: 15,1 MB (15.935.616 Bytes). But the files just contains gargabe. There is >still something wrong with raw buffer stuff.

I look now what other Cameras with the BSI 10 megapixel Sensor from sony get as filesize.

Casio fh100 have DNG and size 15.757.648

but Samsumg Wb2000 have srw Format and size is 25.201.724

If you like to see RAW images(maybe it help to find problem) you can look here

http://www.photographyblog.com/reviews/samsung_wb2000_review/sample_images/

and here

http://www.photographyblog.com/reviews/casio_ex_fh100_review/sample_images/
Ixus 1000 HS

Re: SD 4000 IS / IXUS 300 HS / IXY 30S porting thread
« Reply #135 on: 04 / November / 2010, 09:30:36 »
My EOS 5D Raws are 11-13 MB and the camera has a 12MP sensor. So around 10-15MB for a 10MP sensor sound reasonable.

*

Offline pixeldoc2000

  • ****
  • 356
  • IXUS900Ti 1.00C, IXUS300HS 1.00D
    • pixel::doc homebase
Re: SD 4000 IS / IXUS 300 HS / IXY 30S porting thread
« Reply #136 on: 11 / November / 2010, 16:22:48 »
My EOS 5D Raws are 11-13 MB and the camera has a 12MP sensor. So around 10-15MB for a 10MP sensor sound reasonable.
I guess the RAW file size is related to hook_raw_size() = 0xF32880 and sensor bit depth. So at least file size should be correct.

For the last days i tinkered around but made no real progress...
Still unable to get a valid RAW file. Also Video Override does not work anymore...

Re: SD 4000 IS / IXUS 300 HS / IXY 30S porting thread
« Reply #137 on: 13 / November / 2010, 07:52:29 »
The ixus 1000 HS seem have same problem.so its maybe something sensor specific.

http://chdk.setepontos.com/index.php?topic=5722.msg56941#msg56941

Quote
As Beaver already wrote, it takes some time to get used to it... Holding down left and push up immediately does work.
Thanks, but I still don't get above 20 - 30 % success ... my thumb is too large for the button
and - as a left hander - on the wrong hand besides  :D

wim
 

the IX1000 use for the alt key the set button press longer than 0.6 sec, because i think the buttons on this cam are too fragile that they survive often the strong press need to press both keys together.

if you find it usefull you can look at keyb.c source

http://chdk.setepontos.com/index.php?topic=5722.msg56903#msg56903

Note: the IX1000 set a bit on key press and the other Canon clear a bit on keypress, so you cant use this code without modifaction and try it out i think.
Ixus 1000 HS


*

Offline BigYank

  • *
  • 2
  • IXUS300HS 1.00D
Re: SD 4000 IS / IXUS 300 HS / IXY 30S porting thread
« Reply #138 on: 01 / December / 2010, 16:25:25 »
Not much activity here.  Are you guys giving up ?

I finally built my own version of the CHDK.  I wanted to use the CHDK Compiler Shell tool.  To get that to work with the github.com/pixeldoc2000/chdk I changed the top Makefile to include the SD4000 lines.  Pixeldoc: Am I allowed to check back into your github?  Should I ?

Other minimal improvement I can contribute are the default positions and colors in conf.c

Also, I notice a problem with Video, can someone confirm :
When the memory card is blank (all pictures/videos erased), the first video records for 5 seconds, then the camera reboots.  You get a message from Canon firmware that says something like "An error has occurred, the camera has to reboot".  The ~5 seconds of video are still on the card, and the subsequent videos record normally.


*

Offline pixeldoc2000

  • ****
  • 356
  • IXUS900Ti 1.00C, IXUS300HS 1.00D
    • pixel::doc homebase
Re: SD 4000 IS / IXUS 300 HS / IXY 30S porting thread
« Reply #139 on: 01 / December / 2010, 16:56:25 »
Not much activity here.  Are you guys giving up ?
No, but shifted my focus working on chdk trunk.
I've made so improvements not compiled in latest beta...
Also, my daytime job likes to keep me very busy...
sometimes it's not fun to support window$ and linux all day and chdk at night...

Pixeldoc: Am I allowed to check back into your github?  Should I ?
github default is readonly. Maybe create a git / svn patch for starters.
I can give you write permission on github if you want.

Other minimal improvement I can contribute are the default positions and colors in conf.c
Please create a patch.

Also, I notice a problem with Video, can someone confirm :
When the memory card is blank (all pictures/videos erased), the first video records for 5 seconds, then the camera reboots.  You get a message from Canon firmware that says something like "An error has occurred, the camera has to reboot".  The ~5 seconds of video are still on the card, and the subsequent videos record normally.
Have to test this...
« Last Edit: 01 / December / 2010, 17:01:19 by pixeldoc2000 »

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal