Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Rodolfo Giometti <giometti@linux.it>
To: Dan Malek <dan@embeddedalley.com>
Cc: linux-mips@linux-mips.org
Subject: Re: Problem on au1100 USB device support
Date: Tue, 10 Oct 2006 21:40:44 +0200	[thread overview]
Message-ID: <20061010194044.GD14539@enneenne.com> (raw)
In-Reply-To: <29381BAC-4A96-4BFE-8E86-836A3564F2F5@embeddedalley.com>

On Tue, Oct 10, 2006 at 03:33:45PM -0400, Dan Malek wrote:
> 
> Many people, including myself, have spent way too many
> hours trying to make this device interface work.  There
> are some errata associated with it, along with some challenging
> design problems.  I have only been able to make it work
> in one instance, with a highly custom RTLinux driver,
> properly matched FIFOs and DMA, and running TCP/IP
> over the link.  It wasn't 100% reliable, but the TCP retries
> made it appear that way to the application (with tolerable
> delays).

May I have your setup sequence? At least I'd like to se some bus
activity...

> The device interface just requires too much babysitting
> by the CPU to function, and the Linux interrupts
> have too much latency to guarantee the CPU can do
> what is necessary in a timely fashion.  The same is
> true of not using DMA.  If you choose not to use the
> DMA for data transfer, the CPU just can't respond
> quickly enough to the interface state changes
> unless you just spend all of your time polling the
> interface.

Ok, but as first step I'd like having some functionality with FIFOs.

> IMHO, I wouldn't waste much time on this, but
> Good Luck if you choose to do so :-)

Thanks a lot!

Rodolfo

-- 

GNU/Linux Solutions                  e-mail:    giometti@enneenne.com
Linux Device Driver                             giometti@gnudd.com
Embedded Systems                     		giometti@linux.it
UNIX programming                     phone:     +39 349 2432127

  reply	other threads:[~2006-10-10 19:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-10 18:27 Problem on au1100 USB device support Rodolfo Giometti
2006-10-10 19:33 ` Dan Malek
2006-10-10 19:40   ` Rodolfo Giometti [this message]
2006-10-10 19:41   ` Sergei Shtylyov
2006-10-11 13:15     ` Dan Malek
2006-10-10 20:03 ` Sergei Shtylyov
2006-10-10 23:52   ` Rodolfo Giometti

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061010194044.GD14539@enneenne.com \
    --to=giometti@linux.it \
    --cc=dan@embeddedalley.com \
    --cc=linux-mips@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox