SX240 HS Porting Thread - page 10 - DryOS Development - CHDK Forum

SX240 HS Porting Thread

  • 174 Replies
  • 69093 Views
Re: SX240 HS Porting Thread
« Reply #90 on: 02 / September / 2012, 16:08:59 »
Advertisements
Hi nafraf.
Here are the two photos of the "Enhanced Photo Operations" menus. I hope this helps you.

greetings - Tom -
the sx240 is build on 1.1.0 (the stable trunk) and the sx260 on 1.2.0  (the current dev trunk)
Ported :   A1200    SD940   G10    Powershot N    G16

Re: SX240 HS Porting Thread
« Reply #91 on: 02 / September / 2012, 19:23:01 »
Hi nafraf, here the exact build info which is shown in the CHDK "Miscellaneous" menu in camera:

SX260:

CHDK Ver: CHDK 1.2.0-sx260
Revision: 2054
Date: Aug 23 2012
Time: 21:39:13
Camera: sx260hs
FW Vers: 100c
Compiler: GCC 4.5.1

SX240:
CHDK Ver: CHDK 1.2.0
Revision: 2110
Date: Sep 2 2012
Time: 07:24:06
Camera: sx240hs
FW Vers: 100c
Compiler: GCC 4.6.0

I hope this helps (are this the right infos you needed?) :).

I noticed that at camera start the firmware info box is shown first in grey and changes than to red with sx260 fw and shown only in grey with sx240 fw.

(If it is like waterwingz said, maybe the ISO override problem could be solved by using the dev trunk?)

I did the benchmark test in the CHDK menu too. Seems that the slow DNG saving has really to do with the class4 card (its almost 4-5 times slower than the SanDisk: 3700 to 19000 in RAW writing, other values similar...).
Will switch booth firmwares on the cards tomorrow, so that I work with yours on the fast card  ;).

greetings - Tom -

Re: SX240 HS Porting Thread
« Reply #92 on: 04 / September / 2012, 03:12:06 »
I feel so guilty. I asked you guys for help and I didnt vist for one month   :-[ and already 7 pages..
happy that things are rolling forward finally..
Will try to contribute as much as I can.. for that I have read all these pages.
« Last Edit: 04 / September / 2012, 03:37:36 by Satz »

*

Offline nafraf

  • *****
  • 1308
Re: SX240 HS Porting Thread
« Reply #93 on: 04 / September / 2012, 19:02:37 »
Has someone tested if "show battery temperature" works?


*

Offline lapser

  • *****
  • 1093
Re: SX240 HS Porting Thread
« Reply #94 on: 04 / September / 2012, 19:36:41 »
Has someone tested if "show battery temperature" works?
Works on SX260. All 3 temperatures work, and seem correct.
EOS-M3_120f / SX50_100b / SX260_101a / G1X_100g / D20_100b
https://www.youtube.com/user/DrLapser/videos

*

Offline nafraf

  • *****
  • 1308
Re: SX240 HS Porting Thread
« Reply #95 on: 04 / September / 2012, 21:46:25 »
In Auto mode on the dial, DNG files are saved but are corrupted (see example below). The files are good in other modes on the dial (P, Live)

This problem exists in sx240.100a, sx260.100b and  maybe in sx240.100b too, but I have not test report.
I checked buffers address in *hook_raw_image_addr() and *hook_alt_raw_image_addr() using sx230.101b as reference and addresses seems to be OK.

Is there any other thing that I could check? or any other test to do?
Thanks.

@lapser, thanks for report
« Last Edit: 04 / September / 2012, 21:48:33 by nafraf »

*

Offline lapser

  • *****
  • 1093
Re: SX240 HS Porting Thread
« Reply #96 on: 05 / September / 2012, 00:31:30 »
I can't seem to find a program that can open the CRW files produced by the SX260. It would be nice to look at those files and see if they're corrupt too. If not, the problem is in DNG conversion. I tried all the usual programs, and none of them open CRW files from my camera.

Since the DNG files I see from Auto mode have some good lines and some bad, I suspect it's a timing issue. I've seen that kind of thing doing a screen grab while the graphics card is updating. Maybe CHDK is processing the RAW data while the camera is still storing or manipulating it? Auto mode takes longer than other modes. Maybe the camera takes longer to create a JPG in Auto mode, and CHDK starts accessing the RAW buffer at the same time as the camera (CHDK loses). When the camera finishes, CHDK gets full access to the buffer and the rest of the picture is OK. Just a theory.

If you can add a 3 second delay or so at the start of the RAW processing routines, I'd be glad to test it again.
EOS-M3_120f / SX50_100b / SX260_101a / G1X_100g / D20_100b
https://www.youtube.com/user/DrLapser/videos

Re: SX240 HS Porting Thread
« Reply #97 on: 05 / September / 2012, 08:33:18 »
I can't seem to find a program that can open the CRW files produced by the SX260. It would be nice to look at those files and see if they're corrupt too. If not, the problem is in DNG conversion. I tried all the usual programs, and none of them open CRW files from my camera.
http://chdk.setepontos.com/index.php?topic=7928.msg89526#msg89526

Quote
Since the DNG files I see from Auto mode have some good lines and some bad, I suspect it's a timing issue. I've seen that kind of thing doing a screen grab while the graphics card is updating. Maybe CHDK is processing the RAW data while the camera is still storing or manipulating it? Auto mode takes longer than other modes. Maybe the camera takes longer to create a JPG in Auto mode, and CHDK starts accessing the RAW buffer at the same time as the camera (CHDK loses). When the camera finishes, CHDK gets full access to the buffer and the rest of the picture is OK. Just a theory.

If you can add a 3 second delay or so at the start of the RAW processing routines, I'd be glad to test it again.
The camera uses multiple buffers to capture and process RAW images.  While it could be timing,  its more likely the CHDK port is using the wrong ( i.e. not current) buffer.

Ported :   A1200    SD940   G10    Powershot N    G16


Re: SX240 HS Porting Thread
« Reply #98 on: 05 / September / 2012, 11:26:41 »
Hi guys,
Thanks for working on the SX240!
I really would like to contribute but my knowledge about CHDK and the (unlocked) camera features seems inadequate to say anything sensible about it.

*

Offline reyalp

  • ******
  • 14096
Re: SX240 HS Porting Thread
« Reply #99 on: 15 / September / 2012, 21:33:46 »
Using the patch posted by nafraf, I've added the sx240 to the stable http://mighty-hoernsche.de and development http://mighty-hoernsche.de/trunk/ autobuilds. Please report whether they work as expected.
Don't forget what the H stands for.

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal