public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "Les G. Miklosy" <lgm0@verizon.net>
To: ecos-discuss@ecos.sourceware.org
Subject: [ECOS] Redboot Polling Timers
Date: Wed, 11 Dec 2013 05:52:00 -0000	[thread overview]
Message-ID: <52A7FD98.4070402@verizon.net> (raw)

In my build of Redboot from version eCos 1.0.7 the execution aborts with 
an IU Error when executing __timer_poll. If I remove the call to 
__timer_poll in package tcp.c the initialization proceeds to a RedBoot 
prompt and I can execute commands (ping, help, ip, version, load) at the 
prompt.

One call sequence executes the polling timer with  http_stream_open -> 
__tcp_open -> __tcp_poll -> __timer_poll.  Another starts from 
'net_io_test'. Another one should set the timer with __enet_poll -> 
__ip_handler -> __tcp_handler -> __tcp_send -> __timer_set or similar.  
The debugger shows me '__timer_set' is never called from anywhere so I 
would expect the polling timer to fail as it does.

Can someone suggest why the timers are not being set and what the 
calling sequence should be to set them. I can't yet explain why Redboot 
is functional (to the degree it still is) with the polling timer removed 
as I have done. The hardware abstraction layer is a baseline I have used 
successfully and the hardware has not changed. Platform is SPARC Leon on 
the now vintage GR-XCS-1500 from Pender Electronics.

Thank-you,
Les

-- 
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:[~2013-12-11  5:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=52A7FD98.4070402@verizon.net \
    --to=lgm0@verizon.net \
    --cc=ecos-discuss@ecos.sourceware.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).