RTEMS programming issues
Joel Sherrill
joel.sherrill at OARcorp.com
Fri May 22 15:40:10 UTC 2009
Nasim Zehra wrote:
> Hi,
>
> I am doing work on rate monotonic scheduling,i have to scheduale 5 periodic tasks.I am using rate monotonic directives but there are some problems and i am stuck with it.
> - the issues regarding programing were to understand rate monotonic directives.
> - whether to use rtems_rate_monotonic_cancel directive in every program or not.
> - nanosecond/ticks option problem to select.
> - get_status is creating problem,kindly try to take status more than one time in loop , error occured "unexpected trap at --- memory address"
> - get_statistics is also creating problem ,run time error,
>
> Can any one post a example for me to so that i can run it to understand the directives usage or any schedualing example other than that described in c user manual of rtems.
>
The class-examples in CVS provide a couple of nice simple
examples of using these features. Also rtmonuse is a nice
test which shows how to report the period statistics.
We would need RTEMS version information to provide more
help other than point you to examples. From 4.9 on, the
interface for period statistics information was changed
to be more consistent with the rest of the Classic API.
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users
>
--
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherrill 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