Quantcast
Channel: Embedded Software (Read Only)
Viewing all articles
Browse latest Browse all 25965

Forum Post: RE: USB host issue with WINCE7 AM335X BSP

$
0
0

// in CHW::AllocateHostEndPoint()
 if (TransferType == TYPE_BULK)
        {    

        //Disable the shared bulk EP funciton.       So that EP8-15 can be used quickly

       /*

          // Search for shared BULK EP
            for (i = 0; !fStop && (i < (MGC_MAX_USB_ENDS - 1)); i ++)
            {
                if ((pConfig[ i ].refCount > 0) &&
                    (pConfig[ i ].epTypeCurrent == TYPE_BULK) &&
                    pConfig[ i ].fSharedMode &&
                  //  (pConfig[ i ].refCount < 1) &&              ----Add this sentence.
                    (pConfig[ i ].fifoSize >= MaxPktSize))
                {
                    pConfig[ i ].refCount ++;
                    EpNum = i + 1;
                    fStop = TRUE;
                }
            }*/


        }


Viewing all articles
Browse latest Browse all 25965

Trending Articles