SX430 - This will be my first porting Attempt - page 13 - DryOS Development - CHDK Forum supplierdeeply

SX430 - This will be my first porting Attempt

  • 202 Replies
  • 234976 Views
Re: SX430 - This will be my first porting Attempt
« Reply #120 on: 21 / November / 2018, 09:12:54 »
Advertisements
Hmm, zebra should be disabled with unchecked "Draw Zebra []"
Go to:
Miscellaneous stuff -> File browser -> CHDK and delete the CCHDK4.CFG file (select the file, press LEFT and select Delete from the menu)

sorry ... i think it was probably my mistake
i did delete the original config file so i do not know what i had done previously
i probably had accidently enabled the edge overlay too

i think it is ok ... however i will reset the card and check it once more

it was probably my error .... as the code related to zebra histogram ...etc must be camera non specific ( idk ?!? just mentioning)

*

Offline blackhole

  • *****
  • 942
  • A590IS 101b
    • Planetary astrophotography
Re: SX430 - This will be my first porting Attempt
« Reply #121 on: 21 / November / 2018, 12:11:02 »
The propset11 patch is here:
https://chdk.setepontos.com/index.php?topic=650.msg138595#msg138595

I'll add a patch for the sx430 tomorrow.

*

Offline reyalp

  • ******
  • 14117
Re: SX430 - This will be my first porting Attempt
« Reply #122 on: 21 / November / 2018, 22:09:04 »
The propset11 patch is here:
https://chdk.setepontos.com/index.php?topic=650.msg138595#msg138595

I'll add a patch for the sx430 tomorrow.
I assume Y means verified, ? unconfirmed? Some things that can be checked:

DELTA_SV, the value of SV_MARKET + DELTA_SV should roughly match the ISO value displayed in the Canon UI, e.g.
Code: [Select]
=p=require'propcase' press'shoot_half' repeat sleep(10) until get_shooting() return sv96_to_iso(get_prop(p.SV_MARKET)+get_prop(p.DELTA_SV))
SV_MARKET converted to ISO should be equal to CAM_MARKET_ISO_BASE when in auto ISO mode. This is 200 on known recent cameras.

Custom colors, sharpness etc can be checked in the "My Colors" custom mode. These are in the propset as a convenience to have them in propset.lua, not currently used in CHDK.

USER_TV is the shutter speed set in Canon manual controls. It should be verifiable in "long shutter" mode on cameras without manual Tv.

MIN_AV should show the minimum AV96 value at a given zoom. This should approximately match the Canon specs.
SX430 specs are 3.5 at wide and 6.8 at tele, so MIN_AV should be about 322 and 531 respectively

Note that it's easy to confuse MIN_AV with the other AV propcases if you are testing on a scene where the camera uses full open aperture.
Don't forget what the H stands for.

Re: SX430 - This will be my first porting Attempt
« Reply #123 on: 22 / November / 2018, 00:47:36 »

Yes the "Y" means Verified , ? not verified
i will try to confirm those you mentioned


*

Offline blackhole

  • *****
  • 942
  • A590IS 101b
    • Planetary astrophotography
Re: SX430 - This will be my first porting Attempt
« Reply #124 on: 22 / November / 2018, 03:00:51 »

Yes the "Y" means Verified , ? not verified
i will try to confirm those you mentioned

Few more things.

mftest.lua
This script tests focus (subject distance) override capabilities for CHDK 1.3 and later. This script should be used on every new port to determine the which override methods work. The script is included in full builds as CHDK/SCRIPTS/TEST/MFTEST.LUA

Test procedure for new ports
Set the camera to P mode
Make sure Canon firmware MF and AF lock are not enabled
Make sure AF and Servo AF are disabled in the Canon firmware shooting menu, if present.
Enable all test methods and set "Bypass Interlocks?" to Yes in the script options.
Set "Shoot Full" to [No]
Run the script.
If the camera crashes on a test, disable that test and repeat
A detailed log is recored in mf_<cameraname>.csv (the name may be truncated on dryos cameras).

Please share the log here.

One dng would come well too.
Shoot something bright and do not use zoom while shooting.

*

Offline blackhole

  • *****
  • 942
  • A590IS 101b
    • Planetary astrophotography
Re: SX430 - This will be my first porting Attempt
« Reply #125 on: 22 / November / 2018, 04:18:49 »
For developers

I almost forgot about this.
I'm in doubt about this:
Code: [Select]
int get_flash_params_count(void) { return 0xe9; } //??? 0x10f

0xFF20D3D0    LDR     R0, =0x10F
0xFF20D3D4    BIC     R4, R4, #0x4000
0xFF20D3D8    CMP     R4, R0
Can anyone take a look at sub_FF20D354?
Is 0x10f okay?

Re: SX430 - This will be my first porting Attempt
« Reply #126 on: 22 / November / 2018, 09:32:09 »

Yes the "Y" means Verified , ? not verified
i will try to confirm those you mentioned

Few more things.

mftest.lua
This script tests focus (subject distance) override capabilities for CHDK 1.3 and later. This script should be used on every new port to determine the which override methods work. The script is included in full builds as CHDK/SCRIPTS/TEST/MFTEST.LUA

Test procedure for new ports
Set the camera to P mode
Make sure Canon firmware MF and AF lock are not enabled
Make sure AF and Servo AF are disabled in the Canon firmware shooting menu, if present.
Enable all test methods and set "Bypass Interlocks?" to Yes in the script options.
Set "Shoot Full" to [No]
Run the script.
If the camera crashes on a test, disable that test and repeat
A detailed log is recored in mf_<cameraname>.csv (the name may be truncated on dryos cameras).

Please share the log here.

One dng would come well too.
Shoot something bright and do not use zoom while shooting.

i will be able to check that tomorrow

*

Offline reyalp

  • ******
  • 14117
Re: SX430 - This will be my first porting Attempt
« Reply #127 on: 23 / November / 2018, 18:14:44 »
Can anyone take a look at sub_FF20D354?
Is 0x10f okay?
That looks correct to me, equivalent to elph180 sub_FF9C3EA4. Note on elph180 GetParameterData is the preceding function (equivalent to sx430 0xFF20D2C0), which is where the sig finder identifies flash param count value.
Don't forget what the H stands for.


Re: SX430 - This will be my first porting Attempt
« Reply #128 on: 24 / November / 2018, 01:17:54 »

Yes the "Y" means Verified , ? not verified
i will try to confirm those you mentioned

Few more things.

mftest.lua
This script tests focus (subject distance) override capabilities for CHDK 1.3 and later. This script should be used on every new port to determine the which override methods work. The script is included in full builds as CHDK/SCRIPTS/TEST/MFTEST.LUA

Test procedure for new ports
Set the camera to P mode
Make sure Canon firmware MF and AF lock are not enabled
Make sure AF and Servo AF are disabled in the Canon firmware shooting menu, if present.
Enable all test methods and set "Bypass Interlocks?" to Yes in the script options.
Set "Shoot Full" to [No]
Run the script.
If the camera crashes on a test, disable that test and repeat
A detailed log is recored in mf_<cameraname>.csv (the name may be truncated on dryos cameras).

Please share the log here.

One dng would come well too.
Shoot something bright and do not use zoom while shooting.

sorry about the delay i was not able to test yesterday. here is the CSV file

i loaded the MFTEST.LUA and ran it .... the test started and the camera shut down

i had to disable the first option set_focus() test.....

note though ... i have used set_focus() from PTP .... but it works after setting af_lock

*

Offline blackhole

  • *****
  • 942
  • A590IS 101b
    • Planetary astrophotography
Re: SX430 - This will be my first porting Attempt
« Reply #129 on: 24 / November / 2018, 16:35:30 »
That looks correct to me, equivalent to elph180 sub_FF9C3EA4. Note on elph180 GetParameterData is the preceding function (equivalent to sx430 0xFF20D2C0), which is where the sig finder identifies flash param count value.
Thanks for checking.

sorry about the delay i was not able to test yesterday. here is the CSV file

i loaded the MFTEST.LUA and ran it .... the test started and the camera shut down

i had to disable the first option set_focus() test.....

note though ... i have used set_focus() from PTP .... but it works after setting af_lock

Thanks!
Today I'll make a patch for this camera.

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal