Well... when autoexec.bin exceeds around 180k, problems start to
appear. The first ones are strings trimmed randomly (e.g. instead of
AGC it displays just A... or it displays half of the input source in
the audio meters...). These problems are sometimes solved by "make
clean; make", other times I have to remove some code... not related to
the corrupted message. For example, I've removed some rarely used
functions like flash / no flash or LV metering.
Other problems I've noticed due to this were crashes in play mode
(after 10 pictures or so), crashes when using trap focus and other
remote release functions, or freezing Canon's LCD brightness dialog.
This happened in early 2010 builds and in a few 2011 ones.
On the other hand, when enabling debugging functions (DebugMsg, debug
console, prop/mem spy), autoexec.bin increases by ~10k, but I don't
notice any side effects.
I've also tried to dump what it appears to be autoexec.bin loaded in
RAM (i.e. from 0x800000, dumped a file with the same size as
autoexec.bin). There are quite a bit of differences between the
original autoexec.bin and the dumped copy, but it may be due to static
variables (I don't know how these are allocated by gcc).
> --
> http://magiclantern.wikia.com/
>
> To post to this group, send email to ml-d...@googlegroups.com
> To unsubscribe from this group, send email to ml-devel+u...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/ml-devel?hl=en
Those values are after the magic lantern firmware has been loaded,
right? The start of the DryOS bss has already been moved from
around 0x5F000 to 0x5F000 + size of magic lantern image and bss in
copy_and_restart():
INSTR( HIJACK_INSTR_BSS_END ) = (uintptr_t) _bss_end;
The other values in the memory dump are are shifted upwards by the
appropriate ammount.
To find the original values, you would need access to the serial
console. There are pins inside the camera body and perhaps in the
battery connector to access this serial port, although it is inert
until activated.
--
Trammell
I have been examining the photos of grips on ebay, and I notice that they seem to miss some of the pins in the battery bay.
http://cgi.ebay.com/BATTERY-GRIP-CANON-EOS-600D-550D-Rebel-T3i-T2i-B2R-/280689598297?pt=Batteries_Chargers&hash=item415a675f59
Note the gap in the two rows of pins, it may be possible to hack up contacts to those remaining pins and look for serial data.
Morgan.
Notice your grip has 6x2 rows of pins, but there is 8x2 contacts on the camera.
As indy pointed out, the trick is getting at them while powering the camera.
Maybe glue something like this onto the grip to make up the missing pins...
http://newzealand.rs-online.com/web/search/searchBrowseAction.html?method=getProduct&R=7024779
A quick snoop with a scope should pretty easily determine which is tx, and what the voltage levels are.
Morgan.