Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

FatFS Partition issues

$
0
0

Hi,

I am currently using a LM3S9D92 part with the TI-RTOS 1.1.0.25 package.  I am trying to implement a system, using FatFS, to read and write files to/from a USB flash drive (mass storage device).  I am able to mount the drive, read, write, seek -- all the standard I/O functions.  However, with certain USB drives, I seem to be creating a sort of "hidden" partition.

What I mean by a hidden partition is that Windows seems to ignore it.  When the USB drive is plugged into my board with the 9D92, I am able to interact with the drive as I would normally expect.  I am able to read and create directories, read from existing files, create new files, etc.  However, when I plug the drive into a Windows machine, it shows up as an empty drive.  No folders, no files -- nothing.  It allows me to create folders and files on the drive with Windows, but when I plug the drive back into my 9D92 board, the files are nowhere to be found -- the only files I can see are the ones I created with my board.

So, what I seem to have is what I would call two partitions -- one being used by my 9D92 board, and one being used by Windows.  I would venture to guess that it has something to do with how I'm mounting and initializing the USB drive, but I followed example DK_LM3S9D96_fatsdusbcopy for all of my initialization, so I have no idea what I'm doing wrong.

Has anyone run into this issue before?  Any insight would be greatly appreciated.

Thanks,

Mitch


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>