AnsweredAssumed Answered

USB midi gadget fails when connected to Mac (i.MX28 2.6.35)

Question asked by Lars Christensen on Nov 27, 2013
Latest reply on Feb 26, 2014 by Yixing Kong

Dear all,

 

We have a setup where we need a large block of data to be sent via midi to our target.

The midi gadget is being used and WIN7 see’s our target as a midi device. Our WIN7 application is capable of sending the large block of data without any problems.

If we connect our target to a MAC, the mac detects our target as a midi device, but our MAC application hangs, and the target outputs the following message:

 

udc: dTD error 00000060 QH=2

 

It should be mentioned that our WIN7 and MAC applications work with other midi products not running on a Linux platform.

 

We’ve tried several patches:

 

Peter Chan’s https://community.freescale.com/thread/314371

Disabling USB stream mode in the usbmode register.

 

Setting the FORCE_FULL_SPEED bit in the portsc1 register still hangs the MAC application at 0%, but the dTD error doesn’t happen.

 

Any help is appreciated

 

 

Regards,

Lars

Outcomes