This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

RTOS

hello,

i am looking for an RTOS to use with my application for the 89V51RD2 microcontroller.

it is a basic application for reading GPS data and then sending it to a GSM based cell phone. in addition to this i will also include additional features which can be input using a keyboard. also i will continuously display the data on an LCD screen.

it seems to me that it could be done without an RTOS but nevertheless i would like to do it using an RTOS since i would consider this my entry point in the RTOS world.

Could you please recommend me any RTOS? i have searched the internet for some RTOS but i could not compare them and hence cannot decide which one to use.

Thanks in advance!

  • Just a note here - it wouldn't be representative to learn the use of an RTOS on your selected processor. The 8051 is very C-hostile which means it is very hard to generate code for it. And the lack of a big and general-purpose stack and multiple general-purpose index registers means that it isn't possible to implement an RTOS using normal software standards.

    That there exists RTOS for the 8051 is more a question of people expecting one to exist - the majority of real products using a 8051 is made with interrupt handlers and super-loops to take care of the "time slicing" needed.

    You really should consider looking into one of all the very cheap ARM-based development boards for this task. You'll learn more about modern embedded programming and you get to use an RTOS that will behave as any books about RTOS describes them to function. And for a quite small amount of money. And you can at the same time get a number of advantages when debugging if you select your development board with some care.

  • Yes, it certainly could.

    In fact, I would venture to suggest that the majority of such applications do just that - especially on an 8051!

    "i would consider this my entry point in the RTOS world"

    As Per says, the 8051 really isn't representative for this.

    "Could you please recommend me any RTOS?"

    No. For an 8051, I would recommend that you do not use an RTOS.

    As Per says, if you want to get into RTOS work, choose one of the many readily-available low-cost ARM Cortex-Mx boards.

    Which RTOS you use probably doesn't matter - just look for a board which comes with a ready-to-use RTOS example (or examples).

    Having said that, FreeRTOS seems quite widely used on such boards...

  • thanks for your reply. however currently my requirement is that i use a 89V51RD2 microcontroller so that i dont exceed the cost. i will look into the ARM contoller in the future. thanks for your suggestions anyway.

  • thanks for your reply. actually getting into an RTOS isnt my primary requirement right now. i just thought it would be a good idea to use an RTOS to accomplish what i was trying to do. for now i will try to do it without an RTOS. thanks for your inputs!