I try to create a USB bulk communication with 5 task running.
I'm using SYSBIOS 6 and Starterware 1.10.02.02.
My problem is that when I start my HWI for the USB (I'm using usb_dev_bulk), the task run one time and after they blocked at task_sleep(). I verify the ROV and it indicate the all the task are block on task_sleep().
I think that the HWI is overloading the system but i don't know how to resolve this problem. The HWI look to work because when i connect and disconnect, I send a message on the console that indicate me the status of the USB. So the HWI of the USB look to work but is blocking all other task.
If I remove the HWI the task running perfectly.
pls help me
here is my ROV:
After I search on the TI forum, I think that when i create the UBS0 interrupt with this:
puts("Configuring USB..."); // Setup the DSP INTC IntDSPINTCInit(); IntGlobalEnable(); IntRegister(4, USB0DeviceIntHandler); IntEventMap(4, SYS_INT_USB0_INT); IntEnable(4); //Delay timer setup DelayTimerSetup(); // Initialize the transmit and receive buffers. USBBufferInit((tUSBBuffer *)&g_sTxBuffer); USBBufferInit((tUSBBuffer *)&g_sRxBuffer); // Pass our device information to the USB library and place the device on the bus. USBDBulkInit(0, (tUSBDBulkDevice *)&g_sBulkDevice); puts("Waiting for host...");
I think that those line disable the interrupt who is control the timer 0 (HWI14), who is use for the task_sleep. How I can solve this problem? Can I just enable the HWI14, but how I can do this?
No one can help me with this???
I'm still on this problem, i'm pretty sure that its the Hwi 14 (ti_sysbios_knl_Clock_doTick__I) that is stopped when i create my USB interrupt (usb_dev_bulk.c). I try to update my BIOS software and the starterware package but i got the same problem. I try to enable the Hwi 14 ( Hwi_enableInterrupt(14); ) after i create the USB interrupt but with no succes.
When I made the comparison between my software without the USB interrupt (when all the task run correctly) and the software with the USB interrupt (task doesn't work but the USB interrupt work) i can see in the ROV HWI that the only difference is that the irp is not zero when the task work correctly...
The picture show when i activate the USB interrupt:
Is there anyone can help me because it starts to be urgently
Is there an update available for this customer's inquiry?
ACSC Digital Apps
Im still waiting for some help...
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.