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: "Gayathri Seshadri" <gaysesh@h...>
    Date: Mon, 6 Oct 2003 14:06:44 +0530
    Subject: Re: [usb] how to receive successive data after clear_feature()?
    Top

    Hi,
    
    To my knowledge, the mass storage device will not be able to
    differentiate between the bulkIN for the data stage and the
    bulk IN for the CSW on conditions following a short packet. That is why,
    it sends a STALL following a short packet(IN-data). So it is
    required that the software do a CSW(13 bytes) after the clear_feature
    command
    and then proceed on with a successive cbw-[data]-csw patterns..
    
    Hope the above is clear and correct.
    
    Do update.
    
    Regards,
    Gayathri Seshadri.
    
    ----- Original Message -----
    From: <midas@j...>
    To: <usb@o...>
    Sent: Monday, October 06, 2003 12:09 PM
    Subject: [usb] how to receive successive data after clear_feature()?
    
    
    > hi,
    >  I'm developing a  USB Mass Storage device, Bulk-Only protocol.
    > I use READ(10) command to get data. When bulk-in execute, the
    > host get "STALL". I use clear_feature to clear "STALL". After clear
    > _feature, next bulk-in command get a message "NAK", why?
    >
    > My  clear_feature command :
    > Packet 1> SETUP from host to ADDR=0x08, EP = 0
    > Packet 2> DATA0 (0x02 , 0x01 , 00 , 00 , 0x82, 00 , 00 , 00) from host
    > Packet 3> ACK from device to Host
    > Packet 4> IN from host to ADDR=0x08, EP = 0
    > Packet 5> ACK from device to Host
    >
    > ps:My bulk-in command use EP=2 ADDR=0x08.
    >
    > Is my method wrong? Or should I use other commands?
    > Thanks a lot.
    >
    > 
    >
    
    
    

    ReferenceAuthor
    [usb] how to receive successive data after clear_feature()?Midas

     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.