public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] System failure!!
@ 2008-04-24 15:38 Alperen Coskun
  2008-04-24 16:25 ` Gary Thomas
  2008-04-25 14:24 ` Davies, Greg
  0 siblings, 2 replies; 7+ messages in thread
From: Alperen Coskun @ 2008-04-24 15:38 UTC (permalink / raw)
  To: ecos discuss



Hi all,

I have a problem that I haven't solved so far. I'm using powerpc and virtex-4 platform. My project was working properly
till I added a row that only assigns a value to a variable in one of the "isr" functions. And my code started to fail. I think
it was working by chance so far :( I recognized that not only adding to "isr" function, it happens also in other parts.

There is no compilation error. But when I download xxx.elf file that I generated, my program stops at one of
the functions. (In fact it doesn't stop, it enters a loop in cyg_hal_default_exception_vsr at different places in asm code but
generally in"sync" assembly code. It doesn't break the loop) The function which causes exception isn't always the same.
It changes according to where and what I have added to the code. (the function I added a piece of code and the function that
causes exception are not same. Also, although it doesn't enter the function that I have added a piece of code, it fails. for example,
altough I add a code to isr function and no inetrrupt occurs, it fails.)

I controlled all the code which may not give compilation error but may cause run-time error. (divide by zero).But even if
there is something like that, it may exit from the exception subroutine and turn back. I'm not sure but, it may be from
memory problem. I checked the memory layout but found nothing unlogical. I didn't understand which causes that problem.

Is there anyone who encountered that problem before or could give any idea?

Regards, Alperen!

_________________________________________________________________
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE

-- 
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] 7+ messages in thread

end of thread, other threads:[~2008-04-25 17:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-24 15:38 [ECOS] System failure!! Alperen Coskun
2008-04-24 16:25 ` Gary Thomas
2008-04-25 16:48   ` Alperen Coskun
2008-04-25 14:24 ` Davies, Greg
2008-04-25 17:06   ` [ECOS] " Dave Lawrence
2008-04-26  0:19     ` Dave Lawrence
2008-04-26  0:37     ` [ECOS] " Davies, Greg

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