Author Topic: A430 porting started - histogram working  (Read 12815 times)

Offline Nachtjagdgeschwader

  • Newbie
  • *
  • Posts: 4
Re: A430 porting started - histogram working
« Reply #30 on: 07 / July / 2009, 02:04:20 »

Offline reyalp

  • Guru Member
  • ******
  • Posts: 4468
Re: A430 porting started - histogram working
« Reply #31 on: 07 / July / 2009, 02:28:49 »
CHDK doesn't affect jpeg quality.

For raw, see the stickies in this thread http://chdk.setepontos.com/index.php/board,15.0.html
Don't forget what the H stands for.

Offline zfeet

  • Jr. Member
  • **
  • Posts: 67
Re: A430 porting started - histogram working
« Reply #32 on: 07 / July / 2009, 10:24:30 »

Offline Nachtjagdgeschwader

  • Newbie
  • *
  • Posts: 4
Re: A430 porting started - histogram working
« Reply #33 on: 07 / July / 2009, 15:56:20 »

Offline zfeet

  • Jr. Member
  • **
  • Posts: 67
Re: A430 porting started - histogram working
« Reply #34 on: 07 / July / 2009, 17:32:50 »
Thanks for the feedback! The port is not yet ready so any input will be helpful. I'll try to fix the problem.

Offline Cid_Campeador

  • Newbie
  • *
  • Posts: 2
Re: A430 porting started - histogram working
« Reply #35 on: 07 / July / 2009, 21:32:12 »
Thanks guys! i tried the firmware on my a430 and it works! I'm so exited about this.

As a side note, i can't change the shutter speed, when i put an override and i press the shutter, the camera shuts down. Am I doing something wrong?

Cheers from Argentina! keep up the great work.

Offline zfeet

  • Jr. Member
  • **
  • Posts: 67
Re: A430 porting started - histogram working
« Reply #36 on: 07 / July / 2009, 23:05:14 »
Ok, bracketing seems to work at least it looks like it does. I don't need it myself so I really don't know how to test it. Zebra is working as well. Still cannot get the DNG to work...

Cid_Campeador: Could you try changing shutter speed and see if it works

Binary:
http://www.zshare.net/download/623508728f321de4/

Source:
http://www.zshare.net/download/623510746f626eb5/

Offline zfeet

  • Jr. Member
  • **
  • Posts: 67
Re: A430 porting started - histogram working
« Reply #37 on: 07 / July / 2009, 23:18:44 »
Thanks guys! i tried the firmware on my a430 and it works! I'm so exited about this.

As a side note, i can't change the shutter speed, when i put an override and i press the shutter, the camera shuts down. Am I doing something wrong?

Cheers from Argentina! keep up the great work.

Seems to be working, at least for me. If any lights are on after pressing the shutter the camera is still processing.

Offline Nachtjagdgeschwader

  • Newbie
  • *
  • Posts: 4
Re: A430 porting started - histogram working
« Reply #38 on: 08 / July / 2009, 00:04:44 »
Ok, bracketing seems to work at least it looks like it does. I don't need it myself so I really don't know how to test it. Zebra is working as well. Still cannot get the DNG to work...
Yes it works now. Thanks.

CHDK Forum

Re: A430 porting started - histogram working
« Reply #38 on: 08 / July / 2009, 00:04:44 »

Offline zfeet

  • Jr. Member
  • **
  • Posts: 67
Re: A430 porting started - histogram working
« Reply #39 on: 08 / July / 2009, 01:07:16 »
I merged the current source with trunk and noticed that this in core/gui.c crashes a430 and has to be commented out. Any ideas anyone?

Code: [Select]
       if (conf.debug_display == DEBUG_DISPLAY_PARAMS){
            extern long* FlashParamsTable[];
            char s[30];
            int count;

            for (i=0;i<10;i++){
                r = 0;
                p = debug_propcase_page*10+i;
                if (p>=get_flash_params_count()) {
                    sprintf(sbuf, "%3d: This parameter does not exists", p);
                } else  {
                    len=FlashParamsTable[p][1]>>16;
                    if ((len==1)||(len==2)||(len==4)){
                        get_parameter_data(p, &r, len);
                        sprintf(sbuf, "%3d: %30d :%2d ", p, r,len);
                    }
                    else {
                        if (len>=sizeof(s)) count=sizeof(s)-1; else count=len;
                        get_parameter_data(p, &s, count);
                        s[count]=0;
                        sprintf(sbuf, "%3d: %30s :%2d ", p, s,len);
                    }
                }
                draw_string(16,16+16*i,sbuf, conf.osd_color);
            }
        }

Edit: FlashParamsTable was incorrect, have to try to find a correct location.

edit2: Found it, correct is 0xFFD3E68C
« Last Edit: 08 / July / 2009, 01:34:39 by zfeet »

Offline zfeet

  • Jr. Member
  • **
  • Posts: 67
Re: A430 porting started - histogram working
« Reply #40 on: 08 / July / 2009, 02:35:35 »
I think I found the major problem with the port: PARAM_FILE_COUNTER is incorrect. I've tried 2E, 2F, 34 and 37 so far.

Trying to browse the property cases always crashes at page 10.
« Last Edit: 08 / July / 2009, 02:37:55 by zfeet »

Offline zfeet

  • Jr. Member
  • **
  • Posts: 67
Re: A430 porting started - histogram working
« Reply #41 on: 15 / July / 2009, 02:56:58 »
Property cases work now but I still haven't figured out how to check the different parameters. When I select "Debug data display : Params" I cannot see anything different on the screen, only the misc values if I have the checkbox selected.

Offline jaem

  • Newbie
  • *
  • Posts: 4
Re: A430 porting started - histogram working
« Reply #42 on: 15 / July / 2009, 12:17:21 »
I just tried out the build from post #36, and I haven't encountered any issues yet.  Many thanks to zfeet and co. for getting back to work on this - I've been waiting since last summer, and didn't have high hopes, until I checked the forums yesterday.  I would have taken a crack at it myself, but I'm not up on ARM ASM; I don't have any ARM hardware to play around with on my own time, and my university teaches HC12 in the lower-level courses instead of something useful :/  Anyhow, I'll let you know if I encounter any bugs.  Keep up the good work!

Offline zfeet

  • Jr. Member
  • **
  • Posts: 67
Re: A430 porting started - histogram working
« Reply #43 on: 15 / July / 2009, 14:25:49 »
Here's the latest source with some corrected values in stubs_min.S

http://www.zshare.net/download/62685780d81e9134/

Here's the latest diskboot.bin:

http://www.zshare.net/download/626858080af48c8c/

Offline mx3

  • Developers
  • Sr. Member
  • ****
  • Posts: 372
Re: A430 porting started - histogram working
« Reply #44 on: 15 / July / 2009, 18:04:44 »
I would have taken a crack at it myself, but I'm not up on ARM ASM; I don't have any ARM hardware to play around with on my own time, and my university teaches HC12 in the lower-level courses instead of something useful :/
actually you have hardware and safe way to play with it because CHDK do not change original firmware and start itself from SD card.
skype: max_dtc. ICQ: 125985663, email: win.drivers(at)gmail, eVB decompiler

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal