SX50 HS porting thread - page 10 - DryOS Development - CHDK Forum

SX50 HS porting thread

  • 350 Replies
  • 163832 Views
*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: SX50 HS porting thread
« Reply #90 on: 25 / February / 2013, 02:32:37 »
Advertisements
This dont work like that with the sx40hs as it IS Correct.....
if i set the Iso to 1600 it takes a photo @ a Iso of 1600
if i set it to 1100 i get a photo @ Iso1100...


I find this hard to believe - and my SX40HS certainly does not do this. Unless you are talking about setting ISO using the Canon settings and not the CHDK overrides (in Extra Photo Operations menu).

On my SX40HS setting the ISO to 1100 in the CHDK ISO override shows ISO 1600 in the image EXIF - this is how CHDK works and there is no code to do otherwise.

The only exception is in the CHDK Auto ISO code; but you need to compile a custom version of CHDK to enable this.

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 lapser

  • *****
  • 1093
Re: SX50 HS porting thread
« Reply #91 on: 25 / February / 2013, 03:39:00 »
I'm still trying to track down why my shot meters don't give the correct results with the SX50, but work with all other cameras. get_raw_pixel(x,y) is working fine.

The only thing I can think of is that there is a problem with the function:

double log10(double x)

I'm having trouble tracking down exactly how that's computed. Is there a hook into the firmware? If so, is this hook correct for the SX50?

[EDIT] Is this entry correct?

  C:\_CHDK\trunk\trunk2559\platform\sx50hs\sub\100b\stubs_entry.S (1 hit)
   Line 194: NSTUB(_log10                                  ,0x00693890) //112
« Last Edit: 25 / February / 2013, 03:45:40 by lapser »
EOS-M3_120f / SX50_100b / SX260_101a / G1X_100g / D20_100b
https://www.youtube.com/user/DrLapser/videos

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: SX50 HS porting thread
« Reply #92 on: 25 / February / 2013, 05:06:06 »
I'm still trying to track down why my shot meters don't give the correct results with the SX50, but work with all other cameras. get_raw_pixel(x,y) is working fine.

The only thing I can think of is that there is a problem with the function:

double log10(double x)

I'm having trouble tracking down exactly how that's computed. Is there a hook into the firmware? If so, is this hook correct for the SX50?

[EDIT] Is this entry correct?

  C:\_CHDK\trunk\trunk2559\platform\sx50hs\sub\100b\stubs_entry.S (1 hit)
   Line 194: NSTUB(_log10                                  ,0x00693890) //112

No it doesn't look like the right address.

Try adding an override in stubs_entry_2.S:
    NHSTUB(_log10, 0x00691218)

If that works, I'll update the sig finder in SVN.

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: SX50 HS porting thread
« Reply #93 on: 25 / February / 2013, 09:09:26 »
Still Not working......
HQ Burst = One click CrAsH.


Re: SX50 HS porting thread
« Reply #94 on: 25 / February / 2013, 11:08:56 »
This is The Complete CHDK for my camera (SX50HS Version 100B).


« Last Edit: 25 / February / 2013, 11:10:39 by radioman193 »

*

Offline lapser

  • *****
  • 1093
Re: SX50 HS porting thread
« Reply #95 on: 25 / February / 2013, 13:37:27 »
No it doesn't look like the right address.
Try adding an override in stubs_entry_2.S:
    NHSTUB(_log10, 0x00691218)
That worked! Thanks.

When you have eliminated the impossible, whatever remains, however improbable, must be the truth.
Sherlock Holmes
EOS-M3_120f / SX50_100b / SX260_101a / G1X_100g / D20_100b
https://www.youtube.com/user/DrLapser/videos

*

Offline lapser

  • *****
  • 1093
Re: SX50 HS porting thread
« Reply #96 on: 25 / February / 2013, 14:33:20 »
Still Not working......
HQ Burst = One click CrAsH.
You mean the HQ burst mode you get to through the SCN option on the mode dial, right? That works for me. If you're using the same files I sent, and starting with auto-boot and not firmware update, you're running the same software that I am.

In that case, it could be something in the CHDK menus that's causing the crash. Go through all the options and turn everything off that you can, including all the screen displays. If you see something on the screen, like the battery, get rid of it. Be sure raw saving is off, etc. etc.  If you can get it to work, and then turn things back on one at a time until it crashes, that would pinpoint where the error is coming from. Good luck!
EOS-M3_120f / SX50_100b / SX260_101a / G1X_100g / D20_100b
https://www.youtube.com/user/DrLapser/videos

Re: SX50 HS porting thread
« Reply #97 on: 25 / February / 2013, 15:30:32 »
In that case, it could be something in the CHDK menus that's causing the crash. Go through all the options and turn everything off that you can, including all the screen displays. If you see something on the screen, like the battery, get rid of it. Be sure raw saving is off, etc. etc.  If you can get it to work, and then turn things back on one at a time until it crashes, that would pinpoint where the error is coming from. Good luck!
Seems like the easiest way to get to a common platform would be for you both to delete the CCHDK2.CFG file and start cold (on both yours & his cameras).   
Ported :   A1200    SD940   G10    Powershot N    G16

Re: SX50 HS porting thread
« Reply #98 on: 25 / February / 2013, 15:58:47 »
Still Not working......
HQ Burst = One click CrAsH.
You mean the HQ burst mode you get to through the SCN option on the mode dial, right? That works for me. If you're using the same files I sent, and starting with auto-boot and not firmware update, you're running the same software that I am.

In that case, it could be something in the CHDK menus that's causing the crash. Go through all the options and turn everything off that you can, including all the screen displays. If you see something on the screen, like the battery, get rid of it. Be sure raw saving is off, etc. etc.  If you can get it to work, and then turn things back on one at a time until it crashes, that would pinpoint where the error is coming from. Good luck!

Yes all is "fine" untill i take or Try to take a photo...
Half push = OK
Full push = One Click and CrAsH.

*

Offline lapser

  • *****
  • 1093
Re: SX50 HS porting thread
« Reply #99 on: 26 / February / 2013, 00:43:07 »
Seems like the easiest way to get to a common platform would be for you both to delete the CCHDK2.CFG file and start cold (on both yours & his cameras).
That's a good idea. I'll see if I can get my camera to crash, and maybe I can figure it out.

I would like to make sure you're using the same CHDK version that I am. Are you sure you booted with the SD card write protect ON? Will you check the build number in the CHDK miscellaneous menu? I would expect a crash with the original CHDK version for this camera, since the raw buffer addresses were wrong.
« Last Edit: 26 / February / 2013, 00:49:51 by lapser »
EOS-M3_120f / SX50_100b / SX260_101a / G1X_100g / D20_100b
https://www.youtube.com/user/DrLapser/videos

 

Related Topics


SimplePortal © 2008-2014, SimplePortal