This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: serial line ISR problem -- again:(
On Wed, Sep 10, 2003 at 01:33:40PM +0100, Chris Garry wrote:
> Looking at your code, it looks good to me, I can't see anything really broken.
> I did notice however:
>
> * intr and intr_handle are defined both globally and inside the producer function.
>
> * You are calling cyg_scheduler_start() at the end of main() - you shouldn't need to
> do this as the scheduler will already be running when main() is executed.
>
> * You have set PRODUCER_PRIORITY to 0, I would normally set it lower - say 10.
fixed all of these, still doesn't work:(
> I guess these things have been introduced while you have been trying different versions
> of the code out - but I don't think any of them are the cause of your problem.
exactly:)
> Sorry I can't be of more help.
Thanks.
--
Piotr Trojanek
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss