supplierdeeply

the sx20 porting thread

  • 1279 Replies
  • 180803 Views
Re: the sx20 porting thread
« Reply #1190 on: 04 / March / 2011, 17:12:38 »
Advertisements
« Last Edit: 04 / March / 2011, 17:57:05 by NEZtron »
Canon SX20 is 1.02b CHDK

Re: the sx20 porting thread
« Reply #1191 on: 07 / March / 2011, 18:22:07 »
So is it possible to enable full speed zoom while taking video? Maybe a script or modification to the build for the camera?
Canon SD770IS GM1.00A
Canon SX20IS GM1.02B
Canon SX230HS GM1.00C (RIP :()
Canon SX130IS GM1.00B

*

Offline SkyWalker9

  • ****
  • 301
  • SX20 IS (fw 1.02b)
Re: the sx20 porting thread
« Reply #1192 on: 13 / March / 2011, 15:19:34 »
The APEX settings for the propset II & III can be found in the UBasic User's Guide, but didn't seem to be available for propset IV yet. I searched the forum postings but I didn't find any on the APEX settings for propset IV, so I wrote a simple script to determine if the av96 & tv96 settings changed for the SX20 propset. If anyone else is interested, here are the setting values I found:

Code: [Select]
av96 (using M, Av, Tv or P)
set_av i   x=get_user_av_id   get_user_av96 A
                                          (steps by 32 except 1st)
2.8                   9                           294
3.2                  10                          320
3.5                  11                          352
4.0                  12                          384
4.5                  13                          416
5.0                  14                          448
5.6                  15                          480
6.3                  16                          512
7.1                  17                          544
8.0                  18                          576
Code: [Select]
tv96 (using M, Av, Tv or P)
set_tv i    x=get_user_tv_id    get_user_tv96 T
                                           (steps by 32)
15s                 -12                         -384
13s                 -11                         -352
10s                 -10                         -320
8s                    -9                         -288
6s                    -8                         -256
5s                    -7                         -224
4s                    -6                         -192
3.2s                 -5                         -160
2.5s                 -4                         -128
2s                    -3                           -96
1.6s                 -2                           -64
1.3s                 -1                           -32
1s                     0                              0
0.8s                  1                             32
0.6s                  2                             64
0.5s                  3                             96
0.4s                  4                           128
0.3s                  5                           160
1/4                   6                           192
1/5                   7                           224
1/6                   8                           256
1/8                   9                           288
1/10                10                           320
1/13                11                           352
1/15                12                           384
1/20                13                           416
1/25                14                           448
1/30                15                           480
1/40                16                           512
1/50                17                           544
1/60                18                           576
1/80                19                           608
1/100               20                          640
1/125               21                          672
1/160               22                          704
1/200               23                          736
1/250               24                          768
1/320               25                          800
1/400               26                          832
1/500               27                          864
1/640               28                          896
1/800               29                          928
1/1000             30                          960
1/1250             31                          992
1/1600             32                        1024
1/2000             33                        1056
1/2500             34                        1088
1/3200             35                        1120

I also updated the PropCas ID posting I started a while ago and added av96, tv96, bv96 and sv96: http://chdk.setepontos.com/index.php?topic=4348.msg60704#msg60704

Re: the sx20 porting thread
« Reply #1193 on: 14 / April / 2011, 09:28:12 »
This is a request to SX20 developers:
Please tell 1.00f users what kind of additional testing is needed/required in order to make the 1.00f beta release a stable one and published also in the autobuild download section.

Thanks in advance


*

Offline f_m_b

  • **
  • 71
Re: the sx20 porting thread
« Reply #1194 on: 15 / April / 2011, 17:18:54 »
Hello everybody...

You all know that the sx20 is not blessed with much internal memory... :'(

But the days of low memory on the sx20 are counted.  :D
Link to experimental alternate memory allocation

Thanks to reyalp, philmoz, CHDKLover and all others who helped me to port this feature to the sx20. :)

I tested it really hard with Firmware 1.02b and CHDK-DE 626 and CHDK 1144 and... it works.
Werner_O tested the Firmware 1.02b and CHDK-DE 626.
Surly we have not test all and so this is no garanty that all works. But i think this is a good point to start with.

If you want to share happiness with me, ...

I've built two local Versions, both based on the CHDK 1144.

The first Version is built with OPT_EXMEM_TESTING. (sx20-xxxx-0.9.9-1144-full-TESTMOE.zip)
You see at the left lower edge of the display an (ok). Now test as much internal features of the sx20 as you can (Videosequences, Continous Shooting, ...). If there is any conflict, the (ok) changes into four addresses. Please tell me these addresses.

If after all tests the (ok) is still there, the first test is passed and you can change to the next part.

The second Version is now built with all optinal features of CHDK. (sx20-xxxx-0.9.9-1144-REALMODE.zip)
After booting, the cam should show you a memory info of about 1,8 MB.  :D
Now test as much chdk features of the sx20 as you can (zebra, edges, history, games, scripts, ...)
If everything works properly, the second Test is passsed and an administrator can check this fantastic feature into CHDK. :)

Let's have fun. :D


EDIT: Sorry I had to rebuilt the REALMODE file. Please download it again.

« Last Edit: 15 / April / 2011, 18:10:14 by f_m_b »
Greetings Frank
SX20 (1.02b)

*

Offline f_m_b

  • **
  • 71
Re: the sx20 porting thread
« Reply #1195 on: 15 / April / 2011, 17:22:14 »
Now the files for 1.02d.
« Last Edit: 15 / April / 2011, 18:01:46 by f_m_b »
Greetings Frank
SX20 (1.02b)

*

Offline f_m_b

  • **
  • 71
Re: the sx20 porting thread
« Reply #1196 on: 15 / April / 2011, 17:27:20 »
This is a request to SX20 developers:
Please tell 1.00f users what kind of additional testing is needed/required in order to make the 1.00f beta release a stable one and published also in the autobuild download section.

Thanks in advance
Hello baxev2005

let's start with this test. ;-)
Now the files for 1.00f.
« Last Edit: 15 / April / 2011, 18:11:20 by f_m_b »
Greetings Frank
SX20 (1.02b)

Re: the sx20 porting thread
« Reply #1197 on: 15 / April / 2011, 18:07:47 »
Unless I'm missing something very important, it is not working for me... Memory info still shows

Free Memory: 567536 bytes
CHDK size: 290928

And I also noticed that booting into view mode rather than shoot mode always crashes... Not a fan of that, especially when I've been using the stable build 885 version since it came out last year. Video shooting still causes buffer overruns using default, I have to override and lower the quality for it to work... Meanwhile, that "OK" never changes.. Can I get rid of that?

And yes, I did erase the old CCHDK.CFG file before trying anything...

EDIT::
Okay, I see a new REALMODE was rebuilt.... That one doesn't show the OK anymore, and memory info shows

Free Memory: 1787176 bytes

But video still over-buffers in default mode... And I know it's not my card's fault, because I'm running a 32GB Class10 that works perfectly when CHDK is not loaded.

After some further testing, I noted that when starting up in view mode, the camera only crashes when there are images on the card... Otherwise it starts fine in either mode. Also, it seems to crash more when using the power button than using the playback button??
« Last Edit: 15 / April / 2011, 18:23:42 by AK49BWL »
Canon SD770IS GM1.00A
Canon SX20IS GM1.02B
Canon SX230HS GM1.00C (RIP :()
Canon SX130IS GM1.00B


*

Offline f_m_b

  • **
  • 71
Re: the sx20 porting thread
« Reply #1198 on: 15 / April / 2011, 18:22:11 »
Unless I'm missing something very important, it is not working for me... Memory info still shows

Free Memory: 567536 bytes
CHDK size: 290928

And I also noticed that booting into view mode rather than shoot mode always crashes... Not a fan of that, especially when I've been using the stable build 885 version since it came out last year. Video shooting still causes buffer overruns using default, I have to override and lower the quality for it to work... Meanwhile, that "OK" never changes.. Can I get rid of that?

And yes, I did erase the old CCHDK.CFG file before trying anything...

Hello AK49BWL

i think you have a 1.02b firmware-version. Right?
The TESTMODE-Version only attach the memory, but don't use it.
The REALMODE-Version loads all chdk features in exmem.

My memory info shows:
Free Memory: 1773304
CHDK size: 290688
loaded at: 0x3B089E0
i had a problem with compile options...
I am going to download the files from this side and try it again.

EDIT:
Download TESTMODE and copied to SD-card
Download REALMODE and copied to SD-card
Free Memory: 1806184
Video Mode Default with Video Quality 99 works with my SanDisk Extreme III (cat. 6)
« Last Edit: 15 / April / 2011, 18:34:12 by f_m_b »
Greetings Frank
SX20 (1.02b)

Re: the sx20 porting thread
« Reply #1199 on: 15 / April / 2011, 18:26:54 »
Oh yes, I have a 1.02b. The memory info shows correctly, the only problem I'm having is with the video overbuffering on default mode...
Canon SD770IS GM1.00A
Canon SX20IS GM1.02B
Canon SX230HS GM1.00C (RIP :()
Canon SX130IS GM1.00B

 

Related Topics