A590IS porting... - page 78 - DryOS Development - CHDK Forum

A590IS porting...

  • 968 Replies
  • 442703 Views
*

Offline OldGit

  • ****
  • 303
Re: A590IS porting...
« Reply #770 on: 05 / May / 2010, 14:43:30 »
Advertisements
All right here we go.
Attached is the diskboot.bin file for 100e and with all "video mods" included.
(101b is the same as the last test version)

I would suggest that the 100e version is tested to ensure it is correct BEFORE this patch is applied.
(I have checked all addresses but I can, and do,  make mistakes)

When you are all happy post a request to the Senior Devs to add the attached patch to the trunk.

For info...
Patch produced against trunk 889
The patch removes 21 functions from the movie_rec.c  that were used to link down to the movie_record_task.
This linkage is replaced with hooks in the boot.c file.
The unlock_optical_zoom and mute_on_zoom calls have also been enabled. (camera.h updated in line)
In the stubs_entry_2.s for 101B the address for TurnOnMic and TurnOffMic have been added (were already in 100E version).

Thats it, have fun :D
OldGit
SX200 IS-100C

*

Offline dvip

  • ****
  • 451
Re: A590IS porting...
« Reply #771 on: 05 / May / 2010, 21:17:38 »
I'm happy with it and would like to see it added to the trunk... a590-101b-0.9.9-890-full.zip??

*

Offline mngc

  • ***
  • 113
  • a590is fw 1.0.1b & sx110is fw 1.0b
Re: A590IS porting...
« Reply #772 on: 06 / May / 2010, 05:36:47 »
Another a590is original firmware/electronic? shematic problem the battery monitoring.
I not know other canon cameras has this problem. The main problem, the sort working time.
I test the camera with powered the laboratory power supply unit (of course, this unit output voltage highly stabilized).
The camera working properly wide range voltage. Of course, do not use high voltage and/or any unstabilized power supply, possibly DAMAGE the camera! I test 2,4 volt (2 AA NiMh cell nominal voltage), everting is ok, and CHDK battery indicator says approx. 2.400volt. The original canon adater has 3.15 volt output. When use this, the CHDK says approx. 3.15volt. I think this is a maximum voltage (equal approx 2 fresh, high quality alkaline battery voltage). The camera working properly 2.000-3.150Volt. With 2.000 volt, everything is stable, and CHDK says approx. 2.000Volt. The camera must be down about 1.950-2.000volt automacilly. This is ok, NiCD, NiMH, and alkaline 2 cell normal end voltage is same.

The camera often switch off and says need to replace the baterry. If the voltage around 2.000Volt this is correct.
But, the camera switch off often, when the voltage is 2,3-2,6volts! This is abnormal! The original canon battery indicator often false. This blinking, when i use fresh charged accu! The measured voltage normal! Long piece picture recorded normally. In electronic market, lots of camera use voltage limit sensor, to switch off the camera. The voltage limit often 2.000 volt this is ok. Under voltage icon set to 2.1-2.2Volt. This method, simple, useful, safe, and has a largest working time.  Canon cameras not use this method. This is very stupid. I think, canon firmware(?) check the voltage, and the time, how many volts dropped in fix. time. If the power voltage rapidly lower, the camera switch off. This method very wrong!
See the link with second graph, tipical NIMH cell, with average discharge current.

http://www.powerstream.com/4_3.htm

 When use fresh, fully charged cells, the voltege drop rapidly for several minutes, after the voltage near constans long time, near the cell empty, the voltage drop rapidly again. The cells fully discharged, must be off the camera, and need charging. The voltage drop speed relate with the cells internal resistance, and factory parameters, and the cells age, etc. But, this cells, ok. After use the cells 10-20 etc. this parameters wornger, but good too power the camera.

Canon firmware, often off, when i use fully charged cells, canon think, the cells empty, the voltage drops RAPIDLY, NO! The cells near new! After switch off, i discharge the cell about 10% on another camera. Next, i put to orginal camera, now,  one hour! video recorded perfectly with LCD display ON! If the user try charge the canon "need to charge" cells, possibly over charge. Over charging danger to cells. Parameters wrong, the life time sort! 

The question, possibly kill canon switch off method, battery warning icon? Possibly add correct, only voltage limit switch of method? Another camera users, this problem exist?

*

Offline fudgey

  • *****
  • 1705
  • a570is
Re: A590IS porting...
« Reply #773 on: 06 / May / 2010, 13:14:02 »
The question, possibly kill canon switch off method, battery warning icon? Possibly add correct, only voltage limit switch of method? Another camera users, this problem exist?

See http://chdk.setepontos.com/index.php/topic,4037.0.html

In short:
1) The easiest way to disable the battery icon is to use events. It's been done before, but not applied to trunk CHDK.

2) Some cameras (a590 supposedly being one, lithium battery cams probably not affected) appear to use a stricter battery capacity threshold for shutdown when in firmware upgrade mode. Consequently you typically get longer battery life without CHDK, because with CHDK the battery isn't allowed to be fully discharged (since CHDK boots via a hacked fw upgrade process). This is most apparent if your NiMH cells are old (many cycles or old age or improper use or storage) or simply low quality to begin with. NiMH cells age on the shelf too, and a lot of reputable vendors don't print date stamps on their consumer packaging -- In my experience with the a570, you'll want the very best, most fresh set of NiMH cells you can possibly find.

3) I attempted to find a way to alter the battery shutdown and warning tresholds but ended up replacing all my batteries instead...

*

Offline dvip

  • ****
  • 451
Re: A590IS porting...
« Reply #774 on: 06 / May / 2010, 16:58:43 »
@mngc,
Like fudgey said, when using chdk the threshold for shutdown
may be reached sooner. Also, I'm sure that if you're using
raw/video/flash/Continuous IS/LCD a lot the batteries will go
down faster.

In my case, I usually don't take more than 150 or so. I use
http://www.eneloop.info/ batteries. I have used them for almost
two years now without problems. I like the AA batteries, I can
find them everywhere and use them with other things. I carry an
extra pair when I know I'll be taking lots of pictures or if I'm
going to be using the flash all the time (something I don't do
much).

I'm sure you already know this, but here it goes just in case,
some A590IS owners have had problems with battery contacts:
http://lakeuk.blogspot.com/search/label/a590

I hope this helps


*

Offline mngc

  • ***
  • 113
  • a590is fw 1.0.1b & sx110is fw 1.0b
Re: A590IS porting...
« Reply #775 on: 07 / May / 2010, 05:25:28 »
@fudgey

Thanks the excellent comment. Now i know the difference the original and CHDK firmare boot method treshold. This problem exist on a720 too, another user reported. You correct on NIMH cells, i try more cells, and i find, the camera requies extreme high quality cells to use full power of capacity. Another problem, the charging method, and the lifetime. I use now GP and ACCULOOP batteries, but the working time sort, after 20-30 discharging process complete. All NIMh cells parameters wronger in low temperature. I use canon cameras with extra long exposure in night. The camera body has a low temperature, the working time sort. Of course, cells not empty and voltage not too low, but canon stop working. After the cells in normal temperature, works again lots of picture recordable.

Another comment, other users reported on a590 without CHDK very sort working time. I measured this cell, good quality, and fully charged. But, not extreme high quality cell. Most popular brand cells same.

I have extreme low quality chinese cells for test, marked capacity 1300mAh, without camera, measured capacity only 400mAh. But, the discarge charecteric very stable. I can record lots of picture. But, most expensive high capacity cells (usually has high internal resistnace) record highly lower pictures.

Possibly add battery warning disabler to a590? Possibly add the limit configurator to a590? (I know, this is not finished yet)

I working on script battery monitor, voltage, temperature and time to file writer . I will create from file to graph.

@dvip
Thanks your comment and the link. Useful. But, my and another camera users problem not the contact problem. Contact problem, i think first, but no. I know, the CHDK advanced modes requies more current.
I have tools to measure how many current requies all modes, but not measured this. I will check this. Special power supply not available now.

150 recorded picture good, or no, i not know. Depend on your mode, temperature, usage etc. Use the chdk battery voltage mode. If see the camera switch off around 1,95-2Volt, your cells with camera ok. If no, the problem is same. The default chdk low battery warning too high, but correct for general use with current chdk. The camera often off with 2,3-2,5 volt... (2pc. nimh cell standard voltage 2,4 volt)

 

*

Offline reyalp

  • ******
  • 14138
Re: A590IS porting...
« Reply #776 on: 08 / May / 2010, 22:35:23 »
All right here we go.
Attached is the diskboot.bin file for 100e and with all "video mods" included.
(101b is the same as the last test version)

I would suggest that the 100e version is tested to ensure it is correct BEFORE this patch is applied.
(I have checked all addresses but I can, and do,  make mistakes)

When you are all happy post a request to the Senior Devs to add the attached patch to the trunk.

For info...
Patch produced against trunk 889
The patch removes 21 functions from the movie_rec.c  that were used to link down to the movie_record_task.
This linkage is replaced with hooks in the boot.c file.
The unlock_optical_zoom and mute_on_zoom calls have also been enabled. (camera.h updated in line)
In the stubs_entry_2.s for 101B the address for TurnOnMic and TurnOffMic have been added (were already in 100E version).

Thats it, have fun :D
OldGit
Is this ready to to check in ? It looks to me like the addresses are equivalent between 100e and 101b.
Don't forget what the H stands for.

*

Offline OldGit

  • ****
  • 303
Re: A590IS porting...
« Reply #777 on: 09 / May / 2010, 03:14:51 »
Is this ready to to check in ? It looks to me like the addresses are equivalent between 100e and 101b.
Yes, perhaps with a note that 100E has not been tested.
OldGit
SX200 IS-100C

*

Offline reyalp

  • ******
  • 14138
Re: A590IS porting...
« Reply #778 on: 15 / May / 2010, 01:52:44 »
Is this ready to to check in ? It looks to me like the addresses are equivalent between 100e and 101b.
Yes, perhaps with a note that 100E has not been tested.
OldGit
Done.
Don't forget what the H stands for.

Re: A590IS porting...
« Reply #779 on: 20 / May / 2010, 12:07:17 »
When I am using kingston 4gb sdhc card class 6 for setting birate 3.0 or 95 or a higher quality camera sometimes hangs, for example, when the record of tree leaves. Some write that class 6 is sufficient for quality 98. But not for me ... Or is it a bug or I must buy a card with class 10th. I have firmware 101B.

Excuse me for using google translator - poor Englishman me :P
« Last Edit: 20 / May / 2010, 12:20:41 by kaem84 »

 

Related Topics


SimplePortal © 2008-2014, SimplePortal