Timer Driver
Joel Sherrill <joel@OARcorp.com>
joel.sherrill at OARcorp.com
Fri Mar 4 19:50:26 UTC 2005
Mike Bertosh wrote:
> Hi all,
>
> I am trying to port RTEMS to an Avnet MCF5282 eval board and I am having trouble
> running some of the timing test suite programs. I have been modifying the code from
> the uC5282 BSP package on the cvs. I have the board booting from flash and it runs
> the hello world and ticker sample programs just fine. The first two timing test suite
> programs run fine, but the third test errors while printing out the first statement:
>
> *** TIME TEST 3 ***
> rtems_semaphore_release: tas
>
> I have the clock driver running from a programmable interrupt timer(PIT3) and is set
> to about 1 microsecond. The system clock of 58.976MHz is being prescaled by 64.
> For the timer driver I am using a DMA timer that also prescales the system clock by
> 64. Does anyone know why this would crash some of the timing test suite programs?
> I'd appreciate any and all help. Thanks for your time.
The tmtests do not configure the clock driver so make sure that the
clock tick ISR is really not going to happen.
How long can your countdown timer cactually time before it will generate
an interrupt?
Have you run tmck? It might give a hint.
It could be a blown stack.
> Mike Bertosh
> Motion Control Systems Inc.
> New River VA
--
Joel Sherrill, Ph.D. Director of Research & Development
joel at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the users
mailing list