Author Topic: Porting ML to XSi (450D)  (Read 88247 times)

Ant123

  • Contributor
  • Member
  • *****
  • Posts: 162
Re: Porting ML to XSi (450D)
« Reply #100 on: July 21, 2020, 10:39:09 PM »
Tried to use fast SD Card - Sandisk Extreme Pro 95MB/s (UHS-I U3 V30). CHDK benchmark on Digic6 camera writes at 70+ MB/s.

On 450D ML benchmark in playback mode writes at 19-20 MB/s. The theoretical limit is 48MHz / 2 = 24MB/s.
Can't display benchmark results in LiveView mode because canon code refreshes the bitmap buffer continiously and ML texts are flickering or disappear. How to fix it?

Now MotionJPEG recording is more stable at ~29.7FPS (dual write buffering - 2x8MB).
But frame drops still occur when the frame size exceeds 400kB for a long time.
In some very spetial situations frame size can exceed 700kB. For example: https://i.stack.imgur.com/YbUvO.gif

The experimental build is there

heder

  • Contributor
  • Member
  • *****
  • Posts: 129
  • No time for caution
Re: Porting ML to XSi (450D)
« Reply #101 on: July 22, 2020, 01:34:35 PM »
Tried to use fast SD Card - Sandisk Extreme Pro 95MB/s (UHS-I U3 V30). CHDK benchmark on Digic6 camera writes at 70+ MB/s.

On 450D ML benchmark in playback mode writes at 19-20 MB/s. The theoretical limit is 48MHz / 2 = 24MB/s.
Can't display benchmark results in LiveView mode because canon code refreshes the bitmap buffer continiously and ML texts are flickering or disappear. How to fix it?

Hi Ant123

I never any flickering on 40D, not even on the early version, but if you have flickering the buffering system is'nt working correctly, might be due to incorrect WINSYS_BMP_DIRTY_BIT_NEG address. If that one is incorrect the BMP_LOCKS in dialog_test.c will not work, and that might result in flickering. Without locking canon is free to redraw.


Now MotionJPEG recording is more stable at ~29.7FPS (dual write buffering - 2x8MB).
But frame drops still occur when the frame size exceeds 400kB for a long time.
In some very spetial situations frame size can exceed 700kB. For example: https://i.stack.imgur.com/YbUvO.gif

That is really interessing, too bad I don't have time atm to implement your module on 40D, maybe after summer holiday.
Embedded SW engineer. Current Cameras: Canon 20d, 40d, 350d

Ant123

  • Contributor
  • Member
  • *****
  • Posts: 162
Re: Porting ML to XSi (450D)
« Reply #102 on: July 22, 2020, 04:45:45 PM »
That is really interessing, too bad I don't have time atm to implement your module on 40D, maybe after summer holiday.

You need only modify lines 559, 560, 715 and 755.

MrGoodween

  • Just arrived
  • *
  • Posts: 1
Re: Porting ML to XSi (450D)
« Reply #103 on: July 22, 2020, 08:29:33 PM »
Good day. tell me on the latest version of the magic lantern is the focus peaking function implemented? moved from film and got used to manual fixes. and this function would help me. only she is needed.

Ant123

  • Contributor
  • Member
  • *****
  • Posts: 162
Re: Porting ML to XSi (450D)
« Reply #104 on: July 23, 2020, 04:48:47 PM »
on the latest version of the magic lantern is the focus peaking function implemented?
Not implemented on 450D.

Hellmark

  • New to the forum
  • *
  • Posts: 2
Re: Porting ML to XSi (450D)
« Reply #105 on: August 06, 2020, 09:08:46 PM »
Out of curiosity, does this port include the patch manager stuff? I'm wanting to use ML to help with trying to circumvent the SD Card write lock issue on mine (it shows as being set to lock no matter what, and not had any luck getting it to show otherwise so far), and I saw a1ex had a method for circumventing the check with ROM patching that required the patch manager.

Damiano

  • New to the forum
  • *
  • Posts: 10
Re: Porting ML to XSi (450D)
« Reply #106 on: August 10, 2020, 01:20:02 PM »
Hello,
I'm trying  to find the STATE objects of the 450D. In particular i'm trying to find the address of SCSState and SSSState.
I'm using this procedure on qemu as a1ex said : https://www.magiclantern.fm/forum/index.php?topic=17969.msg196010#msg196010
but the first part of the code doesn't return nothing.
Code: [Select]
./run_canon_fw.sh 450D,firmware="boot=0" -d calls |& grep --text EvfState
Any idea why the code doesnt't work and how can find SCSState and SSSSate for this camera?
Thank you,
Damiano

Damiano

  • New to the forum
  • *
  • Posts: 10
Re: Porting ML to XSi (450D)
« Reply #107 on: August 15, 2020, 06:43:30 PM »
I was able to redo the procedure of a1ex using FWState instead of EvfState but the SCSState and SSSState are not present in the  final result. Does anyone know what's the name of SCSState and SSSState for this camera?
Thanks.
Damiano

dopler

  • Just arrived
  • *
  • Posts: 1
Re: Porting ML to XSi (450D)
« Reply #108 on: September 11, 2020, 11:39:01 AM »
Hi all.
I am new to this forum and I appreciate the enormous work that you are all doing.
I am trying to install ML on a 450D.
When trying to download the BITBUCKER links give an error.

Could someone post a link with the latest version that works?
Thank you very much