Author Topic: DIGIC 8 'PowerShot' development (M50, SX70, SX740)  (Read 126748 times)

Photonob

  • New to the forum
  • *
  • Posts: 4
Re: DIGIC 8 'PowerShot' development (M50, SX70, SX740)
« Reply #200 on: April 19, 2020, 11:41:26 AM »
Hello! I'm new here and I can see that there isn't a full version of ML for EOS M50.

I have this camera and I want to know how can I help.

Thanks.

Walter Schulz

  • Contributor
  • Hero Member
  • *****
  • Posts: 7879
Re: DIGIC 8 'PowerShot' development (M50, SX70, SX740)
« Reply #201 on: April 19, 2020, 06:50:40 PM »
If you are fluent in C, Assembler and reverse engineering embedded devices (ARM preferred) and have several hundred hours of spare time you may want to chat with the devs.
If not: Consider to learn those skills. If *you* are not doing it, why should anybody?

Photonob

  • New to the forum
  • *
  • Posts: 4
Re: DIGIC 8 'PowerShot' development (M50, SX70, SX740)
« Reply #202 on: April 20, 2020, 05:02:51 PM »
I thought that maybe I could help like betatester or simillar. Giving feedback.

Walter Schulz

  • Contributor
  • Hero Member
  • *****
  • Posts: 7879
Re: DIGIC 8 'PowerShot' development (M50, SX70, SX740)
« Reply #203 on: April 20, 2020, 05:10:32 PM »
If you start to learn now we may have a beta around 2023.
Because if someone listened 2 years ago we may have an alpha now.



c_joerg

  • Member
  • ***
  • Posts: 105
Re: DIGIC 8 'PowerShot' development (M50, SX70, SX740)
« Reply #204 on: April 20, 2020, 05:34:10 PM »
If you start to learn now we may have a beta around 2023.
Because if someone listened 2 years ago we may have an alpha now.
Is that an optimistic estimate?
I probably would have the skills but not the time.
Maybe one first project when I retire in 10 years...
6D

Walter Schulz

  • Contributor
  • Hero Member
  • *****
  • Posts: 7879

Greg

  • Contributor
  • Hero Member
  • *****
  • Posts: 607
Re: DIGIC 8 'PowerShot' development (M50, SX70, SX740)
« Reply #206 on: April 22, 2020, 06:00:18 PM »

Photonob

  • New to the forum
  • *
  • Posts: 4
Re: DIGIC 8 'PowerShot' development (M50, SX70, SX740)
« Reply #207 on: April 23, 2020, 04:55:42 PM »


What does this mean? Is it a good new?

kitor

  • Developer
  • Member
  • *****
  • Posts: 220
Re: DIGIC 8 'PowerShot' development (M50, SX70, SX740)
« Reply #208 on: April 26, 2020, 10:16:03 AM »
Quote
What does this mean? Is it a good new?

That's why I suggested some time ago to replace "Magic Lantern Rescue" header with different string, at least for new developments where there's no real ML build - as this may suggest otherwise. Not that I experienced it when posted similar shots for EOS R on twitter  ;).

"Custom code test" would get people a little less excited.
EOS R, 200d

Greg

  • Contributor
  • Hero Member
  • *****
  • Posts: 607
Re: DIGIC 8 'PowerShot' development (M50, SX70, SX740)
« Reply #209 on: April 26, 2020, 02:06:58 PM »
M50 1.0.2 - 7 frames exposure bracketing



Code: [Select]
THUMB_FN(0xE04E05BE, GUI_SetCFnBktSheetsData)

#define BktSheets3                  0x3
#define BktSheets5                  0x5
#define BktSheets7                  0x7

extern int GUI_SetCFnBktSheetsData(int);
GUI_SetCFnBktSheetsData(BktSheets7);

Greg

  • Contributor
  • Hero Member
  • *****
  • Posts: 607
Re: DIGIC 8 'PowerShot' development (M50, SX70, SX740)
« Reply #210 on: April 26, 2020, 05:04:03 PM »
M50 1.0.2 - manual silent shutter (M, Av, Tv, P) also works in continuous mode :

Code: [Select]
THUMB_FN(0xE053607E, GUI_SetSilentShutter)

#define SilentShutter_OFF           0x0
#define SilentShutter_ON            0x1

extern int GUI_SetSilentShutter(int);
GUI_SetSilentShutter(SilentShutter_ON);

30s - 1/4000s - OK
Bulb - ERR70

Danne

  • Developer
  • Hero Member
  • *****
  • Posts: 7129
Re: DIGIC 8 'PowerShot' development (M50, SX70, SX740)
« Reply #211 on: April 26, 2020, 05:27:07 PM »
Are you publishing documented code or is that even code modified and used on the camera?

Greg

  • Contributor
  • Hero Member
  • *****
  • Posts: 607
Re: DIGIC 8 'PowerShot' development (M50, SX70, SX740)
« Reply #212 on: April 26, 2020, 06:02:22 PM »
These few lines of code modify properties, unlock features that the M50 doesn't have in the Canon menu.

Danne

  • Developer
  • Hero Member
  • *****
  • Posts: 7129
Re: DIGIC 8 'PowerShot' development (M50, SX70, SX740)
« Reply #213 on: April 26, 2020, 06:52:07 PM »
Yes, I see. And also c-code. Are you working your own branch?

Greg

  • Contributor
  • Hero Member
  • *****
  • Posts: 607
Re: DIGIC 8 'PowerShot' development (M50, SX70, SX740)
« Reply #214 on: April 26, 2020, 11:36:55 PM »
I compiled this code in digic6-dumper branch. This is not ML, but 2 features with which the M50 is more useful.

kuchka94

  • New to the forum
  • *
  • Posts: 17
Re: DIGIC 8 'PowerShot' development (M50, SX70, SX740)
« Reply #215 on: May 05, 2020, 12:23:44 AM »
I compiled this code in digic6-dumper branch. This is not ML, but 2 features with which the M50 is more useful.
maybe there is something to turn on Dual Pixel AF in 4k mode? M6 ii and 90D with Digic 8 have this DPAF, so it can be locked in our firmware

Greg

  • Contributor
  • Hero Member
  • *****
  • Posts: 607
Re: DIGIC 8 'PowerShot' development (M50, SX70, SX740)
« Reply #216 on: May 05, 2020, 02:33:23 AM »
The M50 sensor is too slow to do this. You need 2x more data to read a dual pixel. So maybe at 10-15 FPS?
At the current stage of development, we should not think about such advanced features.

71m363nd3r

  • New to the forum
  • *
  • Posts: 40
Re: DIGIC 8 'PowerShot' development (M50, SX70, SX740)
« Reply #217 on: May 05, 2020, 03:22:05 AM »
The M50 sensor is too slow to do this. You need 2x more data to read a dual pixel. So maybe at 10-15 FPS?
At the current stage of development, we should not think about such advanced features.

But for sure FHD with DAF could be possible.

finnschmolke

  • New to the forum
  • *
  • Posts: 2
Re: DIGIC 8 'PowerShot' development (M50, SX70, SX740)
« Reply #218 on: May 05, 2020, 04:26:35 PM »
Hello guys, I'm still new here, but would like to try Magic Lantern on my M50, unfortunately I installed version 1.0.3. Can I downgrade the version to 1.0.1 or 1.0.2? Does anybody have experiences with it?

Best regards

LevV

  • New to the forum
  • *
  • Posts: 8
Re: DIGIC 8 'PowerShot' development (M50, SX70, SX740)
« Reply #219 on: May 08, 2020, 04:18:57 PM »
Hello guys, I'm still new here, but would like to try Magic Lantern on my M50, unfortunately I installed version 1.0.3. Can I downgrade the version to 1.0.1 or 1.0.2? Does anybody have experiences with it?

Best regards

TBH looks like we’d have to wait until the devs have had time to look into a fix to downgrade. As of now some guys are obviously working on the m50 code but they are far from the looking into a fix if the m50 downgrade ability has truly been locked at 1.0.3. With all the other cameras running ML, all attention is apparently focused on getting stable builds for those cameras.

If it makes you feel better, I too own an m50 on v1.0.3. I too am unable to downgrade. I too want to try out ML but the only code for this camera is not even a complete build. I’m not sure if I want to sell this thing and get something older, attempt to compile a code of my own (dangerous) or just be patient and await for an official port of ML on m50.

After all, I love this camera. I love the footprint, build quality & internals. I think it would be a monster of a camera when the time comes. In regards downgrade options, I have not yet found one that works. I’ve tried every available lead :'(

Walter Schulz

  • Contributor
  • Hero Member
  • *****
  • Posts: 7879
Re: DIGIC 8 'PowerShot' development (M50, SX70, SX740)
« Reply #220 on: May 08, 2020, 04:34:43 PM »
I’ve tried every available lead :'(

Including this one? https://builds.magiclantern.fm/5D3-113.html -> Installation -> Installation -> Method B

LevV

  • New to the forum
  • *
  • Posts: 8
Re: DIGIC 8 'PowerShot' development (M50, SX70, SX740)
« Reply #221 on: May 08, 2020, 06:35:00 PM »
Yes that one as well. Which reminds me, I need to upload that video of me attempting the downgrade. Like I mentioned in a different thread: my m50 utilize wireless EOS utility. You can connect via usb “but” you can not write/alter the mounted card. Not sure if this is something that canon is beginning to implement in their new FW.

Ascari10

  • Just arrived
  • *
  • Posts: 1
Re: DIGIC 8 'PowerShot' development (M50, SX70, SX740)
« Reply #222 on: May 09, 2020, 07:41:29 AM »
Hey guys,

I wanted to check with you if you could possibly recommend any courses from Udemy etc to get started working on magic lantern and ARM programming etc.
This has been a dream for me to study for the last few years and I am really afraid that if I dont approach this in the right manner, I may quit by being overwhelmed.

names_are_hard

  • Developer
  • Senior
  • *****
  • Posts: 347
  • 200D idiot
Re: DIGIC 8 'PowerShot' development (M50, SX70, SX740)
« Reply #223 on: May 09, 2020, 10:45:17 PM »
I can't give you specific courses because I don't know them.  Here's a skill list:
 - C (not C++, you'll find some people use the terms interchangeably)
 - ARM assembly, some ARM variant that has Thumb instructions
 - Practical ARM hardware knowledge.  I am very weak in this area so cannot give you good advice
 - IDA Pro or Ghidra.  Ghidra is free, IDA is expensive.  Probably the state of tutorials and books is better for IDA, but still okay for Ghidra and will improve over time.

Assuming you're starting from nothing, it will take several months to get good at C.  Let's say another month to get good enough at assembly.  A few weeks to get okay with IDA or Ghidra.

You can start building ML for yourself and running it on a supported camera with very little C knowledge (a day or two to learn how building an existing project works).  That would let you experiment in some limited ways.

heder

  • Developer
  • Member
  • *****
  • Posts: 146
  • No time for caution
Re: DIGIC 8 'PowerShot' development (M50, SX70, SX740)
« Reply #224 on: May 11, 2020, 12:45:45 PM »
Hey guys,

I wanted to check with you if you could possibly recommend any courses from Udemy etc to get started working on magic lantern and ARM programming etc.
This has been a dream for me to study for the last few years and I am really afraid that if I dont approach this in the right manner, I may quit by being overwhelmed.

My 2 cents.

Learning C and assembly is like learning new languages, like Spanish or English, in the begining its going to be difficult, but when you understand the structure and sematic of the langage it's going to be fun.

I started programming basic on a commondor 16 back around 1986, and ended up becomming a programmer, and now with 30+ years of programming, my best advcie to you is buy an arduino nano or uno (both are arm processors) and install the arduino software. It's going to be fun, you'll beable to experiment and practice your c-skill right away, and keeping fun in the picture is pretty important.

I can not recommand any cources, I did take a look. I would suggest starting with some online youtube videos. There is big difference between wishing (as in hobby) or must (due to school,jobs) to learn c and assembly language. If you want to learn@hobby remeber always to take the fun path, otherwise it can be very boring. In fact most c programming is boring until you run the code.
Embedded SW engineer. Canon 20d, 40d, 350d