PowerShot SX210 IS - Porting Thread - page 41 - General Discussion and Assistance - CHDK Forum

PowerShot SX210 IS - Porting Thread

  • 589 Replies
  • 301008 Views
*

Offline asm1989

  • *****
  • 527
  • SX720, SX260, SX210 & SX200
Re: PowerShot SX210 IS - Porting Thread
« Reply #400 on: 12 / January / 2011, 13:54:49 »
Advertisements
@v3as4k

FI2KEY offset: 7E3570

FI2IV  offset: 41522C



*

Offline fe50

  • ******
  • 3147
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: PowerShot SX210 IS - Porting Thread
« Reply #401 on: 12 / January / 2011, 15:00:13 »
Developers - i've started a wikia page to collect the offsets for the keys ;) :
* http://chdk.wikia.com/wiki/For_Developers/fi2offsets

*

Offline asm1989

  • *****
  • 527
  • SX720, SX260, SX210 & SX200
Re: PowerShot SX210 IS - Porting Thread
« Reply #402 on: 16 / January / 2011, 12:22:06 »
Thanks fe50

@sironitomas
Test out this new version 1.5, I think it solves the bracketing thing
http://www.4shared.com/file/wgX0OlbZ/CHDK1038-sx210is-ASM1989-RCv15.html

Re: PowerShot SX210 IS - Porting Thread
« Reply #403 on: 18 / January / 2011, 15:56:18 »
Hi, thanks for all the great work. I really appreciate it.

I can confirm that the newest version (1.5) fixes the bracketing problem, at least on my camera.
I know the zebra mode issue is known but it would be awesome if the aspect ratio thing could be fixed. Its kind of annoying having the overexposed areas shown slightly to the left of where they are except in widescreen mode.

I also wish intervalometer scripts worked, and i wish I could help but I have no knowledge in coding or anything like that.

Thanks again and please let me know if there is anyway can help out.
« Last Edit: 19 / January / 2011, 05:43:57 by darktwinkle »


Re: PowerShot SX210 IS - Porting Thread
« Reply #404 on: 20 / January / 2011, 12:58:04 »
I also wish intervalometer scripts worked, and i wish I could help but I have no knowledge in coding or anything like that.

Looks back at my post a page or so back for the details, but they work well in LUA (I suspect in ubasic knowing what I know now). e.g. on http://chdk.wikia.com/wiki/LUA

You have:

--[[
@title Minimalistic Intervalometer
@param a Shooting interval, min
@default a 0
@param b ...sec
@default b 10
--]]
 
Interval = a*60000 + b*1000
 
function TakePicture()
   press("shoot_half")
        repeat sleep(50) until get_shooting() == true
   press("shoot_full")
   release("shoot_full")
   repeat sleep(50) until get_shooting() == false   
        release "shoot_half"
end
 
repeat
   StartTick = get_tick_count()
   TakePicture()
   sleep(Interval - (get_tick_count() - StartTick))
until false

Which is 99% right.. What needs to be changed is the TakePicture() function so it looks like:

function TakePicture()
   press("shoot_half")
        repeat sleep(50) until get_shooting() == true
   press("shoot_full")
   release("shoot_full")
        release("shoot_half")
   repeat sleep(50) until get_shooting() == false   
end

Note the shoot_half release is before the repeat until statement.  That is the only odd catch.  I've done a few test timelapses with a more complex script after being aware of this issue without any real drawbacks.

Re: PowerShot SX210 IS - Porting Thread
« Reply #405 on: 24 / January / 2011, 19:33:16 »
@asm1989

Bracketing bug fixed, thanks!

Does anybody know why I can't process the RAW files in dcraw?

Re: PowerShot SX210 IS - Porting Thread
« Reply #406 on: 26 / January / 2011, 11:59:00 »
2contacts
Use cyrustam's method described in Reply#90 (3 and 5 points you can skip, just download files). If you all do right, all LED's must start blinking. And if it works, use reyalp's dump script (Reply #78 or #80) and share dump to us :)

upd:
Finally, I made it. 8) Here SX210IS firmware: SX210_1.00C.BIN - 7.94MB
Start Adress: 0xFF810000

I used nudryos udumper encoded new set of dancingbits

Also it works on A3100, so if scripts don't work on your camera, try this method

PS: Can someone tell me why I can't attach files to messages?
Does this firmware work with A3100IS? I've been searching for a long time for my A3100IS. :( But I didn't find any CHDK for A3100IS. :(

*

Offline reyalp

  • ******
  • 14080
Re: PowerShot SX210 IS - Porting Thread
« Reply #407 on: 26 / January / 2011, 12:22:23 »
Does this firmware work with A3100IS? I've been searching for a long time for my A3100IS. :( But I didn't find any CHDK for A3100IS. :(
No, absolutely not. CHDK needs a new port for each camera model, and what you quoted is a firmware dump (copy of the original canon firmware), not a CHDK port.

What Ameglin was saying is the firmware dumper works on a3100.
Don't forget what the H stands for.


Re: PowerShot SX210 IS - Porting Thread
« Reply #408 on: 26 / January / 2011, 12:29:37 »
No, absolutely not. CHDK needs a new port for each camera model, and what you quoted is a firmware dump (copy of the original canon firmware), not a CHDK port.

What Ameglin was saying is the firmware dumper works on a3100.
Oh... thanks for the info! :)

*

Offline a

  • *
  • 2
Re: PowerShot SX210 IS - Porting Thread
« Reply #409 on: 26 / January / 2011, 14:56:16 »
a) Error "unk key" in ubasic with statements click, press and release. Correction in UBASIC.C:

static void click_statement(void) {
      // wrong: int k = ubasic_get_key_arg();
      int k;
      accept(TOKENIZER_CLICK); // without this string for key is empty
      k = ubasic_get_key_arg();
      ...

Similar correction for press_statement and release_statement.

b) Statement shoot in ubasic needs to be finished by manually pressing Button "ALT" twice. Correction in ACTION_STACK.C:

int action_stack_standard(long p) {
...
    case AS_SHOOT:
           ...
           action_push(AS_WAIT_SAVE);
           action_push_release(KEY_SHOOT_HALF); //was missing
           action_push_release(KEY_SHOOT_FULL);
           ...
 

 

Related Topics