From: Chuck McManis <ecos@mcmanis.com>
To: ECOS Discussion Group <ecos-discuss@sources.redhat.com>
Subject: Re: [ECOS] Proper Thread Environment (was Re: [ECOS] SPI usage)
Date: Thu, 01 Mar 2007 06:08:00 -0000 [thread overview]
Message-ID: <6.1.2.0.2.20070228220517.0494bec0@192.168.110.40> (raw)
In-Reply-To: <45E41ECA.8010405@mlbassoc.com>
Hmm, I'm getting closer, kind of.
At 04:06 AM 2/27/2007, Gary Thomas wrote:
> Your problem is not with the form of your code; it's fine.
>The problem has to do with the console device. The default console
>device is the debug device, normally provided by RedBoot via the
>virtual vector interface. This interface is not interrupt driven,
>thus when you ask to read from it, everything comes to a grinding
>halt. To avoid this, you need to set up your console stream to
>an interrupt driven device, which will require enabling the appropriate
>serial driver.
So after much trial and tribulation (why would ANYONE layout a 10 pin IDC
connector for a 9 pin serial port with pin 1 - 1, 2-2, 3-3, etc. It makes
using off the shelf IDC connectors impossible!) I've got a second serial
port on my box that I can talk to.
So how do I make *that* stdin/stdout (or their equivalent) for my
application? I'd like to maintain the flexibility of having the Redboot
serial port which I can connect to and run GDB on.
The documentation for the serial driver is not much help, I'm looking in
the C-library documentation at the moment but if someone knows off the top
of their head, please let me know...
--Chuck
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
prev parent reply other threads:[~2007-03-01 6:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-26 14:51 [ECOS] SPI usage Julien Stéphane
2007-02-26 14:57 ` Gary Thomas
2007-02-26 15:01 ` [ECOS] RE : " Julien Stéphane
2007-02-27 4:56 ` [ECOS] Proper Thread Environment (was Re: [ECOS] SPI usage) Chuck McManis
2007-02-27 12:06 ` Gary Thomas
2007-03-01 6:08 ` Chuck McManis [this message]
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=6.1.2.0.2.20070228220517.0494bec0@192.168.110.40 \
--to=ecos@mcmanis.com \
--cc=ecos-discuss@sources.redhat.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).