A2400 porting thread - page 6 - DryOS Development - CHDK Forum
supplierdeeply

A2400 porting thread

  • 96 Replies
  • 38556 Views
Re: A2400 porting thread
« Reply #50 on: 05 / April / 2013, 13:50:32 »
Advertisements
This version should fix zoom bug.  Please test it and report.
The ver. 100e  is working with and without digital zoom too.

*

Offline nafraf

  • *****
  • 1308
Re: A2400 porting thread
« Reply #51 on: 10 / April / 2013, 21:36:44 »
New version, prealpha06, this version adds to Video Parameters menu:
Mute During Zooming Enable [●] / Disable [ ]
To eliminate focus mechanism noise if zoom is used during video recording.

Please test it and report

@marcelix: Thanks for feedback.
« Last Edit: 18 / April / 2013, 23:41:22 by nafraf »

Re: A2400 porting thread
« Reply #52 on: 13 / April / 2013, 05:52:36 »
No nafraf, I finally got around to cleaning up my code ready to send in, only to find you've done everything I have and more in the meantime. Very sorry for the extra work you've had to do, I feel quite bad for sitting on the code like this :(

To try and make myself useful, I have compared the a2400 files from SVN to my versions and found a only one difference:

platform/a2400/sub/100d/stubs_min.S
I have the following:
Code: [Select]
DEF(enabled_refresh_physical_screen,    0x39D4 + 0x10)  // a2400: sub_FF896DF0 (0xFF896DF4 + 0xFF896E10)

which seems to be in most other firmwares, but isn't in your stubs_min.S. Does this matter?

The focus stacker script I'm using is just a subtle tweak of http://chdk.wikia.com/wiki/UBASIC/Scripts:_macro_DOFstacker to add an option for adjusting the size of the focus step between each photo. (taking 750mm of photos at 1mm/photo can take a looooong time).

Some of the resulting photos are here: http://utrainia.michael.net.nz/10-a-great-way-to-end-the-day. These are photos of my model train set, the trains are the size of my fingers so CHDK + a focus stacker script is perfect for my purposes :)

I have tested your latest compiled a2400/100d firmware and it runs without any problems on my a2400. I did just a very quick test that photos and video work, as all the important parts of the code are unchanged from what I had cobbled together.

Thanks for all your hard work. The a2400 is a great wee camera, but 1000x better with CHDK on it :)

Re: A2400 porting thread
« Reply #53 on: 13 / April / 2013, 05:54:43 »
New version, prealpha06, this version adds to Video Parameters menu:
Mute During Zooming Enable [●] / Disable [ ]
To eliminate focus mechanism noise if zoom is used during video recording.

Please test it and report
Just done a test video here on a2400/100d; works perfectly. Very slight pop when the audio cuts back in again, but nothing unexpected.


*

Offline nafraf

  • *****
  • 1308
Re: A2400 porting thread
« Reply #54 on: 13 / April / 2013, 12:05:47 »
Hi madleech, thanks for testing and reporting.
platform/a2400/sub/100d/stubs_min.S
I have the following:
Code: [Select]
DEF(enabled_refresh_physical_screen,    0x39D4 + 0x10)  // a2400: sub_FF896DF0 (0xFF896DF4 + 0xFF896E10)

which seems to be in most other firmwares, but isn't in your stubs_min.S. Does this matter?
enabled_refresh_physical_screen is used in some cameras (A1100, A3000, and others) , you can see it in  vid_bitmap_refresh() function.  I'm not sure if it is necessary in A2400, is CHDK interface working well in your A2400?

Quote
Some of the resulting photos are here: http://utrainia.michael.net.nz/10-a-great-way-to-end-the-day. These are photos of my model train set, the trains are the size of my fingers so CHDK + a focus stacker script is perfect for my purposes :)
Nice train, and nice shoots :)  It seems to require a lot of work.

Quote
I have tested your latest compiled a2400/100d firmware and it runs without any problems on my a2400. I did just a very quick test that photos and video work, as all the important parts of the code are unchanged from what I had cobbled together.
If you don't find any issue, I think that a2400 can be added to autobuild as beta. 
Another tests were done by marcelix, and they passed succesfuly.  I'll submit the patch in a couple of days.

Re: A2400 porting thread
« Reply #55 on: 13 / April / 2013, 13:41:21 »

Re: A2400 porting thread
« Reply #56 on: 16 / April / 2013, 05:20:57 »
Hi madleech, thanks for testing and reporting.
platform/a2400/sub/100d/stubs_min.S
I have the following:
Code: [Select]
DEF(enabled_refresh_physical_screen,    0x39D4 + 0x10)  // a2400: sub_FF896DF0 (0xFF896DF4 + 0xFF896E10)

which seems to be in most other firmwares, but isn't in your stubs_min.S. Does this matter?
enabled_refresh_physical_screen is used in some cameras (A1100, A3000, and others) , you can see it in  vid_bitmap_refresh() function.  I'm not sure if it is necessary in A2400, is CHDK interface working well in your A2400?

Did the following test between my firmware and yours:
  • Insert SD card
  • Turn on camera
  • Enter alt mode
  • Open CHDK menu
  • Down one menu item to Video Parameters and open menu

Running your latest pre-release a2400 firmware, the Video Parameters menu opens and draws itself, then within half a second it momentarily flickers and redraws again.

Running my firmware there is no flicker. Not sure if it is related to  enabled_refresh_physical_screen or something else.

Hope that helps.
--Michael.

*

Offline nafraf

  • *****
  • 1308
Re: A2400 porting thread
« Reply #57 on: 16 / April / 2013, 08:22:07 »
Running my firmware there is no flicker. Not sure if it is related to  enabled_refresh_physical_screen or something else.
Thanks for testing and report.
I included enabled_refresh_physical_screen and it is used inside vid_bitmap_refresh (as done in A3000).  If you want to check the code, it is available in my personal svn repo.

Please test this version and check if  flicker continues.

« Last Edit: 27 / April / 2013, 03:16:26 by nafraf »


Re: A2400 porting thread
« Reply #58 on: 21 / April / 2013, 17:06:13 »
Hello.

Firmware dump a2400IS-100c
http://www.sendspace.com/file/9rfff4

*

Offline nafraf

  • *****
  • 1308
Re: A2400 porting thread
« Reply #59 on: 21 / April / 2013, 20:18:13 »
Thanks for the dump.
CHDK for a2400 100c is attached.  To load it, it is necessary to use bootable sd card method.
Please test it and report.  First test set: http://chdk.wikia.com/wiki/Testing

By the way, I have not got feedback about interface flicker issue
« Last Edit: 27 / April / 2013, 03:16:57 by nafraf »

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal