Home    Bloggers    Messages    Resources
Tw  |  Fb  |  In  |  Rss
Comments
Newest First   Oldest First   Threaded View
raul
raul
11/30/2012 2:05:24 PM
User Rank
Program Manager
Re: Writing your own OS
jkvasan, what a coincidence, I have that book too! Thanks for the reference anyway, another great book from another great author.

50%
50%
jkvasan
jkvasan
11/29/2012 7:45:25 PM
User Rank
Blogger
Re: Writing your own OS
Embedded system building blocks is a beauty from Jean Labrosse. Contains practical C code examples which are generic and convertible to any level. It is a honour to own this book.

50%
50%
raul
raul
11/29/2012 3:39:16 PM
User Rank
Program Manager
Re: Writing your own OS
jkvasan. I agree with you. I didn't see much about that type of concepts (Time-triggered architectures for multiprocessor systems, shared clock schedulers, etc.) in other books about embedded systems. Do you know other books approaching similar concepts? If you can share additional references it'll be much appreciated.

I think the book has some good material even for experienced people and at the same time it seems to be a good book to begin teaching about embedded systems C programming, don't you think?

50%
50%
jkvasan
jkvasan
11/29/2012 11:11:30 AM
User Rank
Blogger
Re: Writing your own OS
Raul

PTTES is a class of its own. It has helped me several times when I had some problems. Very thorough explanations of concepts. Particularly I liked the treatment on Multi-processor architecture time triggering.

Every time I read this book, I get fresh insights into already understood concepts.

A must read for any embedder.

50%
50%
raul
raul
11/29/2012 9:47:56 AM
User Rank
Program Manager
Re: Writing your own OS
jkvasan, thank you for your advance wishes! If some day I manage to succeed, perhaps I could blog about it here!

Thanks for the reference too, although I already read "Embedded C" by Michael Pont; as a matter of fact, this book lead me to another good book by the same author: "Patterns for Time-Triggered Embedded Systems" of which I recently shared some thougths in this other post.

Have you read that book too? If so, what do you think about it?


50%
50%
jkvasan
jkvasan
11/29/2012 9:01:46 AM
User Rank
Blogger
Re: Writing your own OS
Raul,

Advance wishes for your own simplistic RTOS.

I would suggest you to read "Embedded C" by Michael Pont. A simple operating system called SEOS is nicely described.

Some real world examples are given. Very nice read.

50%
50%
raul
raul
11/29/2012 8:11:35 AM
User Rank
Program Manager
Re: Writing your own OS
Rich, I agree with you, the use of an OS (or an RTOS for that matter) it's not the right solution for all cases, although for some aplications it could be the only right choice.

I mostly use Finite State Machines in combination with a background/foreground (loop with interrupts) scheme, or some times very simple schedulers when using 8-bit or 16-bit microcontrollers or even 32-bit. I tried FreeRTOS in some ARM Cortex microcontrollers, but I prefer most of the time simplicity and efficiency when ever possible.

Nevertheless, I've always been interested in OS theory and design and from time to time I try to read some literature on the topic. I've been studying some code from source available RTOSes and the UNIX/Linux kernel too. I have a goal to some day write my own RTOS (a really simple one), but just for fun and as a learning exercise, although I realize that isn't going to happen any time soon!

50%
50%
Rich Quinnell
Rich Quinnell
11/28/2012 7:23:41 PM
User Rank
Blogger
Re: Writing your own OS
raul, some might say that an operating system is only a fancy term for a program that acts as a framework for running other programs. It is a good way of abstracting some of the hardware from the applications code and providing single routines for handling common tasks, but it comes at the penalty of overhead and issues surrounding resource contention, locking, priority inversion, and the like. A truly pre-emptive multitasking OS is not an easy thing to do well.

I'll ask our bloggers if anyone feels they can write about OS creation and see if any agree.

50%
50%
raul
raul
11/28/2012 6:52:38 AM
User Rank
Program Manager
Writing your own OS
Recently I've been interested on how the Linux kernel works and how to boot programs on bare metal, mostly ARM and MIPS but x86 too, and I found this site: http://wiki.osdev.org tha has more than 400 articles about OS creation.

Very informative if you want to learn the basics about how an OS loads and works on the hardware, and perhaps, if you are really determined, write your own OS!

Here's another tutorial about Rolling your own toy UNIX-clone OS, and here's another about baking your own (very basic) OS for Raspberry Pi.

More resources about OS creation, loading code on bare-metal and other topics alike are gladly welcome!

50%
50%


latest blogs
Three MCU product families have appeared or expanded in the last two weeks, highlighting common trends in MCU evolution.
If designers aren't careful, their intelligent systems will sometimes do stupid things.
The medical device industry is finally catching up to other industries in terms of software safety standards, but at what cost?
If you're using a graphical LCD as a user interface, you'll want to create graphics. Here are some tips.
This Friday's chat about NFC will brainstorm on its uses beyond secure financial transactions.
flash poll
MC on twitter
like us on facebook
Microcontroller Central    About Us     Contact Us     Help     Register     Twitter     Facebook     RSS