1. 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.
    Dismiss Notice

Operating System on 8051 uC

Discussion in '8051/8951' started by electroRF, Oct 31, 2013.

  1. electroRF

    electroRF Member

    Joined:
    Jun 23, 2012
    Messages:
    689
    Likes:
    9
    Location:
    Portugal
    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.
     
  2. Ian Rogers

    Ian Rogers Super Moderator Most Helpful Member

    Joined:
    Mar 28, 2011
    Messages:
    9,306
    Likes:
    914
    Location:
    Rochdale UK
  3. electroRF

    electroRF Member

    Joined:
    Jun 23, 2012
    Messages:
    689
    Likes:
    9
    Location:
    Portugal
    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
     
  4. dave

    Dave New Member

    Joined:
    Jan 12, 1997
    Messages:
    -
    Likes:
    0


     
  5. Ian Rogers

    Ian Rogers Super Moderator Most Helpful Member

    Joined:
    Mar 28, 2011
    Messages:
    9,306
    Likes:
    914
    Location:
    Rochdale UK

    I'm not overly conversant with TI stuff However!!! I have used XRF modules from Ciseco http://www.ciseco.co.uk

    These are based on a TI 8051 uC...
     
  6. 3v0

    3v0 Coop Build Coordinator Forum Supporter

    Joined:
    Jul 14, 2006
    Messages:
    9,404
    Likes:
    227
    Location:
    OKLAHOMA USA
    Most people and applications do not need an OS on micro controllers.

    The Zigbee stacks may have some OS like features but I would not call them a general purpose OS. They are tuned to make the mesh net go.
     
  7. electroRF

    electroRF Member

    Joined:
    Jun 23, 2012
    Messages:
    689
    Likes:
    9
    Location:
    Portugal
    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?
     
  8. ikalogic

    ikalogic Member

    Joined:
    Dec 27, 2003
    Messages:
    834
    Likes:
    14
    Location:
    Limoges, France
    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!
     

Share This Page