Thank you Karol for that example. It is better written and cleaner than the Synergy Demo USBX MSD Host example. However I am seeing an issue with inserting and removing a flash drive multiple times (specifically 8 times). What occurs is if I reset the board and then do the following: 1) insert a flash drive and allow the Red and Green LEDs to illuminate 2) remove the flash drive and allow the red and green LEDs to turn Off 3) Repeat the steps above On the 8th insertion, it takes almost 2 minutes before the insertion is recognized. From this 8th insertion on, until the board is reset, it will always take almost 2 minutes to recognize the insertion. This result is remarkably similar to how the demo USBX_Mass_Storage_Host on the DK board behaves except that DK demo basically locks up after the 8th insertion and never recovers until reset whereas your new code at least does recognize the flash drive, it just takes a long time. Any ideas what is happening. I have tried 4 different flash drives. Thanks, Jeff
↧