electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

Windows start/end of files (How do you know?)


Post new topic  Reply to topic    EDAboard.com Forum Index -> PC Programming and Interfacing -> Windows start/end of files (How do you know?)
Author Message
Sputnik



Joined: 19 Oct 2004
Posts: 150
Helped: 3
Location: South Africa


Post26 Oct 2004 20:58   

Windows start/end of files (How do you know?)


I would like to incorporate into a microcontroller (PIC16F84) the ability (when I find out how to interface an MMC card) to read/write the start/end of a file so that it would be recognized by Windows when I put the card in my card slot. Where would I find information on how the start (header) and end of a file works?

Thanks
Sputnik
Back to top
sshahid47



Joined: 05 Nov 2004
Posts: 91
Helped: 13


Post07 Nov 2004 3:36   

Windows start/end of files (How do you know?)


hi,
when u use CreateFile on windows, it defines the start of the file, hence what u will do is call CreateFile on windows, write the data and then Write EOF to the file and close the file.
Back to top
Sputnik



Joined: 19 Oct 2004
Posts: 150
Helped: 3
Location: South Africa


Post07 Nov 2004 11:25   

Re: Windows start/end of files (How do you know?)


But how do I do this? I'm quite stupid when it comes to Windows, especially XP!

Sputnik


Last edited by Sputnik on 07 Nov 2004 12:34; edited 2 times in total
Back to top
Google
AdSense
Google Adsense




Post07 Nov 2004 11:25   

Ads




Back to top
echo47



Joined: 07 Apr 2002
Posts: 4206
Helped: 566


Post07 Nov 2004 12:18   

Windows start/end of files (How do you know?)


Sounds like you want to read/write an MMC card's flash file system using using a PIC controller. I believe it uses a FAT12 or FAT16 file system. Maybe this SanDisk doc will get you started:
http://www.sandisk.com/pdf/oem/manual-rs-mmcv1.0.pdf

I think these guys produced the official spec, but it's probably expensive:
http://www.mmca.org/
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> PC Programming and Interfacing -> Windows start/end of files (How do you know?)
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
Do you know about .raw files? (3)
Fast start-up crystal oscillator know-how (13)
How to mount Windows files on Linux (12)
How can I display hidden files in Windows XP?????? (10)
Spartan 3E SDRAM dont know how to start to store audio (1)
Newgui To LAYOUT - can u share skill files, how to start (3)
how to generate pspice files from windows softwares (2)
How can I access Windows files while in linux (10)
how to view old orcad sch files in windows (4)
how does windows know that usb mouse is plugged-in? (5)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS