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: Mikhail A<fopencores@t...>
    Date: Tue Dec 2 05:53:36 CET 2003
    Subject: [usb] USB 1.1 host controller: SET ADDRESS is ACK'ed, but ignored
    Top
    I am trying to write an USB 1.1 host controller to connect a usb video
    camera to the Xilinx FPGA. I am having strange problems with Set Address
    Command - it is recieved and ACKed, but the device still does not respond
    to the command.

    I am using usb_phy from "USB 1.1 Function IP Core" and PDIUSBP11A for UTMI
    and hardware interface. I was able to read the device descriptor, so I
    believe that the physical part of the protocol works.

    I do not have USB bus analyzer, but logic analyzer shows the following:
    -30ms..0ms: "reset" hit. the bus is in SE0 state
    0ms..15ms: reset recovery. Only SOF packets are being sent
    16ms:
    host sends SOF,
    host waits 64 bit times
    host sends "SETUP to Pipe0 Device0", 2D 00 10
    host sends DATA0, "set address to 4":
    C3 00 05 04 00 00 00 00 00 EB 70
    device sends ACK ( D2 )
    17ms:
    host sends SOF,
    host waits 64 bit times
    host sends "IN from Pipe0 Device0", 69 00 10
    device sends empty DATA1 packet: 4B 00 00
    host waits 32 bit times

    host ACK's packets: D2
    18ms..31ms: idle time, sending SOF only
    32ms:
    host sends SOF,
    host waits 64 bit times
    host sends "SETUP to Pipe0 Device4", 2D 04 28
    host sends DATA0, "get descriptor":
    C3 80 06 00 01 00 00 12 00 E0 F4
    now, the device is supposed to ACK the packet, but it does not
    device does not send anything.

    What could be wrong here?

    I will be happy to provide any additional information.
    Mikhail



    --
    To unsubscribe from usb mailing list please visit http://www.opencores.org/mailinglists.shtml

    Follow upAuthor
    [usb] USB 1.1 host controller: SET ADDRESS is ACK'ed, but ignoredRudolf Usselmann

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