Content originally posted in LPCWare by DEGoodmanWilson on Sat Aug 27 04:28:16 MST 2011
Quote: Rob65
Ehm, sorry ...
the question was just meant as a question - not as a smack in the face :eek:
S'ok. I woke up on the wrong side of the bed this morning myself :D
Quote:
I had no idea that OS X has problems with FAT12.
I though that 12 bits would be supported as well.
I should really add a Mac to my collection to prevent me from making those stupid remarks ;)
I can't find anything definitive that says OS X has problems with FAT12; just a lot of frustrated users or older cameras. Indeed, my MacBook does not complain in the least: It shows the "drive" with "firmware.bin" in the folder; it lets me delete "firmware.bin", and permits me to copy over a new binary image without complain. But then the bootloader appears to get stuck. Trying again from Windows works perfectly. About to see if I can copy the image out without errors.
Quote:
Good to hear this.
This triggers us to check if, and how, this can be fixed.
I still need to look at CodeRed's bootloader (I like to remove the 64 kB constrains and add CRP as well) and I don't think that upgrading to FAT16 is that much of a hassle.
I don't have too much time the next few weeks but I could spend a few hours in the evening to read up on FAT and the read the application note for extra hints. It's an easy job as soon as I've figured out the differences.
Rob
Thank you, this is a very generous offer.
Having only one computer handy, I can't debug the bootloader and test it with OS X at the same time (as I installed Windows in its own Bootcamp partition, I can't use a PC emulator to accomplish this either, grr.)
That said, I'm happy to help out where I can. I don't really understand the differences between the two filesystems from the host's perspective. I presume the difference lies in that FAT12 requires writes to the file-allocation-table to be 12bit words, and FAT16 as 16-bit words? If you find a good resource on the subject online, please share it here so I can read it too, and offer what assistance I can render.