Hi again, 

i did that 

but java TestSerial still gives the same output

however, typing "java net.tinyos.tools.Listen -comm serial@/dev/ttyUSB0:telos"

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 
00 FF FF 00 00 02 00 89 04 5C 
00 FF FF 00 00 02 00 89 04 5D 
00 FF FF 00 00 02 00 89 04 5E 
00 FF FF 00 00 02 00 89 04 5F 
00 FF FF 00 00 02 00 89 04 60 
00 FF FF 00 00 02 00 89 04 61 
...and goes on.

Do you know why this happens?
Does this means that i dont have TinyOs properly installed?

thank you!

Date: Tue, 29 Sep 2009 12:47:26 -0500
Subject: Re: [Tinyos-help] Lesson 4 - Mote-PC serial communication and  
SerialForwarder
From: [email protected]
To: [email protected]

hi,

check the environment variables in the bash file.

check if you included  this line

export motecom=ser...@comx:115200 where x is the COM port number of ur USB.



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






Hi to all 
im newbie in Ubuntu and TinyOs (dangerous combination!)
and im following the tinyos tutorials, with everything working great until now

When starting lesson 4 i typed "java TestSerial" and i got this output:


Exception in thread "main" java.lang.NoClassDefFoundError: TestSerial
Caused by: java.lang.ClassNotFoundException: TestSerial
    at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
    at java.security.AccessController.doPrivileged(Native Method)

    at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:268)

    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
Could not find the main class: TestSerial. Program will exit.

Im realy not understanding why this shows!
When echoing $CLASSPATH i get 

/opt/tinyos-2.1.0/support/sdk/java/tinyos.jar

so i assume its correct
but when echoing $MOTECOM
i get nothing!

Is this the reason so i can do "java TestSerial"??

Thansk for your attention in advace!


Ze Pedro 
                                          
Novo Internet Explorer 8: mais rápido e muito mais seguro. Baixe agora, é 
grátis!


_______________________________________________

Tinyos-help mailing list

[email protected]

https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

                                          
_________________________________________________________________
Novo Internet Explorer 8. Baixe agora, é grátis!
http://brasil.microsoft.com.br/IE8/mergulhe/?utm_source=MSN%3BHotmail&utm_medium=Tagline&utm_campaign=IE8
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to