EmbeddedRelated.com
Forums
Memfault Beyond the Launch

OS for 8 bits processor

Started by Ulf Reiman August 31, 2005
On 31 Aug 2005 02:08:51 -0700, "Ulf Reiman" <ulf.reiman@gmail.com>
wrote:

>Hi! >I am looking for a free Operation system that can be used for 8-bits >CPU, AVR; I am using a card with Atmega 128 and CC2420. I will >implement the IEEE 802.4.15 protocol stack but a need an OS that can >take care of the stack. I have look on the Contiki by Adam Dunkel but >is fully integrated with his TCP/IP stack so a need something else. >Does anyone have some suggestions?
You might use Liquorice: http://liquorice.sourceforge.net/ It has not been updated for a while, but looks nice enough. Tom
In article <1125489737.745562.291960@z14g2000cwz.googlegroups.com>,
 "Chuck" <chuckb@cmx.com> wrote:

> CMX Systems has both a RTOS and stack for the AVR family. > www.cmx.com
Ulf was asking for a free version. CMX has free non-trial versions of their products?
In article <1125479330.965281.26840@z14g2000cwz.googlegroups.com>,
 "Ulf Reiman" <ulf.reiman@gmail.com> wrote:

> Hi! > I am looking for a free Operation system that can be used for 8-bits > CPU, AVR; I am using a card with Atmega 128 and CC2420. I will > implement the IEEE 802.4.15 protocol stack but a need an OS that can > take care of the stack. I have look on the Contiki by Adam Dunkel but > is fully integrated with his TCP/IP stack so a need something else. > Does anyone have some suggestions?
I don't understand your desire for an OS. First thing many embedded newbies think they need is an OS. After all, their PC is useless without an OS so they expect to need one on their embedded chip. Do you want a framework which has 802.4.15? Or are you creating the 802.4.15 yourself and desire an OS? Every Chipcon reference implementation I've looked at was AVR based. Go dig for Chipcon's free reference designs and see if their code is suitable.
An RTOS would really simplify the software architecture for
appliactions involving networking stacks.

Try FreeRTOS (FreeRTOS.org), it is very easy to use and you can embed
it to your commercial product at no cost (pleae check the license
first).

I just started to implement an 802.4.25 stack using the MC13192
transceiver from Freescale. The host MCU is an 8-bit MC9S08GT60. The
RTOS runs beautiful at 64Mhz. So far I am eating like 2K of flash just
for the RTOS and 654 Bytes of RAM (including RXTX buffers for the
frames).

David Kelly wrote:
> In article <1125479330.965281.26840@z14g2000cwz.googlegroups.com>, > "Ulf Reiman" <ulf.reiman@gmail.com> wrote: > > > Hi! > > I am looking for a free Operation system that can be used for 8-bits > > CPU, AVR; I am using a card with Atmega 128 and CC2420. I will > > implement the IEEE 802.4.15 protocol stack but a need an OS that can > > take care of the stack. I have look on the Contiki by Adam Dunkel but > > is fully integrated with his TCP/IP stack so a need something else. > > Does anyone have some suggestions? > > I don't understand your desire for an OS. First thing many embedded > newbies think they need is an OS. After all, their PC is useless without > an OS so they expect to need one on their embedded chip. > > Do you want a framework which has 802.4.15? Or are you creating the > 802.4.15 yourself and desire an OS? > > Every Chipcon reference implementation I've looked at was AVR based. Go > dig for Chipcon's free reference designs and see if their code is > suitable.
rTrenado wrote:
> An RTOS would really simplify the software architecture for > appliactions involving networking stacks.
Why do you think so? I've been using networking stacks on machines without real-time operating systems for the better part of 20 years. Having multiple threads of execution is great, but an RTOS is a lot more than just a task scheduler. Kelly
I am creating the 802.4.15 from scratch together with some people. Do
you have any link to source code for some availably stack I would be
very happy?

What is your suggestion of using OS or not, a mean the stack must have
multiple threads of execution so a need a task scheduler and more. It
is possibly to build one by our own, but I hope someone has already
done it. Have you a link to something?

Where can i find free Chipcon refence design code, a have search in
chpcons website and did not findt any?

/Ulf Reiman



/Ulf Reiman

On 2 Sep 2005 00:33:39 -0700, "Ulf Reiman" <ulf.reiman@gmail.com>
wrote:

<snip>
>Where can i find free Chipcon refence design code, a have search in >chpcons website and did not findt any?
Go to http://www.chipcon.com , choose Download on left menu, click CC2420 in the white pane, and click "Choose category". Scroll down to see downloadable files. Tom
Ulf Reiman wrote:

> I am creating the 802.4.15 from scratch together with some people. Do > you have any link to source code for some availably stack I would be > very happy? > > What is your suggestion of using OS or not, a mean the stack must have > multiple threads of execution
Are you sure it must? Ian
Ian Bell skrev:

> Ulf Reiman wrote: > > > I am creating the 802.4.15 from scratch together with some people. Do > > you have any link to source code for some availably stack I would be > > very happy? > > > > What is your suggestion of using OS or not, a mean the stack must have > > multiple threads of execution > > Are you sure it must? > > Ian
I dont now,may it not go faster if i do like that. Do you think it better to have just a queue to put in the things to do? /Ulf
Ian Bell skrev:

> Ulf Reiman wrote: > > > I am creating the 802.4.15 from scratch together with some people. Do > > you have any link to source code for some availably stack I would be > > very happy? > > > > What is your suggestion of using OS or not, a mean the stack must have > > multiple threads of execution > > Are you sure it must? > > Ian
I dont now,may it not go faster if i do like that. Do you think it better to have just a queue to put in the things to do? /Ulf

Memfault Beyond the Launch