FTDI Community

General Category => Discussion - Software => Topic started by: sherovt on February 14, 2018, 02:28:12 PM

Title: VDrive2 and VDrive3
Post by: sherovt on February 14, 2018, 02:28:12 PM
We have successfully used the VDrive2 to provide printer and USB thumb drive support in our product. We interface to this part using RS232 and have already modified the source to run at a higher baud rate, so are familiar with what it takes to customize the VDrive2 firmware. We are running into major inconvenience in trying to use this solution in a new product because of the "8.3" filename limitation. There used to be an FTDI example for extending the filename, but I can no longer find it. Does anyone have a source code sample/example for supporting longer filenames on the VDrive2 or VDrive3? Thank you in advance!
Title: Re: VDrive2 and VDrive3
Post by: FTDI Community on February 15, 2018, 11:53:36 AM
Hello,

We have an example of using the LFAT driver with VNC2, this would allow longer filenames with the VDrive3.

Please see the following:
http://www.ftdichip.com/Support/Documents/AppNotes/AN_189_Vinculum-II_Using_the_LFAT_Driver.pdf (http://www.ftdichip.com/Support/Documents/AppNotes/AN_189_Vinculum-II_Using_the_LFAT_Driver.pdf)

Here is a download link to the LFN archive for v1.4.4:
ftp://ftp.ftdichip.com/CES/LFN.RAR (ftp://u45902898-ide:Ftd1$erv@www.ftdichip.com/CES/LFN.RAR)

To integrate the LFAT library with the IDE,  copy the files in the folders:
 
Copy the LFAT.a to the C:\ProgramData\FTDI\Vinculum II Toolchain\Firmware\Drivers\lib folder.
Copy the LFAT.h to the C:\ProgramData\FTDI\Vinculum II Toolchain\Firmware\Drivers\include folder.

Note this is not the ‘Program Files’ area where similar folders exist:
C:\Program Files (x86)\FTDI\Vinculum II Toolchain\Firmware\Drivers\include
 
The sample application, V2DAPLFN, is provided as an example of the use of the LFAT library.


Best Regards,

FTDI Community