A2200 IS porting thread - page 6 - DryOS Development - CHDK Forum

A2200 IS porting thread

  • 515 Replies
  • 198958 Views
Re: A2200 IS porting thread
« Reply #50 on: 22 / November / 2011, 16:15:47 »
Advertisements
Update report!

I'm done with the grunt work, and I'm posting the first alpha release (also found in the first post of this thread):

* alpha build (2011.11.22): DISKBOOT.BIN use the Card Lock method
* alpha source (2011.11.22): chdk.a2200.zip based on CHDK svn version 1364
* compiler used - linux (2011.11.22): linux-toolchain_arm_gcc-4.6.0.zip because somebody might need it

It boots, it's buggy and it just might take a picture :P (first picture taken can be seen here, Ultra Intervalometer script was used)

What doesn't work is saving RAW images (any pointers where to start debuging?), screen flickers with CHDK widgets, some are invisible (where can I change the default colors for the menu?), sometimes the keyboard freezes (viewfinder works, but cant change modes or take pictures) and probably a whole lot more that hasn't been tested yet.

Next stop, to debug it and fine tune it.

Re: A2200 IS porting thread
« Reply #51 on: 22 / November / 2011, 16:45:28 »
It boots, it's buggy and it just might take a picture :P
Excellent progress then !

Quote
What doesn't work is saving RAW images (any pointers where to start debuging?).
What does is do when you enable RAW ?


Quote
screen flickers with CHDK widgets,
somewhat normal in shooting mode.  Are they stable in playback mode ?

Quote
some are invisible (where can I change the default colors for the menu?),
Pallets are defined in core/gui_draw.h.   The particular pallet used for any camera is defined in its platform_camera.h file.

Quote
sometimes the keyboard freezes (viewfinder works, but cant change modes or take pictures) and probably a whole lot more that hasn't been tested yet.

good luck ....
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline dejco

  • *
  • 20
Re: A2200 IS porting thread
« Reply #52 on: 23 / November / 2011, 09:44:37 »
hey, I finally managed to figure out how to boot CHDK and have few questions:
1: is it suppose to have Black&White logo and go to playback mode when I just quickly press On/Off button to start the camera?
2: is it suppose to have orange logo and go to record mode when I just press and hold On/Off button to start the camera?
3: How do I open Menu?

Histogram shows if I press shutter to half + up and something that want to be zebra(just some dots and lines) if press shutter to half + left

Canon A2200 CHDK



dejco

Re: A2200 IS porting thread
« Reply #53 on: 23 / November / 2011, 09:50:20 »
What does is do when you enable RAW ?

If I enable raw, then something gets saved, but dcraw cannot decode it. If I enable saving as DNG, when taking a picture 100CANON folder gets created, but then the camera crashes (shuts down).

Re: A2200 IS porting thread
« Reply #54 on: 23 / November / 2011, 09:56:32 »
If I enable raw, then something gets saved, but dcraw cannot decode it.
You probably need to take 15 minutes and read through this :

CHDK Forum thread on RAW
CHDK Wiki Page about RAW
CHDK Wiki Page about Raw Software

Dcraw isn't magic- the author needs to be told about your camera's format before it will do much for you.

Quote
If I enable saving as DNG, when taking a picture 100CANON folder gets created, but then the camera crashes (shuts down).
Start with getting RAW working I guess (it might already be working as you will see when you read the links).  We can work on DNG next.

Ported :   A1200    SD940   G10    Powershot N    G16

Re: A2200 IS porting thread
« Reply #55 on: 23 / November / 2011, 09:59:14 »
hey, I finally managed to figure out how to boot CHDK and have few questions:
1: is it suppose to have Black&White logo and go to playback mode when I just quickly press On/Off button to start the camera?
2: is it suppose to have orange logo and go to record mode when I just press and hold On/Off button to start the camera?
3: How do I open Menu?

Histogram shows if I press shutter to half + up and something that want to be zebra(just some dots and lines) if press shutter to half + left

1,2. B&W /  gray logo is for playback mode, orange is for shooting mode. Yes, to get to the shooting mode the on/off button should be pressed longer. I'll adjust the color scheme of widgets in the next release.

3. To activate ALT mode press DISP. + FUNC. SET keys. You should see gray text on the bottom. Menu then opens CHDK menu, FUNC. SET opens script menu. Rest is in the usage gide .

And yes, I know, the screen flickers. First I'll work on getting RAW to work, then the rest of the bugs.

Re: A2200 IS porting thread
« Reply #56 on: 23 / November / 2011, 10:01:51 »
You probably need to take 15 minutes and read through this :

CHDK Forum thread on RAW
CHDK Wiki Page about RAW
CHDK Wiki Page about Raw Software

Thanks, already started on some of these.

Re: A2200 IS porting thread
« Reply #57 on: 23 / November / 2011, 10:20:01 »
1,2. B&W /  gray logo is for playback mode, orange is for shooting mode. Yes, to get to the shooting mode the on/off button should be pressed longer. I'll adjust the color scheme of widgets in the next release.
This is not "normal" - its because of the pallet choice you made in platform_camera.h.  Once you get that 'right' the logo will be red (not orange or grey) in both shooting and playback mode.

Although the concept of a different logo in shooting or playback mode is intriguing.


Ported :   A1200    SD940   G10    Powershot N    G16

Re: A2200 IS porting thread
« Reply #58 on: 23 / November / 2011, 11:05:48 »
Although the concept of a different logo in shooting or playback mode is intriguing.

That was accidental, since I didn't know the color pallet yet. But on that note, I know the logo should be red, but are there any standard color rules for menus, text and widgets? Or will following the cues from pictures in the user guide be enough?

Re: A2200 IS porting thread
« Reply #59 on: 23 / November / 2011, 11:21:36 »
That was accidental, since I didn't know the color pallet yet. But on that note, I know the logo should be red, but are there any standard color rules for menus, text and widgets? Or will following the cues from pictures in the user guide be enough?
Here's what you need to do now that you have CHDK running (that makes this easier).

In playback mode,  go to the CHDK menu, scroll down to Visual Settings and from there, select any of the Colors settings ( for example, OSD Text ).   The palette you see there tell you the available colors in playback mode.  If you have another camera,  take a picture of that - it makes things easier.

Go to shooting mode and repeat the process listed above. Notice that colors displayed change somewhat - or maybe a lot.

The colors are numbered from the upper left hand corner,  across and then down until you reach the lower left hand corner -  0x00 to 0xFF  ( or 0 to 255 in decimal ).  What you want to do it find a palette in gui_draw.h where the colors defined there actually look like the color you see in the palette maps from above.  eg
Code: [Select]
#define COLOR_RED           0x2BDoes the color in row 3, column 12 look like it's red ? If you can't get a good match,  then you might need to create another palette for gui_draw.h.

Things get easier if you implement colored icons.  The code there allows you a different color to palette mapping in shooting mode or playback mode.  But one step at a time here.

UPDATE :  you can change some of the color choices in the Visual Settings menu but you won't get the logo right until you get the correct palette number selected in your platform_camera.h file
Code: [Select]
    #define CAM_BITMAP_PALETTE 2
« Last Edit: 23 / November / 2011, 11:25:08 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

 

Related Topics


SimplePortal © 2008-2014, SimplePortal