Hello,
I was working on a USB project to host a hub under TI-RTOS environment . I've succeeded to host the HUB and i tried host a mouse and it works well.
Also the it detects the connected device if it is a keyboard , mouse or a MSC.
I'm using the mouse_open() function used in TI-RTOS example for mouse , and also the mousehandler() function and so on.
I need to use the connected MSC to save a text file on it. I tried to follow the TI-RTOS example FatFs_Copy_files_USBMSStatic. I've tried to use the functions used in this example but the didn't work properly.
The fat files cannot be opened or created on the MSC , and i don't know why?
Also i faced some problems while initializing the fatfsUsb , I need to know the proper sequence for initializing the USB to be able to use a HUB and FATfs ,
Attached here project.
I'm using TI-RTOS 1_21_00_09 , and CCS version 5.4
Thanks in advance.
Mostafa
2043.HUB_TI_RTOS_13.rar