LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Sponsors
  • Mirrors
  • Logos
  • Contact us
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Usb > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: "Vikas T Rao " <vikasraot@m...>
    Date: Thu, 13 Feb 2003 15:00:37 +0530
    Subject: Re: [usb] how host deal with the non 4-byte boundery datapacket?
    Top

    hi,
    
    following solution may be a probable one.
    
    as soon as the host receives less than 4 bytes, it can dump the
    remaining DWORD bits with '0'. the counter register however maintains
    the no. of bytes received. there will not be any problem even while
    further processing of these bytes if the host keeps track of the no. of
    bytes read with respect to the counter register.
    
    ...Vikas Chandra Rao.
    
    >>> mdennis97@h... 02/13/03 01:38PM >>>
    hi,all
    
    Nominally,usb host read/write system memory in DWORD(4 byte)boundry.But
    the 
    packets received from device are always not the multiple of 4 bytes.For
    a 
    host controller,how to deal with this case.That's to say,if a device
    can 
    only send a maximum packet size 201 bytes large,the host controller can
    
    write the former 200 bytes DWORD by DWORD,how to process the last
    byte?
    
    Regards
    Dennis
    
    
    
    
    
    _________________________________________________________________
    Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
    http://join.msn.com/?page=features/junkmail 
    
    
    
    
    
     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.