S100 porting thread - page 8 - DryOS Development - CHDK Forum

S100 porting thread

  • 286 Replies
  • 108187 Views
Re: S100 porting thread
« Reply #70 on: 09 / May / 2012, 12:19:48 »
Advertisements
The EOScard worked very well, I just don't know how the other software don't.

Thanks colon247

Re: S100 porting thread
« Reply #71 on: 09 / May / 2012, 12:46:49 »
I have another question.

Is the focus setting and zoom setting already working ?

In my script I use this code to set to manual focus, set the zoom and then set the focus

Code: [Select]
press "shoot_half"
sleep 5000
press "left"
sleep 500
release "left"
release "shoot_half"
sleep 500
print "manual focus set"

print a
set_zoom_speed 20
sleep 100
rem set_zoom 5,844
set_zoom a
sleep 2000
print "zoom set"

set_focus f
press "print"
sleep 200
press "display"
sleep 300
release "display"
release "print"
print "focus to infinite"

The manual focus is set, but the zoom does nothing, and when the set focus commands switch the camera to playback mode.

Anything changed in the language ?

Re: S100 porting thread
« Reply #72 on: 09 / May / 2012, 13:29:20 »
I have another question.

Is the focus setting and zoom setting already working ?

In my script I use this code to set to manual focus, set the zoom and then set the focus

Code: [Select]
press "shoot_half"
sleep 5000
press "left"
sleep 500
release "left"
release "shoot_half"
sleep 500
print "manual focus set"

print a
set_zoom_speed 20
sleep 100
rem set_zoom 5,844
set_zoom a
sleep 2000
print "zoom set"

set_focus f
press "print"
sleep 200
press "display"
sleep 300
release "display"
release "print"
print "focus to infinite"

The manual focus is set, but the zoom does nothing, and when the set focus commands switch the camera to playback mode.

Anything changed in the language ?

I figure it out, since the button layout changed I used the set_focus command since the key combination that I was using before doesn't work anymore

Re: S100 porting thread
« Reply #73 on: 09 / May / 2012, 23:23:48 »
I tested this today  :) :

Manual video focus while recording and it works.....on this camera instructions are (in case anybody wants to know)   :
-----set to video on dial
-----set to manual focus
-----press record button
-----activate <ALT>-mode
-----press left on back ring (MF) 2 times
-----use zoom to adjust focus
-----now just toggle <ALT> now  to switch between the 2

Anybody know why I have to push left 2 times to get the manual focus to work? 
Is that how my camera is or CHDK in general?


*

Offline philmoz

  • *****
  • 3441
    • Photos
Re: S100 porting thread
« Reply #74 on: 11 / May / 2012, 07:24:59 »

old fi2enc.c - when I choose the firmware update....the camera just turned off


Can you do the following:
- build CHDK with the PS.FI2 file (using original fi2enc.c)
- manual boot the camera from the PS.FI2 (Firm Update menu option)
- after the camera shuts down wait a few seconds then remove and re-insert the battery
- boot CHDK from an autoboot SD card
- run the 'Save ROM crash log' option in the Miscellaneous stuff --> Debug Parameters menu
- post the ROMLOG.LOG file saved on the SD card here.

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: S100 porting thread
« Reply #75 on: 11 / May / 2012, 22:11:26 »
Here it is....I read though it and read something about lens error.  I know I turned on my camera yesterday with the lens blocked just in case it matters.  I really don't know much else about this file. 

I followed your directions exactly though.

*

Offline philmoz

  • *****
  • 3441
    • Photos
Re: S100 porting thread
« Reply #76 on: 11 / May / 2012, 22:19:08 »
Here it is....I read though it and read something about lens error.  I know I turned on my camera yesterday with the lens blocked just in case it matters.  I really don't know much else about this file. 

I followed your directions exactly though.

Thanks for that.

I wanted to see if it was logging any debug assert errors when running the PS.FI2 file.
It doesn't look like it has - as you said the error is a lens error unrelated to booting the PS.FI2.

Back to the drawing board.

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)

*

Offline funnel

  • ****
  • 349
Re: S100 porting thread
« Reply #77 on: 12 / May / 2012, 04:23:16 »
What bout the wrong lines in loader/cam/entry.S ? Do they affect anything?

@colon247
You could try to comment them out to see if it makes any difference.

leave just this lines

Code: [Select]
MOV     SP, #0x1900
MOV     R11, #0
B my_restart



Re: S100 porting thread
« Reply #78 on: 12 / May / 2012, 09:51:51 »
What bout the wrong lines in loader/cam/entry.S ? Do they affect anything?

@colon247
You could try to comment them out to see if it makes any difference.

leave just this lines

Code: [Select]
MOV     SP, #0x1900
MOV     R11, #0
B my_restart



Tried this before going to  work.   This one did not change anything though. The camera still turned off.

*

Offline reyalp

  • ******
  • 13793
Re: S100 porting thread
« Reply #79 on: 12 / May / 2012, 16:00:42 »
One thing you could do is try blinking LEDs at various points to see how far it gets.
Don't forget what the H stands for.

 

Related Topics