Author Topic: A1000IS porting...  (Read 41306 times)

Offline diablo

  • Rookie
  • *
  • Posts: 17
A1000IS porting...
« on: 21 / November / 2008, 12:01:31 »
Hi,

       I am a newbie here. I started porting CHDK for A1000IS, firmware ver. 100b. I am done 30-40% with porting. I copied the tasks template from other porting efforts. I will upload the code and update the task template in my next mail. Just to hint you where I am, getting led-blinker, GUI, dumping RAW images, live histogram.

Tasks:

    * Get the cam started.
          o start cam under chdk-control without any extensions
          o create led-blinker-test-task
      Progress: not done
    * GUI output.
          o General output
          o Histogramm
          o Zebra mode
      Progress: not done
    * hijack Keyboard handler (this includes USB-support)
      Progress: not done
    * hijack shoot-task.
          o control darkframe subtraction.
          o implement raw-save:
      Progress: not done
    * hijack movie-task.
      Progress: not done
    * Include multipartition/boot from SDHC support.
      Progress: not done
    * BASIC scripting.
      Progress: not done
    * Lua scripting.
      Progress: not done
    * Overrides.
          o AV
          o TV
          o ISO
          o Subject Distance
          o Bracketing in cont' mode
      Progress: not done
    * Image enhancement.
          o Bad Pixel removal
          o custom curves
      Progress: not done

- Diablo
« Last Edit: 21 / November / 2008, 12:29:42 by diablo »

Offline diablo

  • Rookie
  • *
  • Posts: 17
Re: A1000IS porting...
« Reply #1 on: 22 / November / 2008, 10:42:50 »
Hi,

Here is the update along with a1000 specific changes attached with this. Lot of below tasks need to be tested to know whether they are working or they need more work.

    * Get the cam started.
          o start cam under chdk-control without any extensions
          o create led-blinker-test-task
      Progress: done
    * GUI output.
          o General output
          o Histogramm
          o Zebra mode
      Progress: done
    * hijack Keyboard handler (this includes USB-support)
      Progress: not done
    * hijack shoot-task.
          o control darkframe subtraction.
          o implement raw-save: Raw files saved. Tried to use them but all tools I tried returned format error.
      Progress: not done
    * hijack movie-task.
      Progress: not done
    * Include multipartition/boot from SDHC support.
      Progress: not done
    * BASIC scripting.
      Progress: not done
    * Lua scripting.
      Progress: not done
    * Overrides.
          o AV
          o TV
          o ISO
          o Subject Distance
          o Bracketing in cont' mode
      Progress: not done
    * Image enhancement.
          o Bad Pixel removal
          o custom curves
      Progress: not done

- Diablo

Offline diablo

  • Rookie
  • *
  • Posts: 17
Re: A1000IS porting...
« Reply #2 on: 22 / November / 2008, 11:18:52 »
Hi,

I am uploading compiled final binary. Please test it and post your comments.
Use cardtricks to make your SD card bootable, copy the attached file to the card and lock the card.
Note that it will work only on firmware version 1.00b.

-Diablo

Offline diablo

  • Rookie
  • *
  • Posts: 17
Re: A1000IS porting...
« Reply #3 on: 24 / November / 2008, 11:47:53 »
Hi Guys,

I hit one more blocker. This one, I may need help from some experienced ones.

At present, the scripts that test zoom are working fine. But scripts that override iso, exposure, shutterspeed are not at all able to change any values.

The function "SetPropertyCase" which is used for overriding any property is causing some problem. From script I could call set (tv96,av96,iso) and a subsequent get (tv96,av96,iso) to verify whether set is working fine or not. I am not able to change any of these with set and get displays the same value all the time.

I verified with A720 and G9 cameras and found the mapping of SetPropertyCase and GetPropertyCase are correct. I then started suspecting the property IDs. Where can I find the property IDs? I saw that all(most) digic3 cameras use propert2.h. Can I be sure that property IDs are same in A1000IS? Does somebody faced similar problem with setting and getting properties?

-Diablo

Offline reyalp

  • Guru Member
  • ******
  • Posts: 4468
Re: A1000IS porting...
« Reply #4 on: 24 / November / 2008, 12:02:29 »
There are two currently known propcase sets. Common values can be found in propset1.h and propset2.h

It is possible that canon has come up with yet another one for the A1000.

If you have the property case browser (in the debug menu) working, you can use that to display various propcase values. Pick a known propcase from one of the sets, and watch it to see if it has the expected values when you change settings on the camera.

edit:
see also PropertyCase - CHDK Wiki
« Last Edit: 24 / November / 2008, 12:07:05 by reyalp »
Don't forget what the H stands for.

Offline diablo

  • Rookie
  • *
  • Posts: 17
Re: A1000IS porting...
« Reply #5 on: 24 / November / 2008, 12:23:35 »
Thanks Realp. I will enable propertyIDs in debugger and see if I could find the cause of the problem and resolve it.

Offline diablo

  • Rookie
  • *
  • Posts: 17
Re: A1000IS porting...
« Reply #6 on: 25 / November / 2008, 14:07:19 »
Hi,

I couldn't spend much time on this. But I tried to debug set and get of PROPCASE_TV. This camera doesn't have manual control to change shutter speed. I could get this property that matches with the shutterspeedtable but I couldn't set it. Can it happen that it is readonly? What can we do if something is readonly?

-Diablo

Offline whim

  • Guru Member
  • ******
  • Posts: 1954
  • A620/A630/A590-101b/i70-101b/i870-101a/i300
Re: A1000IS porting...
« Reply #7 on: 25 / November / 2008, 14:54:37 »
Could it be that the cam just overwrites the values you set ?
I would imagine that the cam keeps updating the memory location
until the exposure is locked.
Just my 2 c

wim

Offline diablo

  • Rookie
  • *
  • Posts: 17
Re: A1000IS porting...
« Reply #8 on: 26 / November / 2008, 02:09:42 »
Hi,

Thanks for your help whim. I found root cause of this problem. The function mode_get() was never returning MODE_PLAY. Now I can override the aperture,exposure and ISO values. Bracketing is working. I will upload sources and binary soon.

-Diablo

CHDK Forum

Re: A1000IS porting...
« Reply #8 on: 26 / November / 2008, 02:09:42 »

Offline PhyrePhoX

  • Global Moderator
  • Guru Member
  • *****
  • Posts: 2254
  • make RAW not WAR
    • PhyreWorX
Re: A1000IS porting...
« Reply #9 on: 26 / November / 2008, 02:12:48 »
remember to upload the sources providing a diff file, will make integration into svn much easier :)

Offline michaelkenward

  • Rookie
  • *
  • Posts: 13
Re: A1000IS porting...
« Reply #10 on: 26 / November / 2008, 03:01:53 »
Another newbie. This time, though, one sitting here awaiting the output.

Happy to test anything you want checked. Got the camera last week.

Thanks in advance for the effort.


MK
Powershot A1000IS, EOS 400D
Canon A1 (x2) etc....

Offline tyrantt23

  • Rookie
  • *
  • Posts: 17
Re: A1000IS porting...
« Reply #11 on: 26 / November / 2008, 09:09:47 »
Sorry for the newbie post, but how do I check to see what's the firmware version on my camera?
New member here. Just wanted to say, thank you so much for your efforts on the development for the Canon A1000IS. I'm looking forward to using it to its full potential. :)

Once again, thanks.

Offline letsapocalypso

  • Newbie
  • *
  • Posts: 2
Re: A1000IS porting...
« Reply #12 on: 26 / November / 2008, 12:49:19 »
Like michaelkenward and tyrantt23, I'm also a newbie with a new A1000IS...

Diablo - We're all deeply appreciative of your time and hard work towards porting this model, and I'd like to help with the effort in whatever way possible...

I'll be uploading the next binary you post, and trying to find any remaining bugs not listed in the "known issues"...

Thanks again, Diablo!

Offline diablo

  • Rookie
  • *
  • Posts: 17
Re: A1000IS porting...
« Reply #13 on: 26 / November / 2008, 15:22:16 »
Hi,

As you might already know if you read my first post, I am also a newbie. To add more to that, this is my first camera and I never heard of CHDK till one month back.

Refer to FAQ(FAQ - CHDK Wiki) if you have any basic question in installing or using CHDK

Though I already found some issues, I am uploading the latest binary that I have.

Note that, this is supported only for A1000IS, version 100b. Refer FAQ for finding which version you have.

-Diablo

Offline michaelkenward

  • Rookie
  • *
  • Posts: 13
Re: A1000IS porting...
« Reply #14 on: 26 / November / 2008, 15:48:49 »
Sorry for the newbie post, but how do I check to see what's the firmware version on my camera?

This is question number 3 in the FAQ:

FAQ - CHDK Wiki
MK
Powershot A1000IS, EOS 400D
Canon A1 (x2) etc....

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal