Topics Topics Edit Profile Profile Help/Instructions Help Member List Member List  
Search Last 1|3|7 Days Search Search Tree View Tree View  

FAT16.inc

:: EPE Chat Zone ­:: ­Radio Bygones Message Board :: » EPE Forum Archives 2007-2009 » Archive through 26 December, 2009 » FAT16.inc « Previous Next »

  Thread Last Poster Posts Pages Last Post
  ClosedClosed: New threads not accepted on this page        

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

kolthaa
Just joined
Username: kolthaa

Post Number: 2
Registered: 09-2009

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, 15 December, 2009 - 08:01 pm:   Edit Post Delete Post Print Post    Move Post (Moderator/Admin Only)

Hello

I bought the Teach-in2 for PIcs this summer, it's a good read but I wanted to get to the point where I could interface to an SD card using a FAt16 structure. The mag includes an article by Mike which references a FAt16.inc file, but I cant fnd this fiule anywhere on the EPE site. Can anyone point me at where I could get this or a similar link so I can give it a go ? I know it's old but the mag was selling this summer.

Any help gratefully received.

Thanks

Andy
Top of pagePrevious messageNext messageBottom of page Link to this message

mikehibbett
Frequent Contributor
Username: mikehibbett

Post Number: 1035
Registered: 04-2005

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, 15 December, 2009 - 08:22 pm:   Edit Post Delete Post Print Post    Move Post (Moderator/Admin Only)

Drop me an email and I'll send it too you.

Regards,

Mike

mike dot hibbett at gmail dot com
Top of pagePrevious messageNext messageBottom of page Link to this message

mikeb
Frequent Contributor
Username: mikeb

Post Number: 215
Registered: 02-2008

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, 15 December, 2009 - 11:52 pm:   Edit Post Delete Post Print Post    Move Post (Moderator/Admin Only)

I am also trying to interface to SD - any chance you could state the publication date?

ta

mb
Top of pagePrevious messageNext messageBottom of page Link to this message

mikehibbett
Frequent Contributor
Username: mikehibbett

Post Number: 1036
Registered: 04-2005

Rating: N/A
Votes: 0 (Vote!)

Posted on Wednesday, 16 December, 2009 - 07:12 pm:   Edit Post Delete Post Print Post    Move Post (Moderator/Admin Only)

It was in November 2006. The code is up on the EPE website ( damn near impossible to find, I don;t blame you for asking! )

Look here:
http://www.epemag3.com/index.php?option=com_docman&task=cat_view&gid=31&Itemid=38

Click on the 11-2006 link.

Regards,

Mike.
Top of pagePrevious messageNext messageBottom of page Link to this message

mikeb
Frequent Contributor
Username: mikeb

Post Number: 216
Registered: 02-2008

Rating: N/A
Votes: 0 (Vote!)

Posted on Thursday, 17 December, 2009 - 10:13 pm:   Edit Post Delete Post Print Post    Move Post (Moderator/Admin Only)

Thanks - but am I missing something here - this is not FAt16 is just memory read/write isnt it?

rgds

mb
Top of pagePrevious messageNext messageBottom of page Link to this message

mikehibbett
Frequent Contributor
Username: mikehibbett

Post Number: 1037
Registered: 04-2005

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, 18 December, 2009 - 01:03 pm:   Edit Post Delete Post Print Post    Move Post (Moderator/Admin Only)

>but am I missing something here - this is not FAt16 is just memory read/write isnt it?

could you rephrase the question please Mike? I did understand that.

Mike
Top of pagePrevious messageNext messageBottom of page Link to this message

mikeb
Frequent Contributor
Username: mikeb

Post Number: 218
Registered: 02-2008

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, 18 December, 2009 - 01:44 pm:   Edit Post Delete Post Print Post    Move Post (Moderator/Admin Only)

sorry - what I meant was that this code does not appear to handle reading and writing a named file to an MMC formatted to FAT16.

for example Fsave "TEST.TXT"
or Fread "TEXT.TXT".

or have I completely goofed here.

rgds

mb
Top of pagePrevious messageNext messageBottom of page Link to this message

mikehibbett
Frequent Contributor
Username: mikehibbett

Post Number: 1038
Registered: 04-2005

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, 18 December, 2009 - 08:15 pm:   Edit Post Delete Post Print Post    Move Post (Moderator/Admin Only)

Hi Mike,

Fread "TEXT.TXT"

Is done with a call to FAT16OpenFileRead followed by calls to FAT16ReadFile.

Take a look at the header of FAT16.inc, under the title "DRIVER INTERFACE".

The file app.inc shows how the commands are used.

I should really write a book on this kind of stuff :o)

Regards,

Mike.

(Message edited by mikehibbett on 18 December, 2009)
Top of pagePrevious messageNext messageBottom of page Link to this message

mikeb
Frequent Contributor
Username: mikeb

Post Number: 219
Registered: 02-2008

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, 18 December, 2009 - 10:13 pm:   Edit Post Delete Post Print Post    Move Post (Moderator/Admin Only)

Many thanks Mike - I have been trying to get a file system going with a MPLAB C library - somehow my brain stopped working regarding this.

cheers

mb

Administration Administration Log Out Log Out   Previous Page Previous Page Next Page Next Page