public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Tathagata Das <tathagata@alumnux.com>
To: Saravanan Ganesan <Saravanan_Ganesan@mindtree.com>
Cc: ecos-discuss@ecos.sourceware.org
Subject: Re: [ECOS] Need help - UART interrupt handler - ECOS
Date: Fri, 28 Sep 2007 05:34:00 -0000	[thread overview]
Message-ID: <46FD421F.9070300@alumnux.com> (raw)
In-Reply-To: <16271F716C971E4BBBE29C45FA4A01380503765E@mtw01ex01.mindtree.com>

Hello Sarvan,
   It may happen mainly for two reasons.
       1. Your interrupt controller is not working properly. However 
chance for this to happen is very less.
       2. You probably need to unmask the interrupt vector just after 
attaching ISR handler.
                    cyg_drv_interrupt_unmask(interrupt vector number for 
RX);

Regards,
Tathagata

Saravanan Ganesan wrote:
> Hello,
>  
> we are using ECOS for our development.  In our environment(PNX 8330) Uart Rx
> is configured in Interrupt
> mode and the handlers are registered using ECOS exported API
> (cyg_interrupt_create) and the handler 
> is attached in interrupt stack using (cyg_interrupt_attach).
>  
> cyg_interrupt_create() returns valid handler, so we can assume that the call
> is success.
> ISR handler is not being called, when we send a character from the
> hyperterminal.  But my uart status
> register says Receive_therslod_int and receive_time_out both happened.
>  
> Could somebody Please, let me know why the ECOS is not calling  ISR handler.
> Should i need do any additional configuration in configuration tool to get
> the handler.
> Should i have to enable some macro to get the same.
>  
> Thanks in advance
> Regards,
> Sarvan G
>
>
>
> DISCLAIMER:
> This message (including attachment if any) is confidential and may be privileged. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited.
> E-mail may contain viruses. Before opening attachments please check them for viruses and defects. While MindTree Consulting Limited (MindTree) has put in place checks to minimize the risks, MindTree will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside.
> Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission.
> MindTree reserves the right to monitor and review the content of all messages sent to or from MindTree e-mail address. Messages sent to or from this e-mail address may be stored on the MindTree e-mail system or else where.
>
>   

-- 
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:[~2007-09-28  5:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-28  5:03 Saravanan Ganesan
2007-09-28  5:34 ` Tathagata Das [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=46FD421F.9070300@alumnux.com \
    --to=tathagata@alumnux.com \
    --cc=Saravanan_Ganesan@mindtree.com \
    --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).