From: Jesper Skov <jskov@redhat.com>
To: "Chris C." <hksbtx@2bzd.com>
Cc: ecos-discuss@sourceware.cygnus.com
Subject: Re: [ECOS] Serial Driver
Date: Tue, 04 Sep 2001 05:23:00 -0000 [thread overview]
Message-ID: <ot1ylnm9fu.fsf@zoftcorp.adsl.dk> (raw)
In-Reply-To: <157242001961152630953@2bsure.com>
>>>>> "Chris" == Chris C <hksbtx@2bzd.com> writes:
Chris> I have wrote a testing program which have 2 threads, transmit
Chris> and receive, are used to test the full duplex of the target
Chris> board. In pc side, I have a serial testing program used to do
Chris> the testing. I did the 3 testing, 1. only transmit to pc (in
Chris> loop) 2. only receive from pc 3. transmit to (in loop) and
Chris> receive from pc (hold on the enter key to send a block of data)
Chris> In case 1 and 2, the serial driver can work fine but it can't
Chris> work in case 3. The problem occured in case 3 was that it can
Chris> work correctly within a short time and then it can't do the
Chris> transmit and receive. I use the Ctrl+C to break the program, I
Chris> always see it break in the idle_thread_main.
Chris> What is the possible problem that cause the program run into
Chris> this function?
Hard to say without seeing the code. But I probably wouldn't have time
to read it anyway.
Chris> What is the best way to do the debugging?
How about running the serial tests that come with eCos? There's a
testing infrastructure that does what you try to do, and more. See the
io/serial/current/tests/README file - which is a bit out of date, but
should guide you in the right direction.
Jesper
next prev parent reply other threads:[~2001-09-04 5:23 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-01 8:35 Chris C.
2001-09-01 13:30 ` [ECOS] XScale IQ80310 Richard Wicks
2001-09-07 14:35 ` Jonathan Larmour
2001-09-04 5:23 ` Jesper Skov [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-08-10 15:08 [ECOS] Multiple eCos repositories in ECOS_REPOSITORY Doyle, Patrick
2006-08-11 11:37 ` [ECOS] Problem with scanf and printf Tathagata Das
2006-08-11 11:47 ` Gary Thomas
2006-08-14 6:04 ` [ECOS] Serial driver Tathagata Das
2006-08-14 7:17 ` Andrew Lunn
2006-08-14 8:43 ` Tathagata Das
2006-08-14 9:33 ` Andrew Lunn
2003-07-18 10:29 [ECOS] serial driver Michael Anburaj
2003-07-18 8:29 Satish Kumar
2001-09-01 19:56 Chris C.
2001-09-04 5:25 ` Jesper Skov
2001-08-13 7:48 [ECOS] POSIX threads in ecos Rajeev
2001-08-13 8:04 ` [ECOS] Serial Driver Sebastien ANDRE
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=ot1ylnm9fu.fsf@zoftcorp.adsl.dk \
--to=jskov@redhat.com \
--cc=ecos-discuss@sourceware.cygnus.com \
--cc=hksbtx@2bzd.com \
/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).