Help:Contents

From Zolertia

Jump to: navigation, search

Contents

Help

Technical assistance:

Your questions and suggestions are very important to Us, be a part of the Z1 community and join our | forum
You can also email us at support@zolertia.com

Comercial assistance:

Please contact Us regarding special orders and custom solutions. Email us: info@zolertia.com
Visit our office or contact us by phone: Contact us


FAQ (Frequently asked questions)

General questions

Whis operative system is better: TinyOS or Contiki?

Both operative systems can be used with the Z1 mote, depending of your programming expertise and the intended use one can use TinyOS or Contiki, we cannot explicitly recommend one, but offer you support for either one of them.

Can I use IPv6 with the Z1 mote?

Yes you can, right now is available in both Contiki and TinyOS operative systems.

Can I program the Z1 mote without an OS

Yes, note that after all the MSP430 can be programmed just like any of T.I.'s boards or development kits. That is, with a C compiler like TI's Code Composer Essentials/Studio and a JTAG programmer like TIs JTAG FET USB programmer/debugger. You can see an small example in this guide

How do I know in what port my Z1 mote is connected?

In Linux, and depending of which operative system you use, you can issue the following terminal commands:

  • Contiki: make TARGET=z1 z1-motelist (in the path of a valid Contiki directory, for example /examples/hello-world/)
  • TinyOS: motelist-z1 (at any windows).

If you don't have Contiki or TinyOS, please do:

dmesg | grepttyUSB

Using the result number obtained in ttyUSB, lets say for example ttyUSB0, let's verify serial number match with the one in the label on Z1 backside:

udevadm info -a -p $(udevadm info -q path -n /dev/ttyUSB0) | grep "ATTRS{serial}"

In Windows, you will have to go to either to "devices and printers" menu or Control Panel -> System -> Device Manager -> Ports (COM and LPT) and look for "Silicon Labs CP210x USB to UART Bridge" and its assigned port.

I can't see the mote connected to the PC using motelist in Ubuntu 11.10

It's an Ubuntu bug, install:

sudo apt-get install brltty

Can I attach a bluetooth card in the Z1 motes?

It's possible using the I2C port, but you will have to program the drivers.

I can't compile or see any attached Z1 motes to my ALIX boards

The Voyage 0.6 kernel includes the CP210X drivers that allows communication between the Z1 mote and the ALIX board, other way to achieve this is to install and compile the drivers yourself.


Hardware questions

I cannot program besides the 64KB boundary, but the Z1 mote has 92KB of memory, why?

Unfortunately right now it's not possible to program beyond the 64k in TinyOS. We encountered some unresolved issues with the mspgcc compiler that make this impossible. As soon as the compiler solves this problems there shouldn't be any problems compiling code beyond the 64k limit.

Can I change the built-in antenna of the Z1 mote for an external one?

Sure! you will have to change the C62 capacitor position as indicated in the datasheet). Once the C62 is positioned in the right place, it is as easy as plugging in the U.FL connector + 5dBi SMA antenna and everything should work as expected without any further changes. If you want to avoid soldering yourselve, you can order order this feature for free when you buy a Z1 mote.

I'm getting weird readings from the TMP102 sensor...

Is the micro-usb cable connected? The CP210x chip is located near the TMP102 sensor so when using the USB communication the chip heats and affects the TMP102 readings by adding an additional heat source. This effect does not happens when powering the Z1 mote using the micro-usb.

I'm getting Kernel panic in MAC OSX when plugging off the Z1 mote

Unfortunately the latest CP2102 driver from Silabs is very unstable, we already have reported this to Silabs. We recommend not to use a native installation on MAC OSX but instead use a Virtual Image (UbunTOS or Instant Contiki) which certainly will include the CP2102 drivers, avoiding using the drivers in the host system.


Contiki related questions

The Z1 source code is available in Contiki distribution?

Yes! the new Contiki-2.5-rc1 includes the files and drivers for the Z1 mote as part of the Contiki distribution, now The Z1 mote it's fully supported in Contiki.

I'm unable to compile, when building the msp430F261x is not recognized

The MSP430F2617 MCU uses a higher version of gcc compiler, in order to compile you will need to install/update to the mspgcc 4.x version. Instructions are available here

TinyOS related questions

The Z1 source code is available in TinyOS distribution?

Not at the moment, after the TinyOS installation, you will need to to install the necessary files to make the Z1 mote work with TinyOS, the process is very simple and straightforward as described [Mainpage:TOS | here].

Can I use Eclipse?

Yes of course, please visit this link and see how its done.

Can I connect the Z1 mote to Pachube?

Yes Indeed! refer to our guide and follow this example to see how its done.

But I only have 1 Z1 mote, how can I do it?

You will have to modify the Basestation code as you will need to add the sense/send functionality.

I get compilation errors when using nx_float structure

This problem was corrected in the latest Z1 files in the repository, please update.

I'm getting funny characters when reading the serial port

This is due to the DCO calibration and sync, a patch to the clock module is included in the latest Z1 file (ver.17) in the repository, please update.

Cannot compile the Low Power Sensing example at /apps/tutorials/ platform Z1 is not recognized

We missed to add an "defined (PLATFORM_Z1)" in LowPowerSensingBaseAppC, this was corrected in the latest Z1 file in our repository (ver.17), please update or correct it yourself.

Cannot compile /apps/BaseStation15.4/, got a "missing libmote.a file" error

First you have to generate that file, in /support/sdk/c/sf please do:

./Bootstrap
./configure
make
Personal tools
Navigation
MansOS Support
General guides and apps
Assistance