Canon 1100D / T3

Started by a1ex, June 14, 2012, 04:50:54 PM

Previous topic - Next topic

0 Members and 5 Guests are viewing this topic.

nanomad

We now have a menu button that's working very well. It works in every non-auto mode except A-DEP


Patch: http://nanomad.magiclantern.fm/1100D/menu_is_av_short_press.patch
autoexec.bin: http://nanomad.magiclantern.fm/1100D/autoexec.bin


edit: updated patch to work in LV too
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

nanomad

Did anyone say in-camera audio level monitoring?

Patch: http://nanomad.magiclantern.fm/1100D/enable_mono_audio_meters.patch
Autoexec.bin: http://nanomad.magiclantern.fm/1100D/autoexec.audio.bin

Keep in mind this is HIGHLY UNSTABLE CODE
Your camera may explode

The 1100D probably uses the same audio IC the 600D does and has no AGC (the mic is kinda crappy though). Who's volunteering to tear apart his camera to find out?
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

bart


nanomad

Updated the first post a bit.

All my efforts are logged here: http://nanomad.magiclantern.fm/1100D/

I usually upload "working" (NOT STABLE!!! JUST WORKING) builds only. If anyone wants to test them please get in touch with me before doing so
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

1%

Try some of the audio code from TL. If it works and we have the same audio IC it will make reversing easier. The registers should be the same in that whole family of lapis ICs.

nanomad

Will do.

You may want to backport this changeset: https://bitbucket.org/hudson/magic-lantern/changeset/63f5464711f5
to your repo. It should make things easier in the future when we'll have multiple audio IC around
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

nanomad

I tried the tragic lantern code, but did not get any audio meters at all (while I can see audio levels with stock ML code)
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

nanomad

Some random stuff i found in the firmware about Audio IC.
- Initialization is done at 0xFF06A388. This starts all the tasks needed by DryOS
- 0xFF06A2B0 is EnableAudioIC. It writes a bunch of 0xAxxx values to the AudioIC itself
Everythin related to audio is around there

- 0xFF069AAC is DumpAudioIcRegister. This function seems to dump all the registers somewhere, but it doesn't use the usual debug messages of dryos. Is there any other debug function?
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

Quote from: nanomad on July 15, 2012, 02:22:11 PM
Will do.

You may want to backport this changeset: https://bitbucket.org/hudson/magic-lantern/changeset/63f5464711f5
to your repo. It should make things easier in the future when we'll have multiple audio IC around
nice Ive added it in my fork, if someone want to check it.
I'm using ML2.3 for photography with:
EOS 600DML | EOS 400Dplus | EOS 5D MLbeta5- 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, PS, LR, RawTherapee, LightZone -no video experience-

1%

Quote, but did not get any audio meters at all


I have everything skipped except for 600D stuff. Since the registers are different any ML writes to the "standard" registers change completely different things and interfere. I definitely had to neuter all of the writes and the override task.

Try some of the debug.c functions like power mic amp and unmute av. If they work that means you have the Oki/Lapis IC. Otherwise its a 3rd IC or something else. Also on 600D the registers are doubled, when you get a reg dump working you'll be able to see if its the same.

I should get audio remote shot working next...

nanomad

Do you mind jumping on IRC? I could use your firmware dump :)
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

1%

Is the audio ic read/write address right on T3? 600D register dump should work on T3 too even if registers are different.

nanomad

The addresses are correct , the function I used to dump stuff isn't...
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

nanomad

Looks like we have a new audioIC here :(

80 40
81 03
82 02
83 a9
84 6a
85 23
86 64
87 a4
88 d2
89 2d
8a 6d
8b 80
8c 92
8d 92
8e 0f
8f 00
90 92
91 92
92 92
93 92
94 92
95 92
96 92
97 92
98 92
99 92
9a 92
9b 92
9c 92
9d 92
9e 92
9f 92
a0 40 ; 00 on Enable (1,14)
a1 03 ; 00 on Enable (2,15) -> 00 on Disable (1)
a2 02 ; 02 on Enable (3)
a3 a9 ; A9 on Enable (4)
a4 6a ; 6A on Enable (13)
a5 23 ; 23 on Enable (12)
a6 64 ; 64 on Enable (5)
a7 a4 ; A4 on Enable (6)
a8 d2 ; D2 on Enable (7)
a9 2d ; 2D on Enable (8)
aa 6d ; AudioVolumeOUT - 6D on Enable (9)
ab 80 ; 80 on Enable (10)
ac 92
ad 92
ae 0f ; 0F on Enable (11)
af 00
b0 92
b1 92
b2 92
b3 92
b4 92
b5 92
b6 92
b7 92
b8 92
b9 92
ba 92
bb 92
bc 92
bd 92
be 92
bf 92
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

wave

Hi,any news on this port? Thanks

superman13

I'd love to get Magic Lantern on my T3. I tried to use paypal and my bank account won't link up with it :/.

nanomad

I may have a SUPER EARLY ALPHA for today. I'll probably disable some features that are 100% broken just to be on the safe side
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

wave

Can you post link for that super alpha,Iwant to test on my T3? thanks!!!

superman13

Quote from: nanomad on August 13, 2012, 03:18:34 PM
I may have a SUPER EARLY ALPHA for today. I'll probably disable some features that are 100% broken just to be on the safe side

Sweet! Thank you so much :D

gabezermeno

Quote from: nanomad on August 13, 2012, 03:18:34 PM
I may have a SUPER EARLY ALPHA for today. I'll probably disable some features that are 100% broken just to be on the safe side
i would go crazy if i had an alpha version of magic lantern for my t3 :) my best friend just got a t3i and i put magic lantern on his camera and i am so jealous.

uglyprincess

Are you sharing the alpha version for the 1100D?  I'd love to try it if it's possible  :)

nanomad

I'm having issues with the compiler at the moment. The source its ready but it won't compile and I can't figure out why

It keeps complaning about a menu txt file  :o
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

gabezermeno

damn. thats a shame. i would have loved to play with it while i was at the ocean tomorrow. at the very least to use the timelapse function

nanomad

Well, maybe it's my setup. You can compile the 1100D from sources (get the 2.3  release source code, go into the platform/1100D.105  and type make). The autoexec.bin will work just fine but it will have some "useless" functions in it (which I had disabled in my code)
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

gabezermeno

im sorry. you lost me at compile haha