public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Eric Doenges <Eric.Doenges@DynaPel.com>
To: Piotr Trojanek <ptroja@elproma.com.pl>
Cc: ecos-discuss <ecos-discuss@sources.redhat.com>
Subject: Re: [ECOS] serial line ISR problem -- again:(
Date: Tue, 09 Sep 2003 07:46:00 -0000	[thread overview]
Message-ID: <3F5D855F.30609@DynaPel.com> (raw)
In-Reply-To: <20030908171329.GA836@elproma.com.pl>

Piotr Trojanek wrote:

[ ... ]
> Please, help, what do I do wrong?
[ ... ]
> cyg_uint32 isr(
> 	cyg_vector_t vector,
> 	cyg_addrword_t data)
> {
> 	/* do the work... */
> 	int i;
> 	c++;
> 
> 	/* reenable IRQ on UART */
> 	for (i = 0; i < 8; i++)
> 		HAL_READ_UINT8(COM_ADDR + i, ier);
> 	cyg_interrupt_acknowledge( vector );
> 	return CYG_ISR_HANDLED;
> }
[ ... ]

If you want your DSR to run, I believe you have to
return CYG_ISR_HANDLED | CYG_ISR_CALL_DSR;
here. This may be your problem.
-- 
--------------------------------------------------------------------
|     Eric Doenges              |     DynaPel Laboratories GmbH    |
|     Tel: +49 89 962428 23     |     Fraunhoferstrasse 9/2        |
|     Fax: +49 89 962428 90     |     D - 85737 Ismaning, Germany  |
--------------------------------------------------------------------


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

  parent reply	other threads:[~2003-09-09  7:46 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-08 17:13 Piotr Trojanek
2003-09-08 17:17 ` Piotr Trojanek
2003-09-09  7:46 ` Eric Doenges [this message]
2003-09-09  8:44   ` Piotr Trojanek
2003-09-09 12:09     ` Eric Doenges
2003-09-10  8:37       ` Piotr Trojanek
2003-09-10 13:29         ` Eric Doenges
2003-09-10 13:41           ` Piotr Trojanek
2003-09-09 13:01     ` Robert Cragie
2003-09-10  8:40       ` Piotr Trojanek
2003-09-10  9:17         ` Robert Cragie
2003-09-10 11:11           ` Piotr Trojanek
     [not found]             ` <00b301c3778e$eb2ecc80$500ba8c0@jasper>
2003-09-10 11:35               ` Piotr Trojanek
     [not found]                 ` <00de01c37797$c3edbb50$500ba8c0@jasper>
2003-09-10 12:55                   ` Piotr Trojanek
2003-09-10 14:16                   ` Piotr Trojanek
2003-09-10 14:21                     ` Gary Thomas
2003-09-10 14:26                       ` Piotr Trojanek
2003-09-11 13:37                 ` [ECOS] eCos demo: "scivoli" David N. Welton
     [not found]         ` <008f01c377fa$b918b780$09496fa6@PredNotebook>
2003-09-11  0:22           ` [ECOS] problem regarding exec command in redboot Pred
2003-09-11  2:24           ` Gary Thomas

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=3F5D855F.30609@DynaPel.com \
    --to=eric.doenges@dynapel.com \
    --cc=ecos-discuss@sources.redhat.com \
    --cc=ptroja@elproma.com.pl \
    /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).