EOS M3 porting - page 31 - DryOS Development - CHDK Forum  

EOS M3 porting

  • 696 Replies
  • 280067 Views
*

Offline c_joerg

  • *****
  • 1105
Re: EOS M3 porting
« Reply #300 on: 23 / February / 2017, 12:24:33 »
Advertisements
IIRC you need to call function GetCameraInformationData.
How?
If I do
Code: [Select]
call_event_proc('GetCameraInformationData')
I got -1. That means event procedure is not found (or otherwise cannot be executed). Native call functions is enabled.

XML document will be found somewhere in RAM dump.
You mean the dump in the debug menu which gives me a file like CRW_0001.JPG?

M100 100a, M3 101a, G9x II (1.00c), 2*G1x (101a,100e), S110 (103a), SX50 (100c), SX230 (101a), 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 Ant

  • ****
  • 490
Re: EOS M3 porting
« Reply #301 on: 23 / February / 2017, 12:50:27 »
That means event procedure is not found (or otherwise cannot be executed).
Call function by address from *.csv file.

Quote
You mean the dump in the debug menu which gives me a file like CRW_0001.JPG?
Yes. Plus you can type "rmem 0x10 0x02000000 -f=filename"

chdkptp still not allows to read from address 0.

*

Offline c_joerg

  • *****
  • 1105
Re: EOS M3 porting
« Reply #302 on: 23 / February / 2017, 22:28:26 »
Call function by address from *.csv file.
I still have not figured out how this works with function call by address from *.csv file.
Any link, which can help me?

Plus you can type "rmem 0x10 0x02000000 -f=filename"
I never did it from chdkptp but this works very well…  :)

I've seen another interesting function ‘GetAoriAccelerationData’. What does ‘Aori’ mean? May be that gives the information for the ‘FreeFall’ …
M100 100a, M3 101a, G9x II (1.00c), 2*G1x (101a,100e), S110 (103a), SX50 (100c), SX230 (101a), 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 Ant

  • ****
  • 490


*

Offline c_joerg

  • *****
  • 1105
Re: EOS M3 porting
« Reply #304 on: 24 / February / 2017, 14:45:47 »
Code: [Select]
call_func_ptr(0xFCxxxxxx)
Thanks for your help…
Interesting, I saw in my log file the crash, which I had described in Reply #282. It was a ’E50 FormatError’. But not happened again.
M100 100a, M3 101a, G9x II (1.00c), 2*G1x (101a,100e), S110 (103a), SX50 (100c), SX230 (101a), 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

Re: EOS M3 porting
« Reply #305 on: 02 / March / 2017, 18:22:37 »
煽り"aori".  Gust (of wind).  Influence.

*

Offline c_joerg

  • *****
  • 1105
Re: EOS M3 porting
« Reply #306 on: 09 / March / 2017, 07:31:09 »
@Ant
Which DC coupler are you using?
Original Canon or replica? Does the camera recognize the difference between Canon or replica DC coupler?
Does the camera register for a replica DC coupler like a replacement battery?
M100 100a, M3 101a, G9x II (1.00c), 2*G1x (101a,100e), S110 (103a), SX50 (100c), SX230 (101a), 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 Ant

  • ****
  • 490
Re: EOS M3 porting
« Reply #307 on: 09 / March / 2017, 08:57:39 »
I don't have DC coupler.
Camera recognizes the DC coupler by absence of connection on two middle contacts. In this case camera do not display battery icon and maybe increases battery shutdown level.


*

Offline c_joerg

  • *****
  • 1105
Re: EOS M3 porting
« Reply #308 on: 09 / March / 2017, 09:11:36 »
I don't have DC coupler.
Camera recognizes the DC coupler by absence of connection on two middle contacts. In this case camera do not display battery icon and maybe increases battery shutdown level.
But I saw a lot of DC coupler entries in the XML file from Reply #214. I this not your cam?
M100 100a, M3 101a, G9x II (1.00c), 2*G1x (101a,100e), S110 (103a), SX50 (100c), SX230 (101a), 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 Ant

  • ****
  • 490
Re: EOS M3 porting
« Reply #309 on: 09 / March / 2017, 09:42:46 »
It's modified LP-E12 battery without thermistor contact (LP-E12 is slightly shorter).

 

Related Topics