Exact match. Not showing close matches.
PICList
Thread
'[PIC] PIC with SD card on SPI interface / Fat Libr'
2007\01\02@125016
by
Jens M. Guessregen / Mailinglists n/a
Hello,
After reading AN1003 (USB interface to SD-card), I start thinking to use
an SD card as a stand-alone application for data-logging in a new
project.
AN1003 is mentioning this as a possible application, referring to the
FAT library.
But on the MicroChip site I can not find any FAT library.
Does anyone know, where I can find this library?
Thanks
Jens
2007\01\02@132226
by
Jeff Findley
"Alan B. Pearce" <spam_OUTA.B.PearceTakeThisOuT
rl.ac.uk> wrote in message
news:034301c72e99$7afb9310$.....1979f682KILLspam
@spam@space.rl.ac.uk...
> >But on the MicroChip site I can not find any FAT library.
>>
>>Does anyone know, where I can find this library?
>
> I don't know if Microchip has ever released a FAT library, but all the
> required information is in a document on the Microsoft website. Search for
> FATGEN103.PDF. It contains a complete explanation of the FAT filesystem,
> and
> pseudo C code examples for each step.
Searching for the above PDF produced this link, which may be useful in and
of itself:
http://pic18fusb.online.fr/wiki/wikka.php?wakka=MsDrive
Jeff
--
"They that can give up essential liberty to obtain a
little temporary safety deserve neither liberty nor
safety"
- B. Franklin, Bartlett's Familiar Quotations (1919)
2007\01\02@191705
by
Rich
Where did you find AN1003?
----- Original Message -----
From: "Jens M. Guessregen / Mailinglists" <jmg_mailinglists
KILLspammcm-it.de>
To: "Microcontroller discussion list - Public." <.....piclistKILLspam
.....mit.edu>
Sent: Tuesday, January 02, 2007 12:50 PM
Subject: [PIC] PIC with SD card on SPI interface / Fat Library
{Quote hidden}> Hello,
>
> After reading AN1003 (USB interface to SD-card), I start thinking to use
> an SD card as a stand-alone application for data-logging in a new
> project.
> AN1003 is mentioning this as a possible application, referring to the
> FAT library.
> But on the MicroChip site I can not find any FAT library.
>
> Does anyone know, where I can find this library?
>
> Thanks
>
> Jens
>
> --
2007\01\02@193738
by
Harold Hallikainen
AN1003 is at
www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1824&appnote=en024394
. I believe it is relying on the OS talking to the USB to handle the FAT
file system. The PIC probably only knows how to do sector reads and
writes.
I wrote some FAT16 stuff myself by studying all the available
documentation and using Hex Workshop to see what's on the various sectors
of various sized MMC/SD cards. My FAT code ended up in the IQ512M at
http://www.dovesystems.com .
Harold
> Where did you find AN1003?
> {Original Message removed}
2007\01\02@220143
by
fred jones
It seems any code available on the net is in C. Does anyone know where code
for the pic in Assembly might exist? I don't have a C compiler and no
experience with it.
Thanks,
Fred
=====================================================
Hello,
After reading AN1003 (USB interface to SD-card), I start thinking to use
an SD card as a stand-alone application for data-logging in a new
project.
AN1003 is mentioning this as a possible application, referring to the
FAT library.
But on the MicroChip site I can not find any FAT library.
Does anyone know, where I can find this library?
Thanks
Jens
_________________________________________________________________
Fixing up the home? Live Search can help
http://imagine-windowslive.com/search/kits/default.aspx?kit=improve&locale=en-US&source=hmemailtaglinenov06&FORM=WLMTAG
2007\01\02@221716
by
Marcel Duchamp
fred jones wrote:
> It seems any code available on the net is in C. Does anyone know where code
> for the pic in Assembly might exist? I don't have a C compiler and no
> experience with it.
> Thanks,
> Fred
> =====================================================
Try this for a start:
http://www.piclist.com/techref/microchip/index.htm
2007\01\03@024532
by
William Chops Westfield
> It seems any code available on the net is in C. Does anyone
> know where code for the pic in Assembly might exist?
You mean specifically WRT implementing FAT, right? That wasn't
very obvious...
BillW
2007\01\03@081333
by
Jens M. Guessregen / Mailinglists n/a
Here ;-)
www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=2
121
And here
www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1
824&appnote=en024394
Best Jens
> {Original Message removed}
2007\01\03@081701
by
Jens M. Guessregen / Mailinglists n/a
> I don't know if Microchip has ever released a FAT library,
> but all the required information is in a document on the
> Microsoft website. Search for FATGEN103.PDF. It contains a
> complete explanation of the FAT filesystem, and pseudo C code
> examples for each step.
http://www.microsoft.com/whdc/system/platform/firmware/fatgen.mspx
You think about this?
Best Jens
2007\01\03@082035
by
Jens M. Guessregen / Mailinglists n/a
I found a nice lib basing on Pascal with the microPascal compiler.
But I would like to prefer also Assembler ...
Best Jens
> {Original Message removed}
2007\01\03@084550
by
Alan B. Pearce
2007\01\03@091530
by
Jens M. Guessregen / Mailinglists n/a
> > www.microsoft.com/whdc/system/platform/firmware/fatgen.mspx
> >
> >You think about this?
>
> Looks like Microsoft have hidden it behind a EULA, but it
> seems to be available here
Yes, they have hidden it, but it is still available for free without
registration as Word-document.
Best Jens
2007\01\03@182350
by
fred jones
|
yes, sorry that I did not make that clear. I am interested in writing data
to an SD RAM card for my next project. I have no experience with C or a
compiler, only assembly however all the examples I found were in C. I don't
mind writing it from scratch but would rather not if it is available. I'm
really not so interested in the details on how it works as opposed to just
wanting to get it working as quick as possible.
Thanks for all the links posted, I'll have a look at them now.
Fred
From: William "Chops" Westfield <EraseMEwestfwspam_OUT
TakeThisOuTmac.com>
> It seems any code available on the net is in C. Does anyone
> know where code for the pic in Assembly might exist?
You mean specifically WRT implementing FAT, right? That wasn't
very obvious...
BillW
_________________________________________________________________
Experience the magic of the holidays. Talk to Santa on Messenger.
http://clk.atdmt.com/MSN/go/msnnkwme0080000001msn/direct/01/?href=http://imagine-windowslive.com/minisites/santabot/default.aspx?locale=en-us
2007\01\03@185147
by
Zik Saleeba
2007\01\03@185431
by
peter green
> yes, sorry that I did not make that clear. I am interested in
> writing data
> to an SD RAM card for my next project. I have no experience with C or a
> compiler, only assembly however all the examples I found were in
> C.
on the early pics (and modern bottom of the range ones) it made sense to write in assembler, the chips were so small that the overhead of a compiler would have been unacceptable and the programs had to be fairly simple because that was all that would fit.
however with the PIC18 series (and even more so with the PIC24/DSPIC series) things have changed, memory is far less tight than it used to be and the instruction sets have been designed with C compilers at least somewhat in mind. C is quicker to write and far easier to read (provided its written cleanly rather than falling into the trap of using every dirty trick in the book) and you can still use ASM for special instructions or performance critical code.
More... (looser matching)
- Last day of these posts
- In 2007
, 2008 only
- Today
- New search...