IXUS 170 Porting

  • 64 Replies
  • 13194 Views
  • Publish
    Re: IXUS 170 Porting Attempt
    « Reply #40 on: 11 / January / 2017, 03:50:24 »
    Advertisements
    Attached is an updated, but still a work-in-progress, source code for the IXUS 170.
    However I don't have this camera, so currently, I don't plan on completing this port.

    Also see here http://chdk.setepontos.com/index.php?topic=12385.msg126220#msg126220

    H-H

    I recently bough this camera and I'm interested in assisting anyway I can to get this camera working with CHDK. I realize Hardware_Hacker has stated no plans to finish this port.


    I downloaded Hardware_Hacker's IXUS 170 rar source from a year ago. I have installed CHDK Compiler GUI 0.0.288 and paired it with gcc 6.2.0 (EABI). I am a newbie to CHDK development but have a modicum of experience programming and scripting. I've been following CHDK for years, but this is my first attempt to get involved.


    I seem to have the GUI recognizing the folder I created with the latest CHDK source provided by the GUI, replacing the bin, loader, platform directories and cameralist.csv in the CHDK source with Hardware_Hacker's files. I get an error on compiling, indicated by an empty log file "Err.txt".


    I can see from Hardware_Hacker's log files included in the download that the 170 code does build for someone who knows what they are doing.


    I'd appreciate any assistance anyone can give. I'd be happy to test an existing build on my camera if someone who knows what they are doing can post it. Otherwise, I'd appreciate any bump in the right direction so that I can compile it myself.


    Thanks
    « Last Edit: 11 / January / 2017, 03:53:36 by mattjasb »

    *

    Offline blackhole

    • *****
    • 510
    • A590IS 101b
      • Planetary astrophotography
  • Publish
    Re: IXUS 170 Porting
    « Reply #41 on: 11 / January / 2017, 05:34:31 »
    Quote
    I'd appreciate any assistance anyone can give. I'd be happy to test an existing build on my camera if someone who knows what they are doing can post it. Otherwise, I'd appreciate any bump in the right direction so that I can compile it myself.
    You can try this for now, if you want and if you have a fw 100a.

  • Publish
    Re: IXUS 170 Porting
    « Reply #42 on: 12 / January / 2017, 02:19:57 »
    You can try this for now, if you want and if you have a fw 100a.

    Thanks blackhole. I'm happy to report success. I will post more details as I have time to test all the functions of CHDK.

    For now I can report:

    --Environment:--
    I believe I do have firmware 100A. ver.req doesn't seem to work with this camera as expected with newer cameras. CameraVersion.exe tool does not recognize images taken by the camera with the message "Unknown (0x3890000), but it does state "version" as "100 A". This is on a Canon factory refurbished camera bought on Amazon January 2017.

    I copied the files to a 2GB SD card formatted as FAT32 in Windows 7 Pro using Disk Managment run as administrator. Because the firmware update method of booting CHDK didn't work (see below) I used EOScard 1.40 to make the SD bootable.

    --Works:--
    CHDK boots when accessed through the "Play Mode" button.

    CHDK will run scripts, specifically tested was the "intervalometer.bas"

    CHDK will create DNG raw files in addition to JPEG. The sensor in the ELPH 170 actually seems to be reasonably low nose when compared to the extremely aggressive noise reduction applied in camera to the JPEGs. I had good results converting the DNG to TIFF in Photoshop CS5 and UFraw 0.19.2 on Windows 7 and 8.1 respectively.

    CHDK menus appear to work fine.

    Alt/Play button works fine.

    Shutter, zoom (digital/optical), "?"/help button, Func/Set, Disp, Eco, Auto/P mode toggle and flash toggle all work as expected.

    --Doesn't Work:--
    Firmware update using a non-bootable SD card and the camera's firmware update option in "Play Mode". Update firmware dialog on the camera shows with the text "Update firmware version? 1.0.0.0 --> 1.1.0.0" but selecting "OK" causes the camera to just power off unexpectedly with no LEDs or other dialogs.

    The power on button does nothing. Power off works fine (the same button). Entering "Play Mode" when the power is off loads CHDK. But attempting to power on the camera and load CHDK via the power on button does nothing - no LEDs, not power on, no lens extension. (NOTE: pushing the shutter button after powering on the camera with CHDK via the "Play Mode" button extends the lens and enters the default record mode function, this is the same result as the power on button working.)

    Thanks to all the CHDK developers for this awesome software, and especially to Hardware_Hacker and blackhole,. I will update this post with further tests of all CHDK functions I am familiar with as I use the camera.
    « Last Edit: 12 / January / 2017, 03:45:35 by mattjasb »

    *

    Offline blackhole

    • *****
    • 510
    • A590IS 101b
      • Planetary astrophotography
  • Publish
    Re: IXUS 170 Porting
    « Reply #43 on: 12 / January / 2017, 10:36:43 »
    Quote
    Thanks blackhole. I'm happy to report success. I will post more details as I have time to test all the functions of CHDK.
    Thank you for testing.
    Quote
    Thanks to all the CHDK developers for this awesome software, and especially to Hardware_Hacker and blackhole,. I will update this post with further tests of all CHDK functions I am familiar with as I use the camera.
    srsa_4c has made almost all, he is the most deserving for all this.
    Quote
    The power on button does nothing. Power off works fine (the same button). Entering "Play Mode" when the power is off loads CHDK. But attempting to power on the camera and load CHDK via the power on button does nothing - no LEDs, not power on, no lens extension. (NOTE: pushing the shutter button after powering on the camera with CHDK via the "Play Mode" button extends the lens and enters the default record mode function, this is the same result as the power on button working.)
    Can you please try this new test version, on / off button should now probably work well.

    EDIT:
    @mattjasb
     Can you please upload a jpg file somewhere and post a link here?
    « Last Edit: 12 / January / 2017, 11:42:38 by blackhole »


  • Publish
    Re: IXUS 170 Porting
    « Reply #44 on: 13 / January / 2017, 19:52:49 »
    Can you please try this new test version, on / off button should now probably work well.

    I can confirm that the new version fixes the issue with the power button. I will extensively test all functions of the camera and CHDK on the camera this weekend and report back if I find any other bugs.

  • Publish
    Re: IXUS 170 Porting
    « Reply #45 on: 13 / January / 2017, 20:01:56 »
    @mattjasb
     Can you please upload a jpg file somewhere and post a link here?

    Here is a JPEG from the camera for the EXIF data

    https://www.dropbox.com/s/uxtd595o4m78j3c/IMG_0022.JPG?dl=0

    *

    Offline blackhole

    • *****
    • 510
    • A590IS 101b
      • Planetary astrophotography
  • Publish
    Re: IXUS 170 Porting
    « Reply #46 on: 14 / January / 2017, 10:07:28 »
    Can you please try this new test version, on / off button should now probably work well.

    I can confirm that the new version fixes the issue with the power button. I will extensively test all functions of the camera and CHDK on the camera this weekend and report back if I find any other bugs.
    Thanks for the report.
    For more intense testing I recommend a test version from this post.
    Previous versions can cause a system crash on camera, if you use a SD or ND filter overrides.
    You can try again and "firmware update" method for starting chdk.

    *

    Offline momo

    • *
    • 13
  • Publish
    Re: IXUS 170 Porting
    « Reply #47 on: 24 / March / 2017, 09:01:27 »
    Thanks for the report.
    For more intense testing I recommend a test version from this post.
    Previous versions can cause a system crash on camera, if you use a SD or ND filter overrides.
    You can try again and "firmware update" method for starting chdk.

    Is the source available?
    Thanks.


    *

    Offline blackhole

    • *****
    • 510
    • A590IS 101b
      • Planetary astrophotography
  • Publish
    Re: IXUS 170 Porting
    « Reply #48 on: 24 / March / 2017, 17:36:32 »
    Thanks for the report.
    For more intense testing I recommend a test version from this post.
    Previous versions can cause a system crash on camera, if you use a SD or ND filter overrides.
    You can try again and "firmware update" method for starting chdk.

    Is the source available?
    Thanks.
    https://chdk.setepontos.com/index.php?topic=12471.msg123718#msg123718


     

    Related Topics