Developing a tiny or a fraction of an operating system for my micro-Controller

Discussion in 'Programmer's Corner' started by dor, Nov 26, 2009.

  1. dor

    Thread Starter Active Member

    Feb 20, 2009
    62
    0
    I wish to develop a very small operating system; maybe just the context-switching mechanism would be enough for my needs.

    Main reason is curiosity, not an actual need.

    I've found the FreeRTOS operating system for my AT91SAM7X device (ARM7TDMI processor within), but although it has only three files for it's kernel, I find it too complicated to learn from and understand. (don't even know where to start)


    Any suggestions for a fast-learner-newbie about how to learn to develop a tiny operating system?

    I appreciate your time & effort.

    Best regards,
    Dor.
     
  2. beenthere

    Retired Moderator

    Apr 20, 2004
    15,815
    282
    I am not sure there is any rule as to what constitutes an operating system. I n years past, something that let you load a block of tape or dump a portion of core memory to a teletype was pretty good.

    Just decide what function/s are useful and write some code to run at boot.
     
  3. BMorse

    Senior Member

    Sep 26, 2009
    2,675
    234
  4. t06afre

    AAC Fanatic!

    May 11, 2009
    5,939
    1,222
    I would say every time you program a uC to do a specific task. You have given that system an OS
     
  5. jp0304

    New Member

    Mar 11, 2009
    7
    0
    hi,
    look at the avrdos from bascom
    jp
     
  6. ftsolutions

    Active Member

    Nov 21, 2009
    48
    2
    +1 on getting the uCOS/II (Jean Labrosse) book - it will teach you alot and provides a fairly basic, but effective task scheduling kernel. It has been the start of many successful project/developments in cubicle-land.
     
Loading...