CHDK and FAT - General Help and Assistance on using CHDK stable releases - CHDK Forum
supplierdeeply

CHDK and FAT

  • 2 Replies
  • 1426 Views
CHDK and FAT
« on: 28 / April / 2010, 14:01:10 »
Advertisements
Forgive me if this is a dumb question. I'm not a programmer and don't know the way the FAT works exactly.

Is there anyway an SD card can be formatted as FAT32 but fool CHDK into believing it is formatted FAT16?
Either by setting flags to fool CHDK, or coding CHDK to falsely read the FAT settings to force it to think a FAT32 card is actually FAT16? Again I'm not a programmer, but was wondering if a little trickery would overcome the FAT32 autobooting issues.

Just a thought. Please don't beat me up too bad if this is out in left field.
Thanks, Gregg

*

Offline fe50

  • ******
  • 3139
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: CHDK and FAT
« Reply #1 on: 28 / April / 2010, 14:37:36 »
Is there anyway an SD card can be formatted as FAT32 but fool CHDK into believing it is formatted FAT16?

This could not be solved within the CHDK code.

CHDK is loaded with the Canon firmware update mechanism. When the camera powers on, the Canon fw checks whether there's a "BOOTDISK" flag in the cards MBR - if there's such a flag, the fw tries to load a file "diskboot.bin" from the cards root. This can be either an official Canon firmware update file (a "real" one wich updates the camera permanently) or the CHDK binary.
Until now, this mechanism in the Canon firmware unfortunately only works with FAT12 or FAT16 partitions - so we can't load & run our CHDK code without this "initial firmware file loader" in the Canon fw...

The multipartition solution normally works very well, there's only one problem: the idiotic MS Windows standard driver for removeable cards, the driver that let you see & handle only one partition on Windows OS  >:(
« Last Edit: 28 / April / 2010, 14:39:47 by fe50 »

Re: CHDK and FAT
« Reply #2 on: 28 / April / 2010, 16:13:02 »
The multipartition solution normally works very well, there's only one problem: the idiotic MS Windows standard driver for removeable cards, the driver that let you see & handle only one partition on Windows OS  >:( [/quote]

Unfortunately, to my recent discovery, the Eye-Fi cards will not work in a multi-partitioned card. The Eye-Fi software only recognizes one (the first) partition.

 

Related Topics