[rtems] multitasking problem
Joel Sherrill
joel.sherrill at OARcorp.com
Mon Nov 5 20:28:17 UTC 2001
"Aaron J. Grier" wrote:
>
> On Fri, Oct 12, 2001 at 10:49:06AM +0200, Stan wrote:
>
> > On my board, the sample apllication 'hello word' running well. But
> > the 'clock tick' application not executing properly ;)
> >
> > rtems_task_create and rtems_task_start return RTEMS_SUCCESS but in
> > rtems_task_delete, the User_extensions_thread_begin abort.
> >
> > The workspace size and program heap size appears well.
> >
> > How to find origin this problem ? any idea ?
>
> > BSP: custom, based upon efi68k
>
> sounds like you forgot to put in a clock interrupt, or your clock
> interrupt is not calling rtems_clock_tick.
Key questions often are:
+ Am I getting the 1st clock tick?
Not initialized properly at all.
+ Am I getting the 2nd clock tick?
ISR not resetting things right.
+ How far are they apart?
Miscalculated timer count value.
> --
> Aaron J. Grier | Frye Electronics, Tigard, OR | aaron at frye.com
> "In a few thousand years people will be scratching their heads
> wondering how on earth the first computer was invented and
> bootstrapped without a prior computer to do it with."
> -- Chris Malcolm, on comp.arch
--
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