avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [avr-gcc-list] multi-tasking source for education?


From: Gordo R.
Subject: RE: [avr-gcc-list] multi-tasking source for education?
Date: Wed, 28 Apr 2004 12:03:20 -0700

From an educational point of view, designing a FSM application is probably
the better choice since it'll force the students to think about the timing and sequencing of various tasks. Plus they'll learn from all their mistakes.

But if you just want to write and run multi-tasking applications, Larry's AvrX is a fine choice. It does assume you're familiar with the use of semaphores, timers, etc., but it also makes the application code a lot simpler and lets you get up and running faster.


From: "Larry Barello" <<a href="mailto:address@hidden";>address@hidden</a>> To: "AVR GCC List" <<a href="mailto:address@hidden";>address@hidden</a>>
Subject: RE: [avr-gcc-list] multi-tasking source for education?
Date: Wed, 28 Apr 2004 08:19:48 -0700

I think your requirements are at odds with each other.  Multi-tasking is
complex by nature.  You can demonstrate cooperative multi-tasking by
teaching FSM (finite state machines) and having a main loop that calls
various FSM tasks based upon flags (semaphores) or queue entries.

I have a "free" RTOS, but not very user friendly, although it comes with a
bunch of samples and test programs showing how to use it.
www.barello.net/avrx - but get the latest binaries from
www.yahoogroups.com/group/avrx

You can also check out www.avrfreaks.net for other pseudo and real
multi-tasking kernels.  I consider the FSM technique pseudo since the tasks
are not pre-emptable.  That said, pseudo works great for most applications
and is my method of choice for small projects (<5k lines, 4-5 independent
tasks).  I use avrx for stuff that need guaranteed execution time (e.g.
sampling inputs for DSP) or large tasks that wait for user input (e.g. UI)
while doing lots of stuff in the background.

Cheers!

-----Original Message-----
From: <a href="mailto:address@hidden";>address@hidden</a> [<a href="mailto:address@hidden";>mailto:address@hidden</a>]On Behalf Of Jacob Verschoor
Sent: Wednesday, April 28, 2004 7:32 AM
To: <a href="mailto:address@hidden";>address@hidden</a>
Subject: Re: [avr-gcc-list] multi-tasking source for education?


I mean a multi-tasking kernel for the ATMega8.
I mean by user friendly interface software that can be simple used and
integrated without a long learn proces.
Excuse me for my bad english, and I'am not exactly know what I ask. A
colleague ask it to me, and I ask it to the list.

Thanks

_________________________________________________________________
Get rid of annoying pop-up ads with the new MSN Toolbar – FREE! http://toolbar.msn.com/go/onm00200414ave/direct/01/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]