Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Operating System on 8051 uC

Status
Not open for further replies.

electroRF

Member
Hi,
I've used to work with 8051 uC of TI.
I had Zigbee Stack on it, and I wrote my own application code (in main) and Low-Level code.

I see in many places where developers state that they are using a certain Operating System on their uC, e.g. VxWorks.

I actually had no idea what kind of operating system i had.

How can I tell?

I googled TI's Zigbee Stack and TI's 8051uC but got no operating system.

Thank you.
 
Hi Ian,
Thank you :)

The 8051 uC I worked with was CC2430 of TI, using IAR IDE.

I read the two links provided, but I still don't manage to figure out which operation system ran on the CC2430 uC
 
Hi 3V and Ian.
Thank you.

Why does one need RTOS?

When I write my main Application, I for example wrote state machine in the I2C ISR, and the main is free to do whatever it needs to.

So, why would I need RTOS if I can write my own code?
 
If you can do what you need without any RTOS, then just keep it like that...

I have worked with RTOS before (because i had no other choice), and IMHO, on most small & medium sized MCUs, it does not make sense.

RTOS are supposed to help you dissociate the HAL (Hardware abstraction layer) from your application layer, and make it portable from any device to another. The principle is good, but in this process, you very often loose a big amount of processing power... so, if you want optimized code, don't use RTOS!
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top