From: Ross Wightman <rpw@velvet.microplex.com>
To: ecos-discuss@sources.redhat.com
Subject: [ECOS] DBG Serial Init Problem with MBX based code
Date: Tue, 29 Aug 2000 16:57:00 -0000 [thread overview]
Message-ID: <Pine.LNX.4.10.10008291645500.2685-100000@velvet.microplex.com> (raw)
Okay, thanks to Gary's help I now appear to have the memory aspects of
eCos working on my board.
I have now run into a new problem with the debug serial channel
initialization. In the mbx code from CVS the fcn
cyg_hal_plf_serial_init_channel() initially gets called from hal_diag_init
during some constructor/initializer code. A little later on, the fcn
cyg_hal_plf_serial_init() in quicc_smc1.c gets called. This function
resets the CPM right before it makes a call to serial_init_channel()
again. The CPM reset wipes almost everything that the initial call to
serial_init_channel set up and due to the fact that serial_init_channel()
has a check so that it can only be run once, the channel is not setup back
up again.
This problem would be easy to "hack" fix. However, I would like some
insight into why this is setup as is (if it should be?) and what a good
fix would entail.
Thanks.
next reply other threads:[~2000-08-29 16:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-08-29 16:57 Ross Wightman [this message]
2000-08-29 23:53 ` Jesper Skov
2000-08-31 12:28 Ross Wightman
2000-08-31 23:57 ` Jesper Skov
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=Pine.LNX.4.10.10008291645500.2685-100000@velvet.microplex.com \
--to=rpw@velvet.microplex.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).