public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Thumb/exceptions in program
@ 2004-05-28 15:13 Greg Smith
  2004-05-28 16:40 ` Sven Rehfuss
  0 siblings, 1 reply; 3+ messages in thread
From: Greg Smith @ 2004-05-28 15:13 UTC (permalink / raw)
  To: ecos-discuss

I know very little about ecos, but:

Interrupts in the ARM processor all run in 32-bit mode - so you will hit
problems if you try to run interrupts in Thumb mode.

As the remainder of the code works OK in 32-bit mode, the other possible
explanation of a sata abort of not having set up the interrupt stacks cannot
be correct.

Greg Smith


-- 
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] 3+ messages in thread
* [ECOS] Thumb/exceptions in program
@ 2004-05-28 14:07 Sven Rehfuss
  0 siblings, 0 replies; 3+ messages in thread
From: Sven Rehfuss @ 2004-05-28 14:07 UTC (permalink / raw)
  To: ecos-discuss

Hello,
I have a strange problem with thumb.
I can run my program without any problem using ARM 32 bit instruction.
I get exceptions (abort data) if I compile everything for thumb. I find
that the exception may accure in the IRQ routines. The command is:
stmdb   sp!, {r0, r1, r2, r3, r4, r5}

What can this be?

System:
latest ecos cvs, gcc (tried 3.2.1, 3.3.3, 3.3.4), binutils 2.14.91 and
latest cvs.

Regards,
 Sven Rehfuß


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

end of thread, other threads:[~2004-05-28 15:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-28 15:13 [ECOS] Thumb/exceptions in program Greg Smith
2004-05-28 16:40 ` Sven Rehfuss
  -- strict thread matches above, loose matches on Subject: below --
2004-05-28 14:07 Sven Rehfuss

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