LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Advertise
  • Mirrors
  • Logos
  • Contact us
  • Job Opportunity
  •  
    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: Søren I. Petersen<SIP@d...>
    Date: Mon Jan 17 08:45:31 CET 2005
    Subject: [usb] USB 1.1 Device Core Endpoint Clarification
    Top
    ** Reply Requested When Convenient **

    Hi

    Have you also seen that you only read data once from the fifo?

    /sip


    Søren Ingemann Petersen

    DELTA Danish Electronics, Light & Acoustics Tel: 72 19 40 00
    DELTA Microelectronics Direct: 72 19 42 38
    Venlighedsvej 4 Fax: 72 19 40 01
    DK-2970 Hørsholm


    >>> ramachandiran.v@s... 15-01-2005 11:45:01 >>>
    Dear USB People,

    I have a Question regarding USB 1.1 Endpoint .

    First Let me describe what I'm doing using USB Core.

    I developed PS2 Keyboard to USB application using USB 1.1 core. I wrote PS2
    Interface logic and gluelogic to store ASCII value of the Pressed Key in Endpoint 5.
    [ Endpoint 5 is configured as IN , INTERRUPT with max of 64 Byte transfer. I use
    Windriver USB software to read USB Port.

    ep5_cfg = `INT | `IN | 14'd0001

    Device Enumeration is taking place properly and i could see all the endpoints with the
    same setup mentioned in usb1_rom.v file.

    The Problem i'm facing is like , what ever the data i type in Keyboard , It is read and
    displayed TWICE. I checked the behavioral simulation and saw that the data is stored
    in Endpoint FIFO only once with WE for FIFO is kept asserted for 1 Clock Pulse.

    I even tried to store the data into Endpoint FIFO continuously and then Invoked
    Windriver software. Then also each character is displayed TWICE [ i.e., . i Typed
    rama ..But i received as ..rraammaa ].

    Is this the Problem with INTERRUPT Transfer Mechanism the way i configred.
    or
    Could it be the Problem of Windriver Software ?..

    Can anyone clarify me where exactly the Problem and how can i overcome this ?

    It would be grate Helpful for me.

    Thanks in Advance ,
    Ramachandiran.V





    _______________________________________________
    http://www.opencores.org/mailman/listinfo/usb


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