On Wed, Feb 09, 2011 at 03:12:03PM +0100, Wolf-Bastian Pöttner wrote:
> Hi!
> 
> 
> While think about how to add support for the RZUSBSticks, an idea came to my 
> mind. Porting the firmware for the serial protocol to different hardware 
> platforms and radios is troublesome. What about using an operating system 
> such as Contiki as adaptation layer? Implementing the serial protocol in 
> Contiki should be easy and then using Contikis abstraction of the different 
> radio chips should bring in a variety of new hardware platforms.
> 
> Has work in this direction been done before? What do you think?
> 
> 
> Bastian

My first implementation of the serial interface for the mc13224v was
written in Contiki.

I decided that implementing the serial protocol side is trivial and
Contiki adds too much complexity.

You can see my code here:

     http://git.devl.org/?p=malvira/linux802154-serialdev.git;a=blob;f=linux.c

It's only 250 lines or so and very simple. 

The hard part about supporting new hardware platforms is dealing with
the hardware: the radio, the UART, or doing USB->serial in the case of
a chip that has USB builtin. Contiki doesn't help much with this.

-Mar.



------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Linux-zigbee-devel mailing list
Linux-zigbee-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel

Reply via email to