This is the mail archive of the ecos-discuss@sourceware.org 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]

Problem with interrupts using ecos flash api


Hi,
I am facing problems in handling interrupts using the FLASH API of
ecos. My platform is GP4020 and I am trying to run opensource gpl-gps
code on it. When I load the code onto RAM using redboot it works fine,
but when the same code is executed from flash the program hangs once
the ?cyg_interrupt_attach() is called. I tried mapping the ISR onto
RAM and changing the interrupt vector where the flash address of the
ISR was originally written to the newly mapped one, but didnt work. Am
I proceeding in the right direction . Is there some problem with
interrupts executing from the flash and what else do I need to do to
get it working.
the code runs well from flash if the interrupt is not attached.
Can anyone please help me out in this.

Regards,
Pankaj
IIT Kanpur

--
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]