Doesn't work for me! I get the same error.

2009/9/30 Zé Pedro Espogeira <[email protected]>

>  Hi Ricardo
> i have the same problem in that TestSerial lesson !
>
> evethough i have that problem i get some connection with the mote by doing
> this:
>
> $make telosb reinstall .... (to install TestSerial in the mote)
>
> $java net.tinyos.tools.listen -comm serial@<port>
> and then i start to read, what i think its the message sent by the mote to
> <port>
> its something like this
>
> serial@/dev/ttyUSB0:115200: resynchronising
> 00 FF FF 00 00 02 00 89 04 5A
> 00 FF FF 00 00 02 00 89 04 5B
> ...
>
> can anyone please commentate this results?
>
> thanks!
>
>
> ------------------------------
> Date: Wed, 30 Sep 2009 14:12:26 +0100
> From: [email protected]
> To: [email protected]
> Subject: [Tinyos-help] TestSerial Strange Error
>
> Hello everyone,
>
> I'm going to start programming in tinyos, and I am now interested in
> knowing how to debug this kind of devices.
> I am working with the "ICradio stick 2.4", and I'm trying to run the
> application TestSerial.
>
> I can compile and flash .hex the mote, but when I try to run the java
> application gives me an error NullPointerException.
>
> I am working with the cygwin and tinyos-2.0.2-2. I am running the
> application with the command $java TestSerial -comm COM3. I confirmed that
> the mote is connected to COM3.
>
> $ java TestSerial -comm ser...@com3
> Exception in thread "main" java.lang.NullPointerException
> at java.util.Hashtable.get(Unknown Source)
> at net.tinyos.packet.Platform.get(Platform.java:23)
> at net.tinyos.packet.BuildSource.decodeBaudrate(BuildSource.java:201)
> at net.tinyos.packet.BuildSource.makeArgsSerial(BuildSource.java:227)
> at net.tinyos.packet.BuildSource.makePacketSource(BuildSource.java:138)
> at net.tinyos.packet.BuildSource.makePhoenix(BuildSource.java:87)
> at TestSerial.main(TestSerial.java:97)
>
>
> Does anyone know the cause of the problem and/or how to solve it?
>
> Thank you very much,
>
> ------------------------------
> Instale o novo Internet Explorer 8 otimizado para o MSN. Download 
> aqui<http://ie8.msn.com/microsoft/internet-explorer-8/pt-br/ie8.aspx>
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to