public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] FIQ for RTC on ARM core ?
@ 2000-11-23 17:50 Koh
  2000-11-23 18:06 ` Kim, Hongsung
  0 siblings, 1 reply; 2+ messages in thread
From: Koh @ 2000-11-23 17:50 UTC (permalink / raw)
  To: ecos-discuss

Hi All
I am porting eCos on my target which has a variant ARM60 core.
I have built GDB stub ROM  successfully. So I can download a RAM application
(ex. Hello world) to my target.  A Problem is happend.  Starting program is
OK. but Program is halted at the first tick.
My target isn't support IRQ. So I use FIQ for timer(RTC).
I am not sure that eCos kernel support FIQ  while schedulling.
Are there anyone that used FIQ for RTC on ARM core ?
If ARM HAL chaned, what is changed ?




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ECOS] FIQ for RTC on ARM core ?
  2000-11-23 17:50 [ECOS] FIQ for RTC on ARM core ? Koh
@ 2000-11-23 18:06 ` Kim, Hongsung
  0 siblings, 0 replies; 2+ messages in thread
From: Kim, Hongsung @ 2000-11-23 18:06 UTC (permalink / raw)
  To: Koh; +Cc: ecos-discuss

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1307 bytes --]

I think there is a bug in FIQ handler in file vectors.S.
In FIQ mode, there are 7 banked registers from R8 to R14.
But in the code which FIQ hander is defined, it pushes  fp(R11) and ip(R12)
into the stack, which is intended to save registers for Supervisor mode.
However they are not supervisor mode registers but FIQ registers.
So, if you want to use FIQ, fix this bug.

I sent this bug list to ecos-discuss group.
Please, Wait a moment for reply from ecos group.

----- Original Message ----- 
º¸³½ »ç¶÷: "Koh" <koh@bdtel.com>
¹Þ´Â »ç¶÷: <ecos-discuss@sources.redhat.com>
º¸³½ ³¯Â¥: 2000³â 11¿ù 24ÀÏ ¿ÀÀü 10:50
Á¦¸ñ: [ECOS] FIQ for RTC on ARM core ?


> Hi All
> I am porting eCos on my target which has a variant ARM60 core.
> I have built GDB stub ROM  successfully. So I can download a RAM application
> (ex. Hello world) to my target.  A Problem is happend.  Starting program is
> OK. but Program is halted at the first tick.
> My target isn't support IRQ. So I use FIQ for timer(RTC).
> I am not sure that eCos kernel support FIQ  while schedulling.
> Are there anyone that used FIQ for RTC on ARM core ?
> If ARM HAL chaned, what is changed ?
> 
> 
> 
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-11-23 18:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-23 17:50 [ECOS] FIQ for RTC on ARM core ? Koh
2000-11-23 18:06 ` Kim, Hongsung

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