Make sure you have set your MOTECOM environment variable correctly. If you are programming on ttyS0 and using a MIB520 it may be that you need to use ttyS1 to communicate. Search for MOTECOM for info. MS
Mazid H Chowdhury wrote: > Hello All, > > I was trying to read raw data using my pre-programmed motes by > following the tutorial 'Mote-PC serial communication and > SerialForwarder'. > > I need to read data received and sent from the base station. All the > time I issue the command - java net.tinyos.tools.Listen -comm > serial@/dev/ttyS0:micaz, > I get just a line stating - resynchronizing. Nothing shows-up after that. > > So now I think I should try for some Serial reader in C/C++ so that I > can read the port and create some text file as output. If anybody has > any idea on the whole > thing or any example code on how to do that, it would be a great help for now! > > By the way - I am using WindowsXP, VMWare and XUbuntos. > > and I have flashed my motes using - /dev/ttyS0 port. > > Thank you. > > MazidH > _______________________________________________ > 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
