the sx20 porting thread - page 113 - General Discussion and Assistance - CHDK Forum

the sx20 porting thread

  • 1286 Replies
  • 471699 Views
Re: the sx20 porting thread
« Reply #1120 on: 20 / February / 2011, 15:17:41 »
Advertisements
thanks vtysh...gonna download and try it...thanks for the other link to chdk shell...will read up on it.
sx20is 1.02d

Re: the sx20 porting thread
« Reply #1121 on: 20 / February / 2011, 15:54:53 »
Thank you so so much bernd R for the patch, and thanks very much to vtysh for compiling it for me.

It worked but not perfectly :(   broke the ability to use scripts

Thank you so much to everyone for making such a wonderful software!   your all great.
« Last Edit: 20 / February / 2011, 22:04:58 by bdasmith »
sx20is 1.02d

Re: the sx20 porting thread
« Reply #1122 on: 20 / February / 2011, 16:53:52 »
Thank you so so much bernd R for the patch, and thanks very much to vtysh for compiling it for me.
It worked perfectly!!!

now i need to learn how to do it myself so i don't have to ask everytime a new version comes out  :)

Thank you so much to everyone for making such a wonderful software!   your all great.

(or can the patch - by bernd R (Thanks again) -  that i have been able to succesfully test be added to the main CHDK build?


Have you tried loading some scripts with it? For me, the Intervalometer script doesnt work.
SX20 1.02d

Re: the sx20 porting thread
« Reply #1123 on: 20 / February / 2011, 21:18:06 »
i tried the mint.lua script...and yes didn't work
tried another intervalometer script and it crashed the camera...

here is the llibtest file
sx20is 1.02d


Re: the sx20 porting thread
« Reply #1124 on: 20 / February / 2011, 21:41:20 »
i tried the mint.lua script...and yes didn't work
tried another intervalometer script and it crashed the camera...

here is the llibtest file


So that means we are back to the drawing board since it is worst now than before because it would only crash the camera on startup and now it crash when loading a script.
SX20 1.02d

Re: the sx20 porting thread
« Reply #1125 on: 20 / February / 2011, 22:03:37 »
i agree wowsers....the scripts should work for sure!

i wonder why a command to wait for an extra second on startup would affect the script ability though?

hopefully our programmers will be checkin the thread soon :)
« Last Edit: 20 / February / 2011, 22:06:03 by bdasmith »
sx20is 1.02d

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: the sx20 porting thread
« Reply #1126 on: 20 / February / 2011, 22:26:21 »
i tried the mint.lua script...and yes didn't work
tried another intervalometer script and it crashed the camera...

here is the llibtest file


So that means we are back to the drawing board since it is worst now than before because it would only crash the camera on startup and now it crash when loading a script.

I took a look at the code for the SX20 firmware 1.02d and looked at the firmware dump.

I think you might have a problem in boot.c when setting up the links to the taskHook function.
The address 0x1934 does not appear anywhere in the firmware that I can see; but both 0x1938 and 0x193C do. In the SX30 port I had to set 0x1938 and 0x193C to point to the taskHook function to get it to work correctly.
Perhaps the task initialisation is not being done properly.

The 0x1938 hook appears to be used when you start in record mode (by holding down the power button for ~1.5 secs). On the SX30 I had to add the 0x193C hook so that when starting in playback mode it starts up correctly (when you do a quick press of the power button).

Take a look at the current SX30 boot.c code to see how I have done it.

Hope this helps,
Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)

Re: the sx20 porting thread
« Reply #1127 on: 20 / February / 2011, 22:29:17 »
unfortunatly i am not a programmer and don't know what i am looking at....sorry

also, i downloaded chdk shell - and it doesn't have the sx20 listed in the latest trunk.  why is that?

edit - the sx20 shows in trunk 1050 using chdk shell, but not in 1066 or 67
same with sx30 (just noticing, even though i don't have that camera)
« Last Edit: 20 / February / 2011, 23:01:28 by bdasmith »
sx20is 1.02d


*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: the sx20 porting thread
« Reply #1128 on: 20 / February / 2011, 23:40:04 »
unfortunatly i am not a programmer and don't know what i am looking at....sorry

I can try and make the change I think is needed and build a test version if you want to test it (I can email it to the address in your profile). I'll need to know what firmware version you have.

Quote
also, i downloaded chdk shell - and it doesn't have the sx20 listed in the latest trunk.  why is that?

edit - the sx20 shows in trunk 1050 using chdk shell, but not in 1066 or 67
same with sx30 (just noticing, even though i don't have that camera)

I don't use this so I don't know what is wrong. I do recall reading a post recently about something being broken in the makefile.

Regards,
Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)

Re: the sx20 porting thread
« Reply #1129 on: 20 / February / 2011, 23:54:05 »
unfortunatly i am not a programmer and don't know what i am looking at....sorry

I can try and make the change I think is needed and build a test version if you want to test it (I can email it to the address in your profile). I'll need to know what firmware version you have.

Quote
also, i downloaded chdk shell - and it doesn't have the sx20 listed in the latest trunk.  why is that?

edit - the sx20 shows in trunk 1050 using chdk shell, but not in 1066 or 67
same with sx30 (just noticing, even though i don't have that camera)

I don't use this so I don't know what is wrong. I do recall reading a post recently about something being broken in the makefile.

Regards,
Phil.


that would be awesome Phil.  I have sx20 1.02d

i will test it if you email it to me.
thanks!
sx20is 1.02d

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal