This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: HAL_VSR_GET error
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Michele Portolan <michele dot Portolan at imag dot fr>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Fri, 2 Apr 2004 22:25:17 +0200
- Subject: Re: [ECOS] HAL_VSR_GET error
- References: <00ac01c41896$5fea2d00$6c81ab93@TIMAQLF129>
On Fri, Apr 02, 2004 at 11:39:20AM +0200, Michele Portolan wrote:
> I am working on interrupts and I am developing a VSR of mine, but I have
> some problems:
> I tried to use HAL_VSR_GET on a given interrupt
> (CYGNUM_HAL_VECTOR_INTERRUPT_15) from the main of a test file to see how it
> works. Well it just hangs: in ddd I get a SIGILL. What is the problem? Is
> tere maybe an initialisation to do?
> I am using a "default" template on the Leon processor.
> For the future: would it be possible to handle an intterruption with the VSR
> only?
First make sure you understand the difference between VSR and
ISR in the eCos model of things. Read the end of
http://ecos.sourceware.org/docs-latest/ref/kernel-interrupts.html
Then ask yourself the question: Should i be using a VSR or an ISR?
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss