I'm new to TinyOS and I'm having problems getting SerialForwarder,
Oscilloscope, Listen, and ListenRaw to work with TinyOS-2.
SerialForwarder does not show any packets being read and Listen and
ListenRaw do not output anything.
I'm using Windows XP and Cygwin, Mica2, MIB510.
I can compile and install the Oscilloscope app onto the motes. The green
and yellow leds blink indicating sending and receiving, and the red led
doesn't blink.
The programming board switch (SW1) is off.
In the Makefile in apps/Oscilloscope directory I added: SENSORBOARD=micasb
When I run Listen I set [EMAIL PROTECTED]
Output from java net.tinyos.tools.Listen:
[EMAIL PROTECTED]:57600: resynchronising
Output from java net.tinyos.tools.ListenRaw -mica2 COM6:
Opening port COM6
baud rate: 57600
data bits: 8
stop bits: 0
parity: false
The only things that look weird are:
When I did a 'make clean' and 'make' from the
/opt/tinyos-2.x/support/sdk/java directory I got the error:
make[4]: Entering directory
`/opt/tinyos-2.x/support/sdk/java/net/tinyos/message/avrmote'
... /opt/tinyos-2.x/support/sdk/java/net/tinyos/message/avrmote
mig java -target=mica2
-java-classname=net.tinyos.message.avrmote.SerialAMPacket
/opt/tinyos-2.x/tos/lib/serial/Serial.h serial_packet -o S
erialAMPacket.java
warning: Cannot determine AM type for serial_packet
(Looking for definition of AM_SERIAL_PACKET)
...And the rest of compilation continued as normal. If this is a problem
how do I fix it?
I am also wondering why my ListenRaw output is 0 for the number of stop
bits? And does it matter? In ListenRaw.java 1 is hard-coded as the
number of stop bits, and the TinyOS-1 tutorial also lists 1.
I'd appreciate any help.
Thanks,
-Emma
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help