S5IS - Ported! - page 8 - DryOS Development - CHDK Forum

S5IS - Ported!

  • 111 Replies
  • 83136 Views
*

Offline lukg

  • ***
  • 162
  • Eos 450D+18-55is+55-250is & Powershot S5is - 1.01a
Re: S5IS 1.01b - Ported!
« Reply #70 on: 10 / April / 2008, 12:56:11 »
Advertisements
Thanks Sand!!! You deserve a karma+

*

Offline tjaze

  • *
  • 1
  • S5IS 1.01A user
Re: S5IS 1.01b - Ported!
« Reply #71 on: 10 / April / 2008, 13:32:46 »
The 1.01A firmware works fine on my S5 IS :)

I'm just missing video options. But it's a great job, that you made CHDK for S5 IS ;)

*

Offline DataGhost

  • ****
  • 314
  • EOS 40D, S5IS
    • DataGhost.com
Re: S5IS 1.01b - Ported!
« Reply #72 on: 10 / April / 2008, 13:59:10 »
I'll have a look at it now and put it in SVN after a quick check.

*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: S5IS 1.01b - Ported!
« Reply #73 on: 10 / April / 2008, 14:06:47 »
@ DataGhost:
[fault-finding mode on]
In your boot.c boot() and sub_FF81000C_my() makes the same work - copy data from ROM to RAM and clear BSS (and change CPU speed). So, boot() can be reduced to "B      sub_FF81000C_my"
But A720, A650, IXUS 960 ports do not have sub_FF81000C_my(), all its code is in boot().
[fault-finding mode off]  :)

upd: now I make some tests to reduce CHDK startup time (as usually, without success).
« Last Edit: 10 / April / 2008, 14:16:13 by ewavr »


*

Offline DataGhost

  • ****
  • 314
  • EOS 40D, S5IS
    • DataGhost.com
Re: S5IS 1.01b - Ported!
« Reply #74 on: 10 / April / 2008, 14:26:37 »
Ah, ok. I'll have a look at that as well. Most of the code in boot.c is from long ago when I didn't really know ARM ASM or the camera yet, so I didn't know what it did, only that it did work. Now, I forgot why it was there so I decided to leave it :p

@ewavr: works fine, thanks. I also updated it in 1.01a

@sand: thank you for the port, looks good. I stripped the documentation, though, that's only valid for the 1.01b firmware and it's not really necessary to also have it for 1.01a. I committed it to svn and it compiles, so I guess it should work.
« Last Edit: 10 / April / 2008, 16:17:44 by DataGhost »

Re: S5IS 1.01b - Ported!
« Reply #75 on: 10 / April / 2008, 17:06:55 »
Yes, it works. Thanks  8)

Re: S5IS 1.01b - Ported!
« Reply #76 on: 10 / April / 2008, 18:38:04 »
can you find the address of _platformsub_kbd_fetch_data  ?


It is OK, I now have that information provided by an expert programmer   :)



David


Re: S5IS - Ported!
« Reply #77 on: 10 / April / 2008, 21:55:57 »
OK, have it running ok, raw format ok, and able to download crw files direct off camera, on a 4gb sdhc with 64k cluster size.
couple of short tip text files in the book area.
Starting to get the grips of this chdk stuff.
Just found: chdk usb remote capture... hehehe but running any of the scripts on that page does nothing?...
(with the diy 3v lithium/switch ).
any ideas?

linky: CHDK

@title Remote button
:loop
wait_click 1
is_key k "remote"
if k=1 then shoot
goto "loop"
end

or if you like my own version

@title Remote button
while 1
  wait_click 1
  if is_key "remote" then shoot
wend

end


To  calibrate your own timing just use this part of the script to begin with

do
  do
   a = get_usb_power
  until a>0
  if a>0 then print a
until is_key "set"
end

cheers, love the work done on this!...

ps maybe 3v isn't enough for the s5?

or the build hasn't got 'get_usb_power' function available?
« Last Edit: 10 / April / 2008, 22:08:38 by stevodude »


Re: S5IS - Ported!
« Reply #78 on: 11 / April / 2008, 00:10:29 »
Sorry didn't realise there is already a thread on usb remote shutter cable...

go here: building usb-remote-cable for my finished product.

regards, stevo.
« Last Edit: 11 / April / 2008, 00:54:54 by stevodude »

*

Offline DataGhost

  • ****
  • 314
  • EOS 40D, S5IS
    • DataGhost.com
Re: S5IS - Ported!
« Reply #79 on: 11 / April / 2008, 03:17:54 »
I encountered the same problem somewhere in february, so I did a couple of tests and measurements. As readable on the wiki (CameraFeatures - CHDK Wiki) the camera requires at least 3.7V to detect a signal. A lower voltage may work, 3.7V is just the lowest one I tested it with (higher than 3V) which worked.

 

Related Topics