FIRST!!!
1. Erase the memory:
$ uisp -dprog=mib510 -dpart=ATmega128 -dserial=/dev/ttyUSB0 --erase
You must use mib510 for mib510 and mib520 XBow cards
ATmega128 is for MICAZ mote
/dev/ttyUSB0 is the writing port (it's the 1st of two available ports) - you must count with write/read permission
2. compiling & uploading the program
make micaz install,0 mib510,/dev/ttyUSB0
mercredi 28 janvier 2009
Installing TinyOS 1.x
There are numerous collaboration works using TOS 1.x.
The following configuration steps are recommended in order to have a update version of TinyOS 1.1 (updated libraries and all capabilities for programming MICAZ motes).
To install the TinyOS CVS tree from sourceforge, assuming you have already
installed the TinyOS 1.1 distribution, do the following:
1. Backup your previous tinyos1.1 directory (if not, do nothing)
2. $ rpm -e tinyos
3. Check tinyos out from the sourceforge CVS repository:
$ cvs -d:pserver:anonymous@tinyos.cvs.sourceforge.net:/cvsroot/tinyos login
(you must ENTER when the password is demanded)
$cvs -z3 -d:pserver:anonymous@tinyos.cvs.sourceforge.net:/cvsroot/tinyos co tinyos-1.x
4. Don't forget to change the permission of tinyos-1.x directory:
sudo chmod -R g+rw tinyos-1.x/
5.- For compiling and installing the tinyOS 1.1 tools:
$cd $TOSROOT
$make
$sudo make install
6. As usual, compile the java code:
cd $TOSROOT/tools/java
make
The following configuration steps are recommended in order to have a update version of TinyOS 1.1 (updated libraries and all capabilities for programming MICAZ motes).
To install the TinyOS CVS tree from sourceforge, assuming you have already
installed the TinyOS 1.1 distribution, do the following:
1. Backup your previous tinyos1.1 directory (if not, do nothing)
2. $ rpm -e tinyos
3. Check tinyos out from the sourceforge CVS repository:
$ cvs -d:pserver:anonymous@tinyos.cvs.sourceforge.net:/cvsroot/tinyos login
(you must ENTER when the password is demanded)
$cvs -z3 -d:pserver:anonymous@tinyos.cvs.sourceforge.net:/cvsroot/tinyos co tinyos-1.x
4. Don't forget to change the permission of tinyos-1.x directory:
sudo chmod -R g+rw tinyos-1.x/
5.- For compiling and installing the tinyOS 1.1 tools:
$cd $TOSROOT
$make
$sudo make install
6. As usual, compile the java code:
cd $TOSROOT/tools/java
make
Inscription à :
Articles (Atom)