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: midas@j...
    Date: Mon, 6 Oct 2003 08:39:35 +0200
    Subject: [usb] how to receive successive data after clear_feature()?
    Top

    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. 
    
    
    
    

    Follow upAuthor
    Re: [usb] how to receive successive data after clear_feature()?Gayathri Seshadri

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