I have successfully written a CDC-ACM device using the BIOSUSB driver, but I have a problem with stability that may well be related to post :
http://e2e.ti.com/support/dsp/tms320c6000_high_performance_dsps/f/115/p/30793/107339.aspx#107339
I have written a test program that writes bursts of data from windows to the virtual com port. The code essentially writes a very short test message of 9 bytes from the PC to the COM port and then waits for x microseconds. if x is greater than 5 microseconds my application on the C6748 echoes the messages back, as soon as the delay is reduced, then the DSP application hangs and I cannot echo messages even slowly back and forth to the DSP via the USB after the USB freezes.
In my code I a callback to process the messages, and I have reduced the amount of code in these to a minimum, but this has not affected the hanging behaviour.
Since I intend to deliver my product to a customer who will interact via USB using the CDC-ACM I have no actual control over how packets are sent, nor should I need to. What could possibly be going wrong? is there something inherently builtin to either the BIOSUSB code or the TI hardware that should limit/break under these conditions. I notice that another user has had similar problems, but did not appear to investigate it further, since they could introduce a delay.
http://e2e.ti.com/support/dsp/tms320c6000_high_performance_dsps/f/115/p/47153/169623.aspx#169623
Please can you advise me,
Peter