PowerShot SX220 HS - Porting Thread

  • 562 Replies
  • 88645 Views
  • Publish
    Re: PowerShot SX220 & SX230 HS - Porting Thread
    « Reply #70 on: 20 / May / 2011, 04:50:33 »
    Advertisements
    @funnel

    Have you test if on sx220 work chdk ptp and the switch to the shooting mode ?
    Ixus 1000 HS

    *

    Offline funnel

    • ****
    • 349
  • Publish
    Re: PowerShot SX220 & SX230 HS - Porting Thread
    « Reply #71 on: 20 / May / 2011, 06:53:15 »
    No. PTP doesn't work for me. ptpCamGui 2.0.95 log shows:

    Quote
    ** init() start ...
    >> version << error: camera has unsupported camera version 0.2; some functionality may be missing or cause unintented consequences
    ptpcam: 2.0
    camera: 0.2 (Length: 142)
    ** init() fail
    ** init() start ...
    >> version << ptpcam: 2.0
    camera: 0.2 (Length: 24)
    >> shutdown
    ** init() fail

    Then the camera shuts down.

    *

    Offline msl

    • *****
    • 1173
    • A720 IS, SX220 HS 1.01a
      • CHDK inside
  • Publish
    Re: PowerShot SX220 & SX230 HS - Porting Thread
    « Reply #72 on: 20 / May / 2011, 08:32:09 »
    camera: 0.2 (Length: 142)

    It's seems you use an old ptp protocol. Since changeset 1155 ptpCamGui (current 2.0.99) and reyalp's ptp client needs version 2.0 of chdk ptp protocol.

    msl
    German CHDK pages:  CHDK forum | CHDK inside | CHDK Twitter News by msl | Download CHDK-DE (Autobuild)
    Note: SDM violates the GPL rules!

    *

    Offline funnel

    • ****
    • 349
  • Publish
    Re: PowerShot SX220 & SX230 HS - Porting Thread
    « Reply #73 on: 20 / May / 2011, 11:08:44 »
    Yes. I updated the trunk and now it works. It goes into PTP mode only if I don't have any pictures on memory card, otherwise it crashes.
    Romlog after crash:
    Quote
    ASSERT!! ReadFDir.c Line 466
    Task ID: 44433503
    Task name: TrnsCtrlTask0

    @funnel

    Have you test if on sx220 work chdk ptp and the switch to the shooting mode ?

    Everything works except when I want to start a video recording just takes a picture.


    *

    Offline sylikc

    • **
    • 66
    • SX230HS 1.00c, SD750 1.02a ;)
  • Publish
    Re: PowerShot SX220 & SX230 HS - Porting Thread
    « Reply #74 on: 21 / May / 2011, 04:25:15 »
    I've updated http://chdk.wikia.com/wiki/Canon_Basic/Scripts/Dumper#Universal_dumper to hopefully work on cameras with the new start address.

    Thanks reyalp for the modification.  I was able to successfully dump the firmware for the SX230 HS.  

    I'm going to start a new thread specifically for that camera as per fe50's original comment way back on page 1...

    /sylikc
    « Last Edit: 21 / May / 2011, 04:55:07 by sylikc »
    props to TPC + PhyrePhox for SD750 work: IXUS75/SD750 1.01a | 1.00b | 1.02a Thread
    props to quietschi for multipartition support + button fixes!
    SD750 bracketing issues

    *

    Offline funnel

    • ****
    • 349
  • Publish
    Re: PowerShot SX220 HS - Porting Thread
    « Reply #75 on: 23 / May / 2011, 16:04:33 »
    Somone asked me for the latest source, so here it is.

    Source:
    http://www.zshare.net/download/905177643352fa86/

    Binary:
    http://www.zshare.net/download/9051785961e7a80d/

    *

    Offline vit40

    • ****
    • 276
  • Publish
    Re: PowerShot SX220 HS - Porting Thread
    « Reply #76 on: 25 / May / 2011, 15:09:52 »
    Downloaded a dng file from page 4 of this thread

    Exif tag "CFA Repeat Pattern Dim" (0x828d) is wrong. Should be "2 2" and not "3 3". Otherwise Camera Raw 6.4 refuses to open the file. It's usual RGGB pattern, as correctly described with tag "CFA Pattern" in this dng. With this tag set to "2 2" I can open it with both ACR and dcraw.

    Exif Tag Active Area (60 168 3068 4168) is also wrong. Since I don't have matching jpeg, I can't say what's the right value, but setting iz to (56 164 3056 4164) eliminated dead areas on the right and bottom. If someone post jpg + dng combination, I hope I could determine the right value. But - since this camera probably also corrects distortion of the lens (like SX130 and SX200), we need combination where this correction is zero (if exist). On SX130 and SX200 it was at maximum zoom position

    Color matrix also needs some tuning. It looks like daylight shot, so color temperature 7550K and tint -20 is quite off. Shoud be 5000-5500 K, tint around +10
    « Last Edit: 25 / May / 2011, 15:15:20 by vit40 »

    *

    Offline funnel

    • ****
    • 349
  • Publish
    Re: PowerShot SX220 HS - Porting Thread
    « Reply #77 on: 25 / May / 2011, 16:43:28 »
    Thank you. That DNG is an old one. Later I changed the CFA repeat pattern dim back to 2.2 and the active area is now
    Quote
    #define CAM_ACTIVE_AREA_X1         68
    #define CAM_ACTIVE_AREA_Y1         10
    #define CAM_ACTIVE_AREA_X2         4168
    #define CAM_ACTIVE_AREA_Y2         3060


    Regarding the colors temperature I compared the DNGs with the JPGs and look the same to me. I will post some DNG+JPGs for you to compare tomorrow. I develop the RAW files with Photoshop and I get really good results. Lens distorsion is huge without zoom, in Photoshop I have to apply 90 out of 100 to correct it.


    *

    Offline vit40

    • ****
    • 276
  • Publish
    Re: PowerShot SX220 HS - Porting Thread
    « Reply #78 on: 25 / May / 2011, 17:01:47 »
    If you use WB As shot, then WB should be the same as on jpg no matter what color matrix in a dng, because color multipliers supplied by the camera are used. But color temperature and tint calculated by ACR (and other programs) is wrong, so if you use WB presets, you get wrong WB.

    I'm still available to make a dng profile for this (and other) CHDK camera(s) (see thread dng profile generator), if someone wants it - just we have to go through that specific procedure (if there is a zoom position where camera doesn't apply correction of lens distortion, because my specific test image must be placed precisely in a raw image)

    May I get some short info about the current status of CHDK port for SX220 - I'm considering purchasing it because of HD video capability. How stable it is, are all features supported etc ...
    « Last Edit: 26 / May / 2011, 02:07:20 by vit40 »

    *

    Offline funnel

    • ****
    • 349
  • Publish
    Re: PowerShot SX220 HS - Porting Thread
    « Reply #79 on: 26 / May / 2011, 04:08:38 »
    Basically most of the "must have" features are supported (scripts, RAW, overrides, bracketing). The Zebra and Edge overlay position need to be fixed, histogram is working, PTP working if no shoots are on SD card (romlog ReadFDir.c assert).

    The most annoying bug I have to fix is after DNG raw shooting in continuous mode and then switching to PLAY mode causes the camera to crash (romlog Cache.c assert).


     

    Related Topics