Camera Settings properties

1,028 views
Skip to first unread message

indy arm

unread,
May 1, 2011, 11:47:14 AM5/1/11
to ml-devel
by calling SaveCamSetProp (ff019a74 in 550d 109), a CAMSET00.DAT is written on SDcard.

it contains some Camera properties (but not all), which can parsed using provided python script.
the file format is the same as used in flash memory and stored at 0xff800000.

output is offset, prop, len, val

examples:
0x0000c: 0x02000001,   16, 312e302e390035342830312900000000 // firmware version
0x188c4: 0x0b000000, 36272, ... // Lens data information

See also http://magiclantern.wikia.com/wiki/Properties

Indy
parse_prop.py

arm.indy

unread,
May 4, 2011, 4:20:11 PM5/4/11
to Magic Lantern firmware development
just tried on a 60d 109 too, it works.

void (*savecamsetprop_cmd)() = (void*)0xff01a1f8;
void (*savelenstofile_cmd)() = (void*)0xff01a730;
void (*savefixtofile_cmd)() = (void*)0xff01a5f0;
void (*saveringtofile_cmd)() = (void*)0xff01a584;
void (*saverasentofile_cmd)() = (void*)0xff01a518;
void (*savetunetofile_cmd)() = (void*)0xff01a79c;
savelenstofile_cmd();
savecamsetprop_cmd();
savefixtofile_cmd();
saveringtofile_cmd();
saverasentofile_cmd();
savetunetofile_cmd();

I got:
FIX00.BIN (512k), TUNE00.BIN (3520k), LENS00.BIN (384k), RING00.BIN
(128k), RASEN.BIN (384k)
and CAMSET00.DAT (178k)
which match these memory areas: http://magiclantern.wikia.com/wiki/60D_internals

on 550d 109, sizes were:
FIX00.BIN (256k), TUNE00.BIN (1024k), TUNE01.BIN (1024k), TUNE02.BIN
(768k), LENS00.BIN (192k), RING00.BIN (128k), RASEN00.BIN (384k) and
CAMSET00.DAT (135k),
>  parse_prop.py
> < 1 000AfficherTélécharger

Alex

unread,
Nov 9, 2011, 1:38:03 PM11/9/11
to ml-d...@googlegroups.com
Calling FA_SetDefaultSetting will reset some properties to default, and seems to reset more settings than "clear camera settings" from Canon menu.

For example, it will also set Canon menu in Japanese, clear copyright info and reset date and time.

It will also create a bunch of empty properties (with len=0).


--
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

FA_SetDefaultSetting.log

arm.indy

unread,
Nov 9, 2011, 2:53:42 PM11/9/11
to Magic Lantern firmware development
hi Alex,

thanks for sharing.
since FA means Factory, I think it is factory settings.
did you try to call SaveCamSetProp before and after this 'reset' and
diff'ing the resulting files ?

Indy
>  FA_SetDefaultSetting.log
> 20KViewDownload
Reply all
Reply to author
Forward
0 new messages