Focus function for EOS M3 / M10 - page 4 - General Help and Assistance on using CHDK stable releases - CHDK Forum supplierdeeply

Focus function for EOS M3 / M10

  • 32 Replies
  • 957 Views
*

Offline srsa_4c

  • ******
  • 3906
Re: Focus function for EOS M3 / M10
« Reply #30 on: 27 / April / 2019, 08:55:48 »
Advertisements
I added M10 support to Joerg's script, using Ant's hint (thanks).
Made a LOG run with focus step set to 5 (an arbitrary value), using the EF_M 15-45 @15 and @45 mm.

Re: Focus function for EOS M3 / M10
« Reply #31 on: 29 / April / 2019, 05:05:32 »
Made a LOG run with focus step set to 5 (an arbitrary value), using the EF_M 15-45 @15 and @45 mm.
Attached the plots for the EF-M 15-45.
Do you happen to know where those values are populated? 0x244918 is inside a huge structure and is not referenced directly (the firmware's addressing is very hard to follow, lots of base + offset variations).

Are there any other values where logging would be worthwhile?
For example, an absolute step counter?
M100 100a, M3 101a, 2*G1x (101a,100e), S110 (103a), SX50 (100c), SX230 (101a), 2*S45,
Flickr https://www.flickr.com/photos/136329431@N06/albums
YouTube https://www.youtube.com/channel/UCrTH0tHy9OYTVDzWIvXEMlw/videos?shelf_id=0&view=0&sort=dd

*

Offline srsa_4c

  • ******
  • 3906
Re: Focus function for EOS M3 / M10
« Reply #32 on: 29 / April / 2019, 17:04:29 »
Are there any other values where logging would be worthwhile?
For example, an absolute step counter?
I don't know, I did not look. The address you're getting the distance data is inside a big struct that has all sorts of lens related stuff (some are bytes, some are halfwords, there might be words too). If you read from neighboring addresses, you may find a counter (if it exists).
late edit:
related thread on ML forum: https://www.magiclantern.fm/forum/index.php?topic=23946.0
« Last Edit: 04 / May / 2019, 17:44:55 by srsa_4c »

 

Related Topics