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: Rahul Kumar<kumarah@i...>
    Date: Mon May 3 19:51:39 CEST 2004
    Subject: [usb] enumeration problem
    Top
    Hello,

    I'm trying to install a driver for my device, but enumeration is failing. I hooked up a logic analyzer to the control endpoint FIFO IN and OUT data ports and this is what I get.

    DATA: Data either in the control endpoint IN FIFO or the OUT FIFO
    INRE: read enable for the IN FIFO (read by the core)
    OUTRE: read enable for the OUT FIFO (read by usb1_ctrl)
    INEMT: IN FIFO empty signal
    OUTEMT: OUT FIFO empty signal
    CLK: does not show up due to analyzer settings(ignore)


    Label > DATA INRE OUTRE INEMT OUTEMT CLK Comments
    Base > Binary Bina Binar Binar Binary Bin
    __________ ________ ____ _____ _____ ______ ___

    -7 10000000 0 1 1 0 0 bmRequestType = GET_DESCRIPTOR
    -6 00000110 0 1 1 0 0 bRequest = 6 = GET_DESCRIPTOR
    -5 00000000 0 1 1 0 0 wValue (low) descriptor index = 0
    -4 00000001 0 1 1 0 0 wValue (high) = descriptor type = 1 = device
    -3 00000000 0 1 1 0 0 wIndex = 0 for non string descriptors
    -2 00000000 0 1 1 0 0 wIndex = 0 for non string descriptors
    -1 01000000 0 1 1 0 0 wLength (low) = h40 = 64 bytes
    0 00000000 0 1 1 0 0 wLength (high) = 0
    1 00000000 1 0 0 1 0 This is where the core starts reading data returned by usb1_ctrl.v
    2 00000000 1 0 0 1 0
    3 01111000 1 0 0 1 0
    4 01010110 1 0 0 1 0
    5 00010000 1 0 0 1 0
    6 00000001 1 0 0 1 0
    7 00000000 1 0 0 1 0
    8 00000000 1 0 0 1 0
    9 00000000 1 0 0 1 0
    10 00000001 1 0 0 1 0
    11 01111000 1 0 0 1 0
    12 01010110 1 0 0 1 0
    13 00010000 1 0 0 1 0
    14 00000001 1 0 0 1 0
    15 00000000 1 0 0 1 0
    16 00000000 1 0 0 1 0
    17 00000000 1 0 0 1 0
    18 00000001 1 0 0 1 0
    19 00000000 1 0 0 1 0
    20 00000000 1 0 0 1 0
    21 01111000 1 0 0 1 0
    22 01010110 1 0 0 1 0
    23 00010000 1 0 0 1 0

    It looks like usb1_ctrl.v is returning incorrect data. Anyone else have this problem?
    I would appreciate any suggestions and advice.

    Thanks

    Rahul

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