This is the mail archive of the
ecos-devel@sourceware.org
mailing list for the eCos project.
Re: Scheduler problem with MPC855T port
Andrew Lunn wrote:
On Thu, Mar 15, 2007 at 08:53:02AM +0100, khoffmann@mmm.com wrote:
Hello Andrew, thanks for your quick reply!
Andrew Lunn <andrew@lunn.ch> wrote on 14.03.2007 09:55:36:
Timer tick. Run some of the kernel timer tests. I expect they will all
fail because your timer is not ticking.
Is there a function, that I have to hook on a special interrupt?
Yes, look at the HAL. It will initialize the timer. eg normally
hal_clock_initialize, and the macro CYGNUM_HAL_INTERRUPT_RTC should be
the timer interrupt.
On the PowerPC, this is almost always the decrementer interrupt.
On some cores, the decrementer has to be enabled - check your
hardware manual.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------