Rate Monotonic Tasks

Nick Withers nick.withers at anu.edu.au
Mon Nov 18 02:19:27 UTC 2013


On Mon, 2013-11-18 at 03:09 +0100, sarraciro wrote:
> Hi, 
> I'm trying to modify the example called classic_api triple_period.  
> 
> Can I create and run in the same time 2 Rate Monotonic Tasks?

I believe so, yes.

> If I try to duplicate the Task2 (the handler for
> Rate_Monotonic_Period_Task) of the triple_period example.. changing
> name, priority and deadline the task that is called for second stucks
> with  this error:
> 	RM failed with status: 5
> 
> Where in documentation are defined the errors in numeric form?
> Anyone have idea of my error?

Check out (for Git master):
http://www.rtems.org/onlinedocs/doxygen/cpukit/html/group__ClassicStatus.html

You're out of resources (CONFIGURE_MAXIMUM_TASKS?).

> PS: the platform in which I debug is STM32F4-Discovery.
> 
> Thanks
> 
> Regards
> 
> --
> RC
> Il giorno dom, 17/11/2013 alle 14.24 -0500, Gedare Bloom ha scritto:
> > Congrats :)
> > 
> > On Sun, Nov 17, 2013 at 6:20 AM, sarraciro <sarraciro at yahoo.it> wrote:
> > > Hi,
> > > Cheers?... for this type of nonsense?? ... I look a little too
> > > much ! :) .. :D .. ;) !
> > > My board, in this moment, is an ST-board (an STM32F4-Discovery...  we
> > > also the new kit with LCD on board (the STM32F429I-Disco).  But the
> > > purpose is move on our board with the same class of processor.
> > >
> > > For Makefile I made a classic-way version in which I can:
> > > - define a system.h with RTEMS configuration macros;
> > > - define hardware macros for describe the hardware;
> > > - include files that contains function and prototypes (but for now in
> > > the same build-directory);
> > > - shrink the built firmware to fit in the flash memory (reduce the size
> > > of built exe);
> > > - clean all built objects;
> > >
> > > In this moment I suspended the packaging with Autotool
> > > (./configure,make)... because I worked to a rudimental-gpio-driver ...
> > > (achieved last night... with  success...but with a warning)... and other
> > > projects.
> > >
> > > When I can drive all processor resources I want try again to port the
> > > Makefile in Autotool version... in particular way I'm interested to
> > > deep-packaging (with subdirs for hw-libs, header and sources) and not
> > > shallow-packaging.
> > >
> > > --
> > > Regards
> > > RC  (popovich)
> > >
> > >
> > > Il giorno dom, 17/11/2013 alle 11.35 +0100, emanuel stiebler ha scritto:
> > >> On 2013-11-03 03:03, sarraciro wrote:
> > >> > Hi guys,
> > >> > I have ported the template that I wanted ! :) !
> > >> > I had included also a (very) rudimental driver for flash the LEDs of
> > >> > STM32F4-Discovery..
> > >> > There are some warning (one I presume.. but it appear several time ..
> > >> > casting warning..) .. I'll try to fix it tomorrow...
> > >> > Thank again for support ... night!
> > >> >
> > >> > --
> > >> > RC
> > >>
> > >> Hi RC,
> > >> did you use a board from the market, or did you use your own?
> > >> I'm just getting my own stm32f4 board in few days, so was enjoying
> > >> reading about your success ;-)
> > >>
> > >> Did you continue to work on it?
> > >>
> > >> Cheers,
> > >> emanuel
-- 
Nick Withers

Embedded Systems Programmer
Room 2.26, Building 57
Department of Nuclear Physics
Research School of Physics and Engineering
The Australian National University (CRICOS: 00120C)

eMail: nick.withers at anu.edu.au
Phone: +61 2 6125 2091
Mobile: +61 414 397 446





More information about the users mailing list