This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: HAL_VSR_GET error


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]