The goal of my project is to create a data logger that saves ADC readings and a timestamp to a USB drive (not SD/MMC). I have an Atmel AT90USBKey for this purpose. I have done some homework and found that using LUFA and FATFs seems to be a good option. What I am having problems with is combining the two. I have been able to run both the MassStorageHost (which makes the board a host) and the TempDataLogger (which takes readings and stores them to onboard flash) examples from LUFA without any problem.
My plan is to base the project off the MassStorageHost demo. It will wait until a flash drive is plugged in, and then start recording from the ADC. It will stop when once the drive is full or is removed. Through the onboard flash, I have been able to get the ADC to give me the readings and the frequency of readings I am looking for and also the timestamp. The last part of making it save to a portable drive is my roadblock.
I have done a few searches on this forum for similar projects. I did found a couple, but no code examples were provided or no follow up was made from the poster. I will consider changing to SD/MMC if it comes down to it, but I would need to order the parts within a few days from now in order to meet my deadline. Hopefully, someone can point me in the right direction.