Fat32 for more than one device

General discussion on mikroPascal PRO for dsPIC30/33 and PIC24.
Post Reply
Author
Message
Dany
Posts: 3854
Joined: 18 Jun 2008 11:43
Location: Nieuwpoort, Belgium
Contact:

Fat32 for more than one device

#1 Post by Dany » 24 Dec 2014 20:30

Reference: the Fat32_1 library in http://www.libstock.com/projects/view/58/fat

Hi,

This is a more advanced version of Fat32_1: Fat32_1_MD (MD = Multiple Devices), capable of handling more than 1 Fat32 device simultaneously, e.g. an SDMMC card and an USB Stick.
Fat32_1_MD is only capable of handling one file per device (as was Fat32_1).

The Fat32_1_MD library source code:
Fat32_1_MD.zip
(31.07 KiB) Downloaded 217 times
The example code
Fat32_1_dw_SDMMC_USB_Stick_Example.zip
(4.25 KiB) Downloaded 222 times
shows the handling of an SDMMC card and a USB stick and also file copying from one device to the other.

The new library has still to be published on LibStock. :mrgreen: Also the documentation is still to be adapted, but the example shows already the things to know...

A Fat32_2_MD version (capable of handling more that one file on more than one device) is under development.
Kind regards, Dany.
Forget your perfect offering. There is a crack in everything, that's how the light gets in... (L. Cohen)
Remember when we were young? We shone like the sun. (David Gilmour)

User avatar
darko.minic
Posts: 747
Joined: 01 Dec 2014 11:10

Re: Fat32 for more than one device

#2 Post by darko.minic » 25 Dec 2014 11:28

Hello Dany,

Thank you very much for updating your libraries on LibStock.

Regards,
Darko

Dany
Posts: 3854
Joined: 18 Jun 2008 11:43
Location: Nieuwpoort, Belgium
Contact:

Re: Fat32 for more than one device

#3 Post by Dany » 28 Dec 2014 17:12

Hi, both the Fat32_1_MD and Fat32_2_MD versions are also added to libstock now.

Reference on LibStock: the Fat32 library group in http://www.libstock.com/projects/view/58/fat.

Fat32_2_MD allows to handle multiple files/directories on more than one Fat32 device. This is the most extended version of the this Fat32 library.
Example: a PIC24 project that handles simultaneously an SDMMC and an USB Stick. Also a copy operation from SDMMC to USD Stick is shown. See http://www.rosseeld.be/DRO/PIC/Fat32_2_ ... xample.zip.

Fat32_1_MD allows also more than one Fat32 device, but still only one file/directory per Fat32 device.
Example: Example: a PIC24 project that handles simultaneously an SDMMC and an USB Stick. Also a copy operation from SDMMC to USD Stick is shown. See http://www.rosseeld.be/DRO/PIC/Fat32_1_ ... xample.zip.

The manual is also updated, see http://www.rosseeld.be/DRO/PIC/Fat32.pdf.
Kind regards, Dany.
Forget your perfect offering. There is a crack in everything, that's how the light gets in... (L. Cohen)
Remember when we were young? We shone like the sun. (David Gilmour)

hooper
Posts: 143
Joined: 23 Oct 2009 08:51

Re: Fat32 for more than one device

#4 Post by hooper » 28 Jan 2015 23:27

Hi Darko ,
Isn't it time for Mikroe to release new version for PIC32 compiler for C.
Last release have been before two (!!) years.
In this new release you could try and enhance your FAT32 library...

User avatar
darko.minic
Posts: 747
Joined: 01 Dec 2014 11:10

Re: Fat32 for more than one device

#5 Post by darko.minic » 29 Jan 2015 09:21

Hello,

We have in plan to release new version for PIC32 compiler for C.
Also we currently working on implementation of PIC32MZ series into new version of compiler.

I will forward your suggestion about FAT32 library to Software Department.

Regards,
Darko

Post Reply

Return to “mikroPascal PRO for dsPIC30/33 and PIC24 General”