piclist 2008\07\21\225421a >
Thread: [PIC] Sd card interface
face BY : Harold Hallikainen email (remove spam text)

Similar to the "one big text file" approach, I made an SD/MMC card
bootloader. I store the code to be bootloaded as a hex text file on a
freshly formatted card. I edit the hex file to add a distinct string at
the start. Then, my code just reads sector by sector until it finds the
unique string. Then, it reads in a byte at a time passing it to the
bootloader. To make sure it will work, the code actually first goes
through the hex file checking the checksum on each line. If it all looked
ok, it goes back and loads the file. So, there's a way of reading a single
file from a freshly formatted MMC/SD.


FCC Rules Updated Daily at http://www.hallikainen.com - Advertising
opportunities available!
<34231.> 7bit

In reply to: <4885443F.2010000@sbcglobal.net>
See also: www.piclist.com/techref/microchip/devices.htm?key=pic
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) [PIC] Sd card interface

month overview.

new search...