Shared UART/CC2420 access for the msp430 (TinyOS)

I’m proud to annunce the first, still totally untested, version of the DispatcherC component, currently hosted on the mercurial repository (http://freehg.org/u/dacav/tiny_cynar_dispatcher/ ).

The component provides:

A protocol for nxt commands encoding
A modularized code that allows the programmer to access both the cc2420 radio and the uart

First working release

Finally it works!
After some days of hard work, finally we have got a working device driver for
the rs485 serial interface! It has been some kind of painful experience …
However here there’s a summary description of the performed work:

Other operating systems for Mindstorms

In these days I’ve tried an alternative operating system for the Lego NXT called NXOS. The link of NXOS webpage has been put into my blogroll.
The operating system seems not to be a RTOS, but I like how it’s structured and managed. Here follow a brief overview of my very early experience with that system:

3rd Week results: a new parser scaffold

As the oil parser’s source code is not free software, my new objective is to get an unfettered one.
The OSEK Specification (the website is linked on my blogroll) provides all information necessary to write a parser for OIL, so I’ve started to write a new parser in order to replace the deadly SG.exe.

2nd Week results

Now it’s time for me to summarize what I learned in these days:
The compiling procedure:
As the Lejos OSEK name suggests, a configuration requires to be implemented by using the OSEK Implementation Language, hence the compiling procedure must run through the parsing of some code written in OIL. In this particular case a windows executable named [...]

Uploading tools: it should work

I’ve put my hands inside the “old” lejos nxj code: the source tree provides even two version of the uploading software runc (the same runc.exe that I mentioned in my previous post) and fwflash. As runc is “based on fwflash”, it’s supposed to be enhanced…

1st Week Results

Today some important steps have been done. This article refers to the following configuration:

lejos osek version: 1.09
binutils version: 2.17
gcc version: 4.1.1
newlib version: 1.16.0