public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Problem with interrupts using ecos flash api
@ 2010-04-05 11:08 pankaj pawan
  0 siblings, 0 replies; only message in thread
From: pankaj pawan @ 2010-04-05 11:08 UTC (permalink / raw)
  To: ecos-discuss

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-04-05 11:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-05 11:08 [ECOS] Problem with interrupts using ecos flash api pankaj pawan

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).