Headline news

Want to help with Magic Lantern development, without having to code?

You can find our live webchat here: [email protected]

Author Topic: Flash prop  (Read 3715 times)

scrax

  • Developer
  • Hero Member
  • *****
  • Posts: 1417
  • Code monkey
Flash prop
« on: December 17, 2012, 10:35:07 PM »
I've started to add flash prop to 600D using the 580EXII, any advice on what name to use?

will update this post with what i've found...

800200090004:8300015f00000from 000 to 15f when some setting is confirmed with SET
800200010004:5f00000from 0 to 5f when some setting is confirmed with SET
800400130004:000000Flash Firing: Enable
800400130004:100000Flash Firing: Disable
800400140004:000000E_TTLII Meter: Evalutative
800400140004:100000E_TTLII Meter: Average
800300380022:800448003800001Flash Settings: ETTL-II
800300380022:810448003800003Flash Settings: Manual flash
800300380022:820470123848003800001Flash Settings: Multiflash
800300380022:820470123848003800001Flash Settings: Frequency 199 to 1 = 0xC7 to 0x01
800300380022:820470123848003800001Flash Settings: Flash Count from 1 to 18 maybe more? in hex 0x01 to 0x12
800300380022:800448003800001Flash Settings: 1st curtain
800300380022:80044a003800001Flash Settings: 2nd curtain
800300380022:80044d003800001Flash Settings: Hi-speed
800300380022:1000800448003800001Flash Settings: Flash exp. comp: +2ev
800300380022:d000800448003800001Flash Settings: Flash exp. comp: +1.6ev
800300380022:b000800448003800001Flash Settings: Flash exp. comp: +1.3ev
800300380022:800448003800001Flash Settings: Zoom Auto
800300380022:300448003800001Flash Settings: Zoom 24mm others: 5-7-9-b-d-f
800300380022:80040048003800001Flash Output: 1/1
800300380022:80043848003800001Flash Output: 1/128
800300380022:800448003800001Flash Settings: Wireless func. disable
800300380022:80046830001006003800001Flash Settings: Wireless func. enable
800300380022:80046830000006003800001Flash Settings: Master Flash disabled and Channel All
800300380022:80046830001006003800001Flash Settings: Master Flash enabled and Channel All
800300380022:80046830002006003800001Flash Settings: Master Flash disabled and Channel A:B
800300380022:80046830003006003800001Flash Settings: Master Flash enabled and Channel A:B
800300380022:80046830004006003800001Flash Settings: Master Flash disabled and Channel A:B:C
800300380022:80046830005006003800001Flash Settings: Master Flash enabled and Channel A:B:C
800300380022:4830009006003800001Internal Flash Settings: Wireless Flash enabled EXT:INT
800300380022:483001B006003800001Internal Flash Settings: Custom Wireless enabled EXT:INT
800300380022:4830010006003800001Internal Flash Settings: Wireless Manual Flash enabled EXT
800300380022:4830012006003800001Internal Flash Settings: Wireless ETT-II Flash enabled EXT
800300380022:4830019006003800001Internal Flash Settings: Wirl. en. EXT+INT or Custom Wir. Ext. All and Int.
800300380022:80046830000006003800001Flash Settings: Channel 1
800300380022:80046830100006003800001Flash Settings: Channel 2
800300380022:80046830200006003800001Flash Settings: Channel 3
800300380022:80046830300006003800001Flash Settings: Channel 4
800300380022:80040680000006003800001Flash Settings:  Group A output 1/1
800300380022:8004206820000006003800001Flash Settings:  Group A output 1/16
800300380022:8004386838000006003800001Flash Settings:  Group A output 1/128
800300380022:8004386838000006003800001Flash Settings:  Group B output 1/1
800300380022:8004386838000006003800201Flash Settings:  Group B output 1/16
800300380022:8004386838000006003800381Flash Settings:  Group B output 1/128
800300380022:8004386838000006003800381Flash Settings:  Group C output 1/1
800300380022:8004386838000006003820381Flash Settings:  Group C output 1/16
800300380022:8004386838000006003838381Flash Settings:  Group C output 1/128
800300380022:800468300010006003800001Flash Settings: A:B fire ratio 1:1
800300380022:800468300010000003800001Flash Settings: A:B fire ratio 8:1
800300380022:80046830001000c003800001Flash Settings: A:B fire ratio 1:8
800300380022:8004683000100180c003800001Flash Settings: Grp.C exp.comp +3
800300380022:8004683000100100c003800001Flash Settings: Grp.C exp.comp +2
800300380022:800468300010080c003800001Flash Settings: Grp.C exp.comp +1
800300380022:800468300010000c003800001Flash Settings: Grp.C exp.comp 0
800300380022:8004683000100f80c003800001Flash Settings: Grp.C exp.comp -1
800300380022:8004683000100f00c003800001Flash Settings: Grp.C exp.comp -2
800300380022:8004683000100e80c003800001Flash Settings: Grp.C exp.comp -3
800300380022:4030001006f00f00001Internal Flash Settings: Normal firing
800300380022:4030001016f00f00001Internal Flash Settings: Easy Wireless
800300380022:4030001026f00f00001Internal Flash Settings: CustomWireless
800300380022:4030001016f00f00001Internal Flash Settings: Easy Wireless flash exp. comp.
800300380022:4030001006f00f00001Internal Flash Settings: Wireless custom. External flash exp.comp -2
800300380022:4030001006f00f0f001Internal Flash Settings: Wireless custom. Internal flash exp.comp -2

addrleng0x290x270x250x230x210x1E0x1C0x1A0x180x170x150x130x110x0E0x0C0x0A0x080x060x040x020x00
800300380022:aa00bc04gghhffdennkmmqqiijjss38oopprrttzz
aa= Flash. Exp.comp.
b = Zoom
c = Flash mode: Ettl-II, Manual, Multiflash
d = Wireless func
e = 1st, 2nd curtain, hi-speed
ff* = Flash power values from 1/1 to 1/128 1/3stop: (2,5,8,a,d,10,12,15,18,1a,1d,20,22,25,28,2a,2d,30,32,35,38)
gg = frequency (199 = 0xc7, 1 = 0x1)
hh = flash count (hex like before 1 = 0x1 18 = 0x12)
ii = Grp.C exp.comp
jj = A:B fire ratio
k = Channels (1,2,3,4)
mm = Master Flash and Channel Groups
nn = Group A output
oo = Group B output
pp = Group C output
qq = Built-in flash mode
rr = Internal Flash Settings: only int. exp.comp
ss = Internal Flash Settings: Easy Wireless flash exp. comp
tt = Internal Flash Settings: Wireless custom. int. flash exp.comp
zz = change only when in manual flash, unknown
*can change if Flash mode changes (saves the value each mode has set and restore it if the mode is recalled back)
« Last Edit: December 20, 2012, 03:52:58 PM by scrax »
I'm using ML2.3 for photography with:
EOS 600DML | EOS 400Dplus - EF 100mm f/2.8 USM Macro  - EF-S 17-85mm f4-5.6 IS USM - EF 70-200mm f/4 L USM - 580EXII - OsX Lion, Photoshop & Lightroom -no video experience- MLTools

nanomad

  • Administrator
  • Hero Member
  • *****
  • Posts: 2917
  • All your websites are belong to us
Flash prop
« Reply #1 on: December 17, 2012, 10:35:59 PM »
flash prop? As in?
EOS 1100D | EOS 650 (No, I didn't forget the D) | Ye Olde Canon EF Lenses ('87): 50 f/1.8 - 28 f/2.8 - 70-210 f/4 | EF-S 18-55 f/3.5-5.6 | Metz 36 AF-5

scrax

  • Developer
  • Hero Member
  • *****
  • Posts: 1417
  • Code monkey
Flash prop
« Reply #2 on: December 17, 2012, 10:41:38 PM »
flash prop? As in?

what i can see using Spy prop and adding them to property.h like:

Code: [Select]
#define PROP_STROBO_FIRING    0x80040013  // 0 = enable, 1 = disable, 2 = auto?
I'm using ML2.3 for photography with:
EOS 600DML | EOS 400Dplus - EF 100mm f/2.8 USM Macro  - EF-S 17-85mm f4-5.6 IS USM - EF 70-200mm f/4 L USM - 580EXII - OsX Lion, Photoshop & Lightroom -no video experience- MLTools

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 2302
Flash prop
« Reply #3 on: December 17, 2012, 11:10:06 PM »

              v23 = (const char *)&"***** PROP_STROBO_SETTING size = 0[%d]";

scrax

  • Developer
  • Hero Member
  • *****
  • Posts: 1417
  • Code monkey
Flash prop
« Reply #4 on: December 18, 2012, 12:59:13 AM »
              v23 = (const char *)&"***** PROP_STROBO_SETTING size = 0[%d]";
yes that 0x80030038 is full of settings
I'm using ML2.3 for photography with:
EOS 600DML | EOS 400Dplus - EF 100mm f/2.8 USM Macro  - EF-S 17-85mm f4-5.6 IS USM - EF 70-200mm f/4 L USM - 580EXII - OsX Lion, Photoshop & Lightroom -no video experience- MLTools

Greg

  • Supporter
  • Senior
  • *****
  • Posts: 375
Flash prop
« Reply #5 on: December 18, 2012, 02:04:29 PM »
Great, I dreamed about it, the 500D does not work debugmsg, so I can not carry out research.
 ;) ;D

scrax

  • Developer
  • Hero Member
  • *****
  • Posts: 1417
  • Code monkey
Flash prop
« Reply #6 on: December 18, 2012, 02:54:23 PM »
I've added options found using ETTL-II as flash mode.
there are also Manual and Multi flash left.
I'm using ML2.3 for photography with:
EOS 600DML | EOS 400Dplus - EF 100mm f/2.8 USM Macro  - EF-S 17-85mm f4-5.6 IS USM - EF 70-200mm f/4 L USM - 580EXII - OsX Lion, Photoshop & Lightroom -no video experience- MLTools

Greg

  • Supporter
  • Senior
  • *****
  • Posts: 375
Flash prop
« Reply #7 on: December 18, 2012, 05:28:14 PM »
We can overwrite the data? I think the ISO menu, you can add a few features ;)

scrax

  • Developer
  • Hero Member
  • *****
  • Posts: 1417
  • Code monkey
Flash prop
« Reply #8 on: December 18, 2012, 05:42:44 PM »
We can overwrite the data? I think the ISO menu, you can add a few features ;)
I hope so, not sure right now.
I don't know how to properly add the value in property.h will try once finished posting them here.
For example "Master flash" and "Firing Group" are related.
If FG is set to all and MF is off we have 0 with MF on we have 1
if FG is set to A:B and MF if off we have 2 with MF on we have 3
if FG is set to A:B:C and MF if off we have 4 with MF on we have 5
« Last Edit: December 18, 2012, 05:48:08 PM by scrax »
I'm using ML2.3 for photography with:
EOS 600DML | EOS 400Dplus - EF 100mm f/2.8 USM Macro  - EF-S 17-85mm f4-5.6 IS USM - EF 70-200mm f/4 L USM - 580EXII - OsX Lion, Photoshop & Lightroom -no video experience- MLTools

scrax

  • Developer
  • Hero Member
  • *****
  • Posts: 1417
  • Code monkey
Flash prop
« Reply #9 on: December 18, 2012, 07:20:57 PM »
I've added here all i can figure out for now, I hope it's clear.
How to put those value in property.h?

for example this is wrong i suppose:
#define STROBE_1ST_CURTAIN 0x8
#define STROBE_2ND_CURTAIN 0xA
#define STROBE_HI_SPEED 0xD

How to specify that it need to go in the 16th "place" (last char of second group) in that prop?
something like this, maybe?:
#define STROBE_1ST_CURTAIN 0x00000000 0x00000008
or:
#define STROBE_1ST_CURTAIN[16] 0x8
« Last Edit: December 18, 2012, 07:22:37 PM by scrax »
I'm using ML2.3 for photography with:
EOS 600DML | EOS 400Dplus - EF 100mm f/2.8 USM Macro  - EF-S 17-85mm f4-5.6 IS USM - EF 70-200mm f/4 L USM - 580EXII - OsX Lion, Photoshop & Lightroom -no video experience- MLTools

nanomad

  • Administrator
  • Hero Member
  • *****
  • Posts: 2917
  • All your websites are belong to us
Flash prop
« Reply #10 on: December 18, 2012, 07:24:18 PM »
You can probably use a bitmask of some sort
EOS 1100D | EOS 650 (No, I didn't forget the D) | Ye Olde Canon EF Lenses ('87): 50 f/1.8 - 28 f/2.8 - 70-210 f/4 | EF-S 18-55 f/3.5-5.6 | Metz 36 AF-5

scrax

  • Developer
  • Hero Member
  • *****
  • Posts: 1417
  • Code monkey
Flash prop
« Reply #11 on: December 18, 2012, 07:41:32 PM »
In property.h there are those commented lines:
//strobo_setting[0] & 0xFF000000 = strobo_aecomp << 24
//strobo_setting[1] & 2 = 2 if strobo_curtain else 0
//strobo_setting[1] & 8 = 8 if e-ttl meter = average else 0
that are corresponding to my results. Is good this? i can go on filling it, but not sure if it's useful or not.
from what i get, [ 0 ] is the first block [5] the last. Position inside the block is done with zeros
« Last Edit: December 18, 2012, 07:44:18 PM by scrax »
I'm using ML2.3 for photography with:
EOS 600DML | EOS 400Dplus - EF 100mm f/2.8 USM Macro  - EF-S 17-85mm f4-5.6 IS USM - EF 70-200mm f/4 L USM - 580EXII - OsX Lion, Photoshop & Lightroom -no video experience- MLTools

jplxpto

  • Developer
  • Hero Member
  • *****
  • Posts: 506
Flash prop
« Reply #12 on: December 18, 2012, 11:15:44 PM »
You did a good job!

jplxpto

  • Developer
  • Hero Member
  • *****
  • Posts: 506
Flash prop
« Reply #13 on: December 18, 2012, 11:44:33 PM »
Scrax, you can try to do the same for the internal flash.

The 40D has these properties:

Code: [Select]
PROP_BUILTIN_STROBO_SETTING

PROP_STROBO_CFN
PROP_STROBO_SETTING
PROP_STROBO_WIRELESS_SETTING


scrax

  • Developer
  • Hero Member
  • *****
  • Posts: 1417
  • Code monkey
Flash prop
« Reply #14 on: December 19, 2012, 12:09:49 AM »
Is this correct so:
//strobo_setting[0] & 0x0000F000 = 1 if strobo_manualflash else 0
//strobo_setting[0] & 0x0000F000 = 2 if strobo_multilflash else 0

or is better this:
#define STROBO_ETTLII_FLASH 0x00000000 0x0 0x0 0x0 0x0 0x0
#define STROBO_MANUAL_FLASH 0x00001000 0x0 0x0 0x0 0x0 0x0
#define STROBO_MULTI_FLASH 0x00002000 0x0 0x0 0x0 0x0 0x0

#define STROBO_ZOOM_AUTO 0x00080000 0x0 0x0 0x0 0x0 0x0
#define STROBO_ZOOM_24MM 0x00030000 0x0 0x0 0x0 0x0 0x0
#define STROBO_ZOOM_28MM 0x00050000 0x0 0x0 0x0 0x0 0x0
#define STROBO_ZOOM_35MM 0x00070000 0x0 0x0 0x0 0x0 0x0
#define STROBO_ZOOM_50MM 0x00090000 0x0 0x0 0x0 0x0 0x0
#define STROBO_ZOOM_70MM 0x000B0000 0x0 0x0 0x0 0x0 0x0
#define STROBO_ZOOM_80MM 0x000D0000 0x0 0x0 0x0 0x0 0x0
#define STROBO_ZOOM_105MM 0x000F0000 0x0 0x0 0x0 0x0 0x0

#define STROBO_FREQ_001 0x0 0x01000000 0x0 0x0 0x0 0x0
//....
#define STROBO_FREQ_199 0x0 0xC7000000 0x0 0x0 0x0 0x0

#define STROBO_COUNT_01 0x0 0x00010000 0x0 0x0 0x0 0x0
//....
#define STROBO_COUNT_18 0x0 0x00120000 0x0 0x0 0x0 0x0

#define STROBO_OUTPUT_1_0 0x0 0x00000000 0x0 0x0 0x0 0x0
#define STROBO_OUTPUT_1_3 0x0 0x00000200 0x0 0x0 0x0 0x0
#define STROBO_OUTPUT_1_6 0x0 0x00000200 0x0 0x0 0x0 0x0
#define STROBO_OUTPUT_2_0 0x0 0x00000500 0x0 0x0 0x0 0x0
#define STROBO_OUTPUT_2_3 0x0 0x00000800 0x0 0x0 0x0 0x0
#define STROBO_OUTPUT_2_6 0x0 0x00001000 0x0 0x0 0x0 0x0
#define STROBO_OUTPUT_4_0 0x0 0x00001200 0x0 0x0 0x0 0x0
#define STROBO_OUTPUT_4_3 0x0 0x00001500 0x0 0x0 0x0 0x0
#define STROBO_OUTPUT_4_6 0x0 0x00001800 0x0 0x0 0x0 0x0
#define STROBO_OUTPUT_8_0 0x0 0x00001000 0x0 0x0 0x0 0x0
#define STROBO_OUTPUT_8_3 0x0 0x00001A00 0x0 0x0 0x0 0x0
#define STROBO_OUTPUT_8_6 0x0 0x00001D00 0x0 0x0 0x0 0x0
#define STROBO_OUTPUT_16_0 0x0 0x00002000 0x0 0x0 0x0 0x0
#define STROBO_OUTPUT_16_3 0x0 0x00002200 0x0 0x0 0x0 0x0
#define STROBO_OUTPUT_16_6 0x0 0x00002500 0x0 0x0 0x0 0x0
#define STROBO_OUTPUT_32_0 0x0 0x00002800 0x0 0x0 0x0 0x0
#define STROBO_OUTPUT_32_3 0x0 0x00002A00 0x0 0x0 0x0 0x0
#define STROBO_OUTPUT_32_6 0x0 0x00002D00 0x0 0x0 0x0 0x0
#define STROBO_OUTPUT_64_0 0x0 0x00003000 0x0 0x0 0x0 0x0
#define STROBO_OUTPUT_64_3 0x0 0x00003200 0x0 0x0 0x0 0x0
#define STROBO_OUTPUT_64_6 0x0 0x00003500 0x0 0x0 0x0 0x0
#define STROBO_OUTPUT_128_0 0x0 0x00003800 0x0 0x0 0x0 0x0

Scrax, you can try to do the same for the internal flash.

The 40D has these properties:

Code: [Select]
PROP_BUILTIN_STROBO_SETTING

PROP_STROBO_CFN
PROP_STROBO_SETTING
PROP_STROBO_WIRELESS_SETTING


Yes will try internal too.
I'm using ML2.3 for photography with:
EOS 600DML | EOS 400Dplus - EF 100mm f/2.8 USM Macro  - EF-S 17-85mm f4-5.6 IS USM - EF 70-200mm f/4 L USM - 580EXII - OsX Lion, Photoshop & Lightroom -no video experience- MLTools

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 2302
Flash prop
« Reply #15 on: December 19, 2012, 01:01:50 AM »
I've added here all i can figure out for now, I hope it's clear.
How to put those value in property.h?

for example this is wrong i suppose:
#define STROBE_1ST_CURTAIN 0x8
#define STROBE_2ND_CURTAIN 0xA
#define STROBE_HI_SPEED 0xD

(very good research btw!)

i think thats *nothing* for property.h.

create a strobo.c/.h and put these defines there along with the code to access them.
as this is very specific, i recommend adding parameter description too.
e.g.

/** call this function to set the strobe firing to 1st/2nd curtain ...
  *  @param strobe_type: one of STROBE_1ST_CURTAIN  STROBE_2ND_CURTAIN STROBE_HI_SPEED 0xD
  */
void strobo_set_curtain(uint32_t strobo_type)
{
...
}

How to specify that it need to go in the 16th "place" (last char of second group) in that prop?
something like this, maybe?:
#define STROBE_1ST_CURTAIN 0x00000000 0x00000008
or:
#define STROBE_1ST_CURTAIN[16] 0x8

i would add a define to strobo.h
#define STROBO_<propertyname>_CURTAIN_POS (16)
and in strobo.c:

...
property_buffer[STROBO_<propertyname>_CURTAIN_POS] = strobo_type;
...

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 2302
Flash prop
« Reply #16 on: December 19, 2012, 01:10:34 AM »
btw:
 - DryosDebugMsg(131, 3, "GUI_SetStroboSettingCompositionStatus Status(%d) IsBuiltIn(%d)", a1, a2);
 - "***** PROP_STROBO_SETTING_COMPOSITION size = 0[%d]"
these are some messages when
prop_request_change(0x80030038u, &byte_7B1A8, 34);
is called on 7D


thats some debug code: (after manual cleanup)

DryosDebugMsg(131, 3, (char *)&"PROP_STROBO_SETTING_COMPOSITION");
DryosDebugMsg(131, 3, (char *)&"StroboSettingCompositionData.status[%#x]", (unsigned __int8)byte_7B1A8[0]);
DryosDebugMsg(131, 3, (char *)&"StroboSettingCompositionData.setting0[%#x]", (unsigned __int8)byte_7B1A8[1]);
DryosDebugMsg(131, 3, (char *)&"StroboSettingCompositionData.setting1[%#x]", (unsigned __int8)byte_7B1A8[2]);
DryosDebugMsg(131, 3, (char *)&"StroboSettingCompositionData.setting2[%#x]", (unsigned __int8)byte_7B1A8[3]);
DryosDebugMsg(131, 3, (char *)&"StroboSettingCompositionData.setting3[%#x]", (unsigned __int8)byte_7B1A8[4]);
DryosDebugMsg(131, 3, (char *)&"StroboSettingCompositionData.setting4[%#x]", (unsigned __int8)byte_7B1A8[5]);
DryosDebugMsg(131, 3, (char *)&"StroboSettingCompositionData.setting5[%#x]", (unsigned __int8)byte_7B1A8[6]);
DryosDebugMsg(131, 3, (char *)&"StroboSettingCompositionData.setting6[%#x]", (unsigned __int8)byte_7B1A8[7]);
DryosDebugMsg(131, 3, (char *)&"StroboSettingCompositionData.setting7[%#x]", (unsigned __int8)byte_7B1A8[8]);
DryosDebugMsg(131, 3, (char *)&"StroboSettingCompositionData.setting8[%#x]", (unsigned __int8)byte_7B1A8[9]);
DryosDebugMsg(131, 3, (char *)&"StroboSettingCompositionData.setting9[%#x]", (unsigned __int8)byte_7B1A8[10]);
DryosDebugMsg(131, 3, (char *)&"StroboSettingCompositionData.setting10[%#x]", (unsigned __int8)byte_7B1A8[11]);
DryosDebugMsg(131, 3, (char *)&"StroboSettingCompositionData.setting11[%#x]", (unsigned __int8)byte_7B1A8[12]);
DryosDebugMsg(131, 3, (char *)&"StroboSettingCompositionData.setting12[%#x]", (unsigned __int8)byte_7B1A8[13]);
DryosDebugMsg(131, 3, (char *)&"StroboSettingCompositionData.setting13[%#x]", (unsigned __int8)byte_7B1A8[14]);
DryosDebugMsg(131, 3, (char *)&"StroboSettingCompositionData.setting14[%#x]", (unsigned __int8)byte_7B1A8[15]);
DryosDebugMsg(131, 3, (char *)&"StroboSettingCompositionData.setting15[%#x]", (unsigned __int8)byte_7B1A8[16]);
DryosDebugMsg(131, 3, (char *)&"StroboSettingCompositionData.setting16[%#x]", (unsigned __int8)byte_7B1A8[17]);
DryosDebugMsg(131, 3, (char *)&"StroboSettingCompositionData.setting17[%#x]", (unsigned __int8)byte_7B1A8[18]);
DryosDebugMsg(131, 3, (char *)&"StroboSettingCompositionData.setting18[%#x]", (unsigned __int8)byte_7B1A8[19]);
DryosDebugMsg(131, 3, (char *)&"StroboSettingCompositionData.setting19[%#x]", (unsigned __int8)byte_7B1A8[20]);
DryosDebugMsg(131, 3, (char *)&"StroboSettingCompositionData.setting20[%#x]", (unsigned __int8)byte_7B1A8[21]);
DryosDebugMsg(131, 3, (char *)&"StroboSettingCompositionData.setting21[%#x]", (unsigned __int8)byte_7B1A8[22]);
DryosDebugMsg(131, 3, (char *)&"StroboSettingCompositionData.setting22[%#x]", (unsigned __int8)byte_7B1A8[23]);
DryosDebugMsg(131, 3, (char *)&"StroboSettingCompositionData.setting23[%#x]", (unsigned __int8)byte_7B1A8[24]);
DryosDebugMsg(131, 3, (char *)&"StroboSettingCompositionData.setting24[%#x]", (unsigned __int8)byte_7B1A8[25]);
DryosDebugMsg(131, 3, (char *)&"StroboSettingCompositionData.setting25[%#x]", (unsigned __int8)byte_7B1A8[26]);
DryosDebugMsg(131, 3, (char *)&"StroboSettingCompositionData.setting26[%#x]", (unsigned __int8)byte_7B1A8[27]);
DryosDebugMsg(131, 3, (char *)&"StroboSettingCompositionData.setting27[%#x]", (unsigned __int8)byte_7B1A8[28]);
DryosDebugMsg(131, 3, (char *)&"StroboSettingCompositionData.setting28[%#x]", (unsigned __int8)byte_7B1A8[29]);
DryosDebugMsg(131, 3, (char *)&"StroboSettingCompositionData.setting29[%#x]", (unsigned __int8)byte_7B1A8[30]);
DryosDebugMsg(131, 3, (char *)&"StroboSettingCompositionData.setting30[%#x]", (unsigned __int8)byte_7B1A8[31]);
DryosDebugMsg(131, 3, (char *)&"StroboSettingCompositionData.setting31[%#x]", (unsigned __int8)byte_7B1A8[32]);
DryosDebugMsg(131, 3, (char *)&"StroboSettingCompositionData.setting32[%#x]", (unsigned __int8)byte_7B1A8[33]);

scrax

  • Developer
  • Hero Member
  • *****
  • Posts: 1417
  • Code monkey
Flash prop
« Reply #17 on: December 19, 2012, 01:43:24 AM »
So far this is what i got, is it correct? :)

//this in strobo.h
#define STROBO_SYNC_POS (16)  // why parenthesis? And maybe this is 15?
#define STROBO_1ST_CURTAIN 0x8
#define STROBO_2ND_CURTAIN 0xA
#define STROBO_HI_SPEED 0xD

#define STROBO_ZOOM_POS (4)  // why parenthesis? and this 3? if the first is 0
#define STROBO_ZOOM_AUTO 0x8
#define STROBO_ZOOM_24MM 0x3
#define STROBO_ZOOM_28MM 0x5
#define STROBO_ZOOM_35MM 0x7
#define STROBO_ZOOM_50MM 0x9
#define STROBO_ZOOM_70MM 0xB
#define STROBO_ZOOM_80MM 0xD
#define STROBO_ZOOM_105MM 0xF

//this in strobo.c
uint32_t strobo_settings;
PROP_HANDLER(PROP_STROBO_SETTINGS)
{
    strobo_settings = buf[0];
}
/** call this function to set the strobo firing to 1st/2nd curtain ...
 *  @param strobo_type: one of
 */
void strobo_set_sync(uint32_t strobo_type)
{
    strobo_settings[STROBO_SYNC_POS] = strobo_type;
    prop_request_change(PROP_STROBO_SETTINGS, &strobo_settings, 34)
}

/** call this function to change external flash zoom...**/
void strobo_set_zoom(uint32_t strobo_zoom)
{
    strobo_settings[STROBO_ZOOM_POS] = strobo_zoom;
    prop_request_change(PROP_STROBO_SETTINGS, &strobo_settings, 34)
}
« Last Edit: December 19, 2012, 01:52:26 AM by scrax »
I'm using ML2.3 for photography with:
EOS 600DML | EOS 400Dplus - EF 100mm f/2.8 USM Macro  - EF-S 17-85mm f4-5.6 IS USM - EF 70-200mm f/4 L USM - 580EXII - OsX Lion, Photoshop & Lightroom -no video experience- MLTools

scrax

  • Developer
  • Hero Member
  • *****
  • Posts: 1417
  • Code monkey
Flash prop
« Reply #18 on: December 19, 2012, 01:49:18 AM »
DryosDebugMsg(131, 3, (char *)&"StroboSettingCompositionData.status[%#x]", (unsigned __int8)byte_7B1A8[0]);

So this status can be z in my table? Manual mode 3 aother 1 ?
and also the POS in strobo.h are reversed.

so:
#define STROBO_ZOOM_POS (1E) // or 31?
« Last Edit: December 19, 2012, 01:51:54 AM by scrax »
I'm using ML2.3 for photography with:
EOS 600DML | EOS 400Dplus - EF 100mm f/2.8 USM Macro  - EF-S 17-85mm f4-5.6 IS USM - EF 70-200mm f/4 L USM - 580EXII - OsX Lion, Photoshop & Lightroom -no video experience- MLTools

jplxpto

  • Developer
  • Hero Member
  • *****
  • Posts: 506
Flash prop
« Reply #19 on: December 19, 2012, 02:21:32 AM »
Scrax, you are my new hero :)

Very good work!

jplxpto

  • Developer
  • Hero Member
  • *****
  • Posts: 506
Flash prop
« Reply #20 on: December 19, 2012, 03:08:46 AM »
If it were possible one day, we could control the external flashes with integrated flash. The new models already allow this.

imme

  • New to the forum
  • *
  • Posts: 25
Flash prop
« Reply #21 on: December 19, 2012, 06:53:38 AM »
Can we use very high speed flash synchronization with ML software?

1. Be able to take images with flash speed sync at 1/800 or higher,
2. DSLR Camera mechanical shutters cant do it. 
3. Can we use ML + Camera on B + ML software shutter speeds

if yes, than definitely this is a whole new world of creativity....

scrax

  • Developer
  • Hero Member
  • *****
  • Posts: 1417
  • Code monkey
Flash prop
« Reply #22 on: December 19, 2012, 11:14:23 PM »
Added also the internal flash prop found, now 9 numbers are unknown or never changed on my camera.
If what i've posted for strobo.c is correct i'll go on filling it.
I'm using ML2.3 for photography with:
EOS 600DML | EOS 400Dplus - EF 100mm f/2.8 USM Macro  - EF-S 17-85mm f4-5.6 IS USM - EF 70-200mm f/4 L USM - 580EXII - OsX Lion, Photoshop & Lightroom -no video experience- MLTools

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 2302
Flash prop
« Reply #23 on: December 20, 2012, 09:59:40 AM »
So this status can be z in my table? Manual mode 3 aother 1 ?
and also the POS in strobo.h are reversed.

so:
#define STROBO_ZOOM_POS (1E) // or 31?

i personally prefer 0x1E, but both is ok.

scrax

  • Developer
  • Hero Member
  • *****
  • Posts: 1417
  • Code monkey
Flash prop
« Reply #24 on: December 20, 2012, 11:41:10 AM »
Good I'm going on with strobo.c but i'm still not sure about one thing
this 0x80030038 has a length of 0x22 = 34 char
but spy prop shows me: 8+8+7+6+6+6 = 41 char
how can my positions be correct?
« Last Edit: December 20, 2012, 12:17:57 PM by scrax »
I'm using ML2.3 for photography with:
EOS 600DML | EOS 400Dplus - EF 100mm f/2.8 USM Macro  - EF-S 17-85mm f4-5.6 IS USM - EF 70-200mm f/4 L USM - 580EXII - OsX Lion, Photoshop & Lightroom -no video experience- MLTools