public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: John Eigelaar <jeigelaar@mweb.co.za>
Cc: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS]  USB-CDC on AT91
Date: Fri, 02 Jun 2006 08:09:00 -0000	[thread overview]
Message-ID: <20060602080928.GM2478@lunn.ch> (raw)
In-Reply-To: <e5oqsf$b0u$1@sea.gmane.org>

On Fri, Jun 02, 2006 at 07:54:57AM +0000, John Eigelaar wrote:
> I have been using the recent at91 usb driver to implement a USB-CDC
> (USBSerial emulation ) device on an at91sam7s256 board.
> 
> My CDC device enumarates properly and is seens as a serial port on both
> Linux and Windows. If I however try to connect to the serial port with
> either minicom or hyperterminal the serial application hangs.
> 
> I could get hyperterminal to connect once and that work fine while the
> session was connect but when I hanged up and tried again hyperterminal
> hung.
> 
> I previously ported the FraaRTOS CDC code to eCos, before there was any
> at91 driver available, and that code works fine as a serial port.
> 
> Any ideas on how to go about debugging this ? 
> Any experiences with USB-CDC would be appreciated.
> 
> I have SnoopyPro and the diag serial port here at my disposal ...
> 
> Thankx
> John Eigelaar

Hi John

I did find what i think is one silicon bug in the AT91SAM7S. Maybe it
is related?

I found that the first Bulk OUT message on an endpoint did not always
trigger an interrupt. It was only when the second Bulk OUT message
arrived was the interrupt triggered and i could process both messages.
After that it seemed to work O.K.

This bug causes the eCos USB tester software a problem. It sends a
single Bulk OUT message and then uses the control pipe to poll to see
if the message has been received. After 10 polls it gives up and gives
a warning. It then sends the next Bulk OUT message and another warning
is then generated by the target because it received an unexpected
message....

When do you see the problem? Do you receive the first Bulk OUT
message?

        Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

  reply	other threads:[~2006-06-02  8:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-02  7:55 John Eigelaar
2006-06-02  8:09 ` Andrew Lunn [this message]
2006-06-05 21:11 ` oli
2006-06-06  6:05   ` John Eigelaar
2006-06-09 18:46     ` Oliver Munz @ SNR

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=20060602080928.GM2478@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=ecos-discuss@sources.redhat.com \
    --cc=jeigelaar@mweb.co.za \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).