600D and MLV: hack error

Started by escho, October 13, 2013, 11:30:14 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

escho

I enable extra hacks in the raw-rec-module. If I start a record, I get this message on cameradisplay:

hackerror at 0
expected e3a00032, got 0


What´s wrong, what can I do?

(latest mlv-sources from g3gg0-repo)

Edgar
https://sternenkarten.com/
600D, 6D, openSUSE Tumbleweed

g3gg0

does the same happen with the original raw_rec?
Help us with datasheets - Help us with register dumps
magic lantern: 1Magic9991E1eWbGvrsx186GovYCXFbppY, server expenses: [email protected]
ONLY donate for things we have done, not for things you expect!

1%

Did you add the 600D timer address?

cam_600d ? 0xFF37AA18

Rewind

The same behaviour with 650D and 550D (original raw_rec from latest nightlies)
What are the timer addresses for these cameras and where should we add them?

Doyle4

Iv noticed this for awhile now, have posted in Nightly's but didnt hear back, dont know how to code either, sorry :(

Rewind

I think this is the section of raw_rec.c, where we should add the addresses for orther cameras:

/* change dialog refresh timer from 50ms to 8192ms */
        uint32_t dialog_refresh_timer_addr = /* in StartDialogRefreshTimer */
            cam_50d ? 0xffa84e00 :
            cam_5d2 ? 0xffaac640 :
            cam_5d3 ? 0xff4acda4 :
            cam_7d  ? 0xFF345788 :
            cam_700d ? 0xFF52B53C :
            /* ... */


But how we should figure these addresses out for 550D, 650D and others?

escho

Quote from: g3gg0 on October 14, 2013, 12:30:27 AM
does the same happen with the original raw_rec?

Yes, the same happens on original ML.

I wrote 1% proposal into my clone of original ML (raw_rec.c)and compiled the module new. But no changes. The same error as before.

Edgar
https://sternenkarten.com/
600D, 6D, openSUSE Tumbleweed

1%


escho

Oh, I did forget raw_rec_ini. Now the error has gone. I will do some more tests tomorrow evening.

ThankYou 1%

Edgar
https://sternenkarten.com/
600D, 6D, openSUSE Tumbleweed

escho

Fixed for 600D. Did a pull request to ML. I hope, this will go into MLV too one day.

ThankYou for your help

Edgar
https://sternenkarten.com/
600D, 6D, openSUSE Tumbleweed

g3gg0

Help us with datasheets - Help us with register dumps
magic lantern: 1Magic9991E1eWbGvrsx186GovYCXFbppY, server expenses: [email protected]
ONLY donate for things we have done, not for things you expect!

escho

Tested. Runs fine without hack error.  :)

Edgar
https://sternenkarten.com/
600D, 6D, openSUSE Tumbleweed

mk11174

Quote from: Rewind on October 14, 2013, 03:11:57 PM
I think this is the section of raw_rec.c, where we should add the addresses for orther cameras:

/* change dialog refresh timer from 50ms to 8192ms */
        uint32_t dialog_refresh_timer_addr = /* in StartDialogRefreshTimer */
            cam_50d ? 0xffa84e00 :
            cam_5d2 ? 0xffaac640 :
            cam_5d3 ? 0xff4acda4 :
            cam_7d  ? 0xFF345788 :
            cam_700d ? 0xFF52B53C :
            /* ... */


But how we should figure these addresses out for 550D, 650D and others?
Found it for 550D cam_550d ? 0xFF2FE5E4
500D/T1i  550D/T2i  600D/T3i  700D/T5i

Rewind

Quote from: mk11174 on October 16, 2013, 09:31:22 AM
Found it for 550D cam_550d ? 0xFF2FE5E4

That's great. Would you mind to describe the process of this finding a little bit in order we can get this address for 650D?

UPD. thanks to mk11174, now we have the right one for 650D: 0xFF527E38

g3gg0

can you make a pull request, so i can merge it from here? (not at home at the moment)
Help us with datasheets - Help us with register dumps
magic lantern: 1Magic9991E1eWbGvrsx186GovYCXFbppY, server expenses: [email protected]
ONLY donate for things we have done, not for things you expect!

mk11174

Quote from: g3gg0 on October 16, 2013, 12:52:00 PM
can you make a pull request, so i can merge it from here? (not at home at the moment)
I made the pull request and it was merged  :)
500D/T1i  550D/T2i  600D/T3i  700D/T5i