Hi I am using TIVA C for an application with USB and RTOS.
I have developed the application in two phases so first the application was only USB Host and then it became also Device.
While I was developing the application as HOST I used :
usbmschfatfsHandle = USBMSCHFatFs_open(Board_USBMSCHFatFs, USB_DRIVE_NUM, &usbmschfatfsParams);
to get the handle and I was able to read/write on a USB stick.
Then I developed the DEVICE part where I have defined the USBHandler in the *.cfg file for the interrupt 60.
The device sw was working fine.
When I have integrated the two parts and I use the USB i HOST mode again, the USBMSCHFatFs_open crash.
Looking for the problem root cause I found out the function actually recreate the Hwi and so I have this error:
{module#53}: line 138: E_alreadyDefined: Hwi already defined: intr# 60
If I remove the USBHandler in the *.cfg...the SW is back to normal behavior.
Consider that I started the app as HOST using the fatsdusbcopy from TI examples. This example is for RTOS but the Handler for int. #60 is not defined in the *.cfg...
I am trying to understand what is the best way to manage this issue, any suggestions? examples? link?
Thanks!