Hello Kavitha, Since you don't have actual Motes to work with, you can't use serial forwarder like this. You are trying to connect it to com1 serial port of your computer and it won't work because there is no Mote connected to your serial port.
In the absence of hardware, you have to use the TOSSIM simulator. Run any application like oscilloscope applicaion in TOSSIM and then use the following command to invoke serial forwarder: java net.tinyos.sf.SerialForwarder -comm tossim-serial This will try to fetch data packets from the simulated serial port by TOSSIM. You will be able to see the "Read Packets" counter in the lower right corner of serialforwarder incrementing. Let me know if this helps, otherwise I will tell you whole procedure to work with. Vishal On Sun, Apr 26, 2009 at 1:08 PM, < [email protected]> wrote: > Send Tinyos-help mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Tinyos-help digest..." > > > Today's Topics: > > 1. Java Simulation (kavitha lakshmanan) > 2. Tr : Problem with make telosb (Rannouna Rania) > 3. Re: Tr : Problem with make telosb (Michael Schippling) > 4. Re: Tr : Problem with make telosb (Ruben Catteeuw) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sat, 25 Apr 2009 13:42:02 -0700 (PDT) > From: kavitha lakshmanan <[email protected]> > Subject: [Tinyos-help] Java Simulation > To: Tinyos-Help <[email protected]> > Message-ID: <[email protected]> > Content-Type: text/plain; charset="us-ascii" > > Hi, > > I have just started researching about wireless sensor networks. I started > running the apps. > > I don't have a mote or telosb. I want to run java applications. > I ran a serial forwarder as > java net.tinyos.sf.SerialForwarder -comm ser...@com1:micaz > > Am i rite? > > When i run a test serial or msg reader applications it connects to serial > forwarder. > but i get a message as "write failed" in serial forwarder > I couldnt also read packets in serial forwarder. > > Where am i wrong? > > Appreciate your help > Kavitha > > > > > ________________________________ > From: bouzayani walid <[email protected]> > To: [email protected] > Sent: Saturday, April 25, 2009 10:49:21 AM > Subject: [Tinyos-help] Tr : Display Temperature sensor vaues on PC via USB > > > > > Hello, > I'd like display the values of temperature sensor (Telosb) on the screen of > my PC as graph in an other Graphic Interface (for my design). > So, I believe that the first step is to convert the data (or packets) given > from USB connector into binary or decimal form. > Then, store this values in data base (SQL for example). > > I will use VB .Net as software platform and C/C++ language. > It's possible ? > Can Someone Help me ? > > Thanks in advance ______________________________ > BOUZAYANI Walid > Student Researcher > CES Laboratory, ENIS Tunisia > [email protected] > GSM: (00216) 94 306 603 > > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20090425/8041fbbd/attachment-0001.htm > > ------------------------------ > > Message: 2 > Date: Sat, 25 Apr 2009 15:25:03 -0700 (PDT) > From: Rannouna Rania <[email protected]> > Subject: [Tinyos-help] Tr : Problem with make telosb > To: [email protected] > Cc: [email protected] > Message-ID: <[email protected]> > Content-Type: text/plain; charset="iso-8859-1" > > > > Hi, > > Thank you for your help, in fact I have some printf debug message in the > file .c in the library that I include in my nesC application this is the > problem. > Now the compilation is done with success but I want when I execute on the > telosb the debug message dbg(DBG_USR1," test \n ") > that I include in the nesC application don' t appear on the screen. > Have you please any idea about how can I can do this because I need them to > test the time for example? > Thank you in advance. > Best Regards, > Rania > > > > > ----- Message transf?r? ---- > De : Michael Schippling <[email protected]> > ? : Rannouna Rania <[email protected]> > Cc : [email protected] > Envoy? le : Samedi, 25 Avril 2009, 15h36mn 48s > Objet : Re: [Tinyos-help] Problem with make telosb > > It looks like you are trying to compile something that has a > printf debug message in it? There is a printf lib for TOS, > but otherwise it's not supported in the system. > > MS > > Rannouna Rania wrote: > > Hi all, > > > > I am trying to compile my application on a real mote (telosb) (the > compiltion on a pc work correctly). > > The problem that when I compile using make telosb I have this output: > > > > /$ make telosb/ > > /mkdir -p build/telosb/ > > / compiling Eta to a telosb binary/ > > /ncc -o build/telosb/main.exe -O -I. -Wall -Wshadow > -DDEF_TOS_AM_GROUP=0x7d -Wnes/ > > /c-all -target=telosb -fnesc-cfile=build/telosb/app.c -board= > -I%T/lib/Deluge -Wl/ > > /,--section-start=.text=0x4800,--defsym=_reset_vector__=0x4000 > -DIDENT_PROGRAM_NA/ > > /ME=\"Eta\" -DIDENT_USER_ID=\"rania\" > -DIDENT_HOSTNAME=\"your-01199f19b2\" -DIDEN/ > > /T_USER_HASH=0x23006c1eL -DIDENT_UNIX_TIME=0x49f2dee9L > -DIDENT_UID_HASH=0xd362b22/ > > /3L -mdisable-hwmul -I/opt/tinyos-1.x/tos/lib/CC2420Radio Eta.nc -lm -L. > -lmiracl/ > > / > > / > > > //usr/local/mspgcc/lib/gcc-lib/msp430/3.2.3/../../../../msp430/lib/msp2/libc.a(pr/ > > /intf.o)(.text+0xa): In function `printf':/ > > > //home/Cory/tinyos/tinyos-1.x/tools/src/mspgcc/build/mspgcc-cvs/msp430-libc/src/s/ > > /tdlib/printf.c:39: undefined reference to `putchar'/ > > > //usr/local/mspgcc/lib/gcc-lib/msp430/3.2.3/../../../../msp430/lib/msp2/libc.a(pu/ > > /ts.o)(.text+0x12): In function `puts':/ > > > //home/Cory/tinyos/tinyos-1.x/tools/src/mspgcc/build/mspgcc-cvs/msp430-libc/src/s/ > > /tdlib/puts.c:35: undefined reference to `putchar'/ > > > //usr/local/mspgcc/lib/gcc-lib/msp430/3.2.3/../.../../../msp430/lib/msp2/libc.a(pu/ > > > /ts.o)(.text+0x28):/home/Cory/tinyos/tinyos-1.x/tools/src/mspgcc/build/mspgcc-cvs/ > > //msp430-libc/src/stdlib/puts.c:38: undefined reference to `putchar'/ > > /make: *** [exe0] Error 1/ > > > > > > Can you please help me ?? Best Regards, > > Rania > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Tinyos-help mailing list > > [email protected] > > https://www.. > millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20090425/96172a7d/attachment-0001.htm > > ------------------------------ > > Message: 3 > Date: Sat, 25 Apr 2009 18:53:32 -0600 > From: Michael Schippling <[email protected]> > Subject: Re: [Tinyos-help] Tr : Problem with make telosb > To: Rannouna Rania <[email protected]> > Cc: [email protected] > Message-ID: <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > You'll need to look into the pseudo-printf library fot the motes. > The only connection between your host and the mote is via that > USB line using TOS messages. Welcome to debugging embedded systems. > MS > > > Rannouna Rania wrote: > > > > Hi, > > > > Thank you for your help, in fact I have some printf debug message in the > > file .c in the library that I include in my nesC application this is the > > problem. > > Now the compilation is done with success but I want when I execute on > > the telosb the debug message dbg(DBG_USR1," test \n ") > > that I include in the nesC application don' t appear on the screen. > > Have you please any idea about how can I can do this because I need them > > to test the time for example? > > Thank you in advance. > > Best Regards, > > Rania > > > > > > > > ----- Message transf?r? ---- > > *De :* Michael Schippling <[email protected]> > > *? :* Rannouna Rania <[email protected]> > > *Cc :* [email protected] > > *Envoy? le :* Samedi, 25 Avril 2009, 15h36mn 48s > > *Objet :* Re: [Tinyos-help] Problem with make telosb > > > > It looks like you are trying to compile something that has a > > printf debug message in it? There is a printf lib for TOS, > > but otherwise it's not supported in the system. > > > > MS > > > > Rannouna Rania wrote: > > > Hi all, > > > > > > I am trying to compile my application on a real mote (telosb) (the > > compiltion on a pc work correctly). > > > The problem that when I compile using make telosb I have this output: > > > > > > /$ make telosb/ > > > /mkdir -p build/telosb/ > > > / compiling Eta to a telosb binary/ > > > /ncc -o build/telosb/main.exe -O -I. -Wall -Wshadow > > -DDEF_TOS_AM_GROUP=0x7d -Wnes/ > > > /c-all -target=telosb -fnesc-cfile=build/telosb/app.c -board= > > -I%T/lib/Deluge -Wl/ > > > /,--section-start=.text=0x4800,--defsym=_reset_vector__=0x4000 > > -DIDENT_PROGRAM_NA/ > > > /ME=\"Eta\" -DIDENT_USER_ID=\"rania\" > > -DIDENT_HOSTNAME=\"your-01199f19b2\" -DIDEN/ > > > /T_USER_HASH=0x23006c1eL -DIDENT_UNIX_TIME=0x49f2dee9L > > -DIDENT_UID_HASH=0xd362b22/ > > > /3L -mdisable-hwmul -I/opt/tinyos-1.x/tos/lib/CC2420Radio Eta.nc -lm > > -L. -lmiracl/ > > > / > > > / > > > > > > //usr/local/mspgcc/lib/gcc-lib/msp430/3.2.3/../../../../msp430/lib/msp2/libc.a(pr/ > > > /intf.o)(.text+0xa): In function `printf':/ > > > > > > //home/Cory/tinyos/tinyos-1.x/tools/src/mspgcc/build/mspgcc-cvs/msp430-libc/src/s/ > > > /tdlib/printf.c:39: undefined reference to `putchar'/ > > > > > > //usr/local/mspgcc/lib/gcc-lib/msp430/3.2.3/../../../.../msp430/lib/msp2/libc.a(pu/ > > > /ts.o)(.text+0x12): In function `puts':/ > > > > > > //home/Cory/tinyos/tinyos-1.x/tools/src/mspgcc/build/mspgcc-cvs/msp430-libc/src/s/ > > > /tdlib/puts.c:35: undefined reference to `putchar'/ > > > > > > //usr/local/mspgcc/lib/gcc-lib/msp430/3.2.3/../.../../../msp430/lib/msp2/libc.a(pu/ > > > > > > /ts.o)(.text+0x28):/home/Cory/tinyos/tinyos-1.x/tools/src/mspgcc/build/mspgcc-cvs/ > > > //msp430-libc/src/stdlib/puts.c:38: undefined reference to `putchar'/ > > > /make: *** [exe0] Error 1/ > > > > > > > > > Can you please help me ?? Best Regards, > > > Rania > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > _______________________________________________ > > > Tinyos-help mailing list > > > [email protected] > > <mailto:[email protected]> > > > > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > > > -- > Platform: WinXP/Cygwin > TinyOS version: 1.x, Boomerang > Programmer: MIB510 > Device(s): Mica2, MicaZ, Tmote > Sensor board: homebrew > > > > ------------------------------ > > Message: 4 > Date: Sun, 26 Apr 2009 07:37:42 +0000 > From: Ruben Catteeuw <[email protected]> > Subject: Re: [Tinyos-help] Tr : Problem with make telosb > To: <[email protected]> > Cc: [email protected] > Message-ID: <[email protected]> > Content-Type: text/plain; charset="iso-8859-1" > > > the tutorial on the tinyos website about printf is very clear about this > subject > > good luck > > > > > > > Date: Sat, 25 Apr 2009 18:53:32 -0600 > > From: [email protected] > > To: [email protected] > > CC: [email protected] > > Subject: Re: [Tinyos-help] Tr : Problem with make telosb > > > > You'll need to look into the pseudo-printf library fot the motes. > > The only connection between your host and the mote is via that > > USB line using TOS messages. Welcome to debugging embedded systems. > > MS > > > > > > Rannouna Rania wrote: > > > > > > Hi, > > > > > > Thank you for your help, in fact I have some printf debug message in > the > > > file .c in the library that I include in my nesC application this is > the > > > problem. > > > Now the compilation is done with success but I want when I execute on > > > the telosb the debug message dbg(DBG_USR1," test \n ") > > > that I include in the nesC application don' t appear on the screen. > > > Have you please any idea about how can I can do this because I need > them > > > to test the time for example? > > > Thank you in advance. > > > Best Regards, > > > Rania > > > > > > > > > > > > ----- Message transf?r? ---- > > > *De :* Michael Schippling <[email protected]> > > > *? :* Rannouna Rania <[email protected]> > > > *Cc :* [email protected] > > > *Envoy? le :* Samedi, 25 Avril 2009, 15h36mn 48s > > > *Objet :* Re: [Tinyos-help] Problem with make telosb > > > > > > It looks like you are trying to compile something that has a > > > printf debug message in it? There is a printf lib for TOS, > > > but otherwise it's not supported in the system. > > > > > > MS > > > > > > Rannouna Rania wrote: > > > > Hi all, > > > > > > > > I am trying to compile my application on a real mote (telosb) (the > > > compiltion on a pc work correctly). > > > > The problem that when I compile using make telosb I have this output: > > > > > > > > /$ make telosb/ > > > > /mkdir -p build/telosb/ > > > > / compiling Eta to a telosb binary/ > > > > /ncc -o build/telosb/main.exe -O -I. -Wall -Wshadow > > > -DDEF_TOS_AM_GROUP=0x7d -Wnes/ > > > > /c-all -target=telosb -fnesc-cfile=build/telosb/app.c -board= > > > -I%T/lib/Deluge -Wl/ > > > > /,--section-start=.text=0x4800,--defsym=_reset_vector__=0x4000 > > > -DIDENT_PROGRAM_NA/ > > > > /ME=\"Eta\" -DIDENT_USER_ID=\"rania\" > > > -DIDENT_HOSTNAME=\"your-01199f19b2\" -DIDEN/ > > > > /T_USER_HASH=0x23006c1eL -DIDENT_UNIX_TIME=0x49f2dee9L > > > -DIDENT_UID_HASH=0xd362b22/ > > > > /3L -mdisable-hwmul -I/opt/tinyos-1.x/tos/lib/CC2420Radio Eta.nc -lm > > > -L. -lmiracl/ > > > > / > > > > / > > > > > > > > //usr/local/mspgcc/lib/gcc-lib/msp430/3.2.3/../../../../msp430/lib/msp2/libc.a(pr/ > > > > /intf.o)(.text+0xa): In function `printf':/ > > > > > > > > //home/Cory/tinyos/tinyos-1.x/tools/src/mspgcc/build/mspgcc-cvs/msp430-libc/src/s/ > > > > /tdlib/printf.c:39: undefined reference to `putchar'/ > > > > > > > > //usr/local/mspgcc/lib/gcc-lib/msp430/3.2.3/../../../.../msp430/lib/msp2/libc.a(pu/ > > > > /ts.o)(.text+0x12): In function `puts':/ > > > > > > > > //home/Cory/tinyos/tinyos-1.x/tools/src/mspgcc/build/mspgcc-cvs/msp430-libc/src/s/ > > > > /tdlib/puts.c:35: undefined reference to `putchar'/ > > > > > > > > //usr/local/mspgcc/lib/gcc-lib/msp430/3.2.3/../.../../../msp430/lib/msp2/libc.a(pu/ > > > > > > > > /ts.o)(.text+0x28):/home/Cory/tinyos/tinyos-1.x/tools/src/mspgcc/build/mspgcc-cvs/ > > > > //msp430-libc/src/stdlib/puts.c:38: undefined reference to `putchar'/ > > > > /make: *** [exe0] Error 1/ > > > > > > > > > > > > Can you please help me ?? Best Regards, > > > > Rania > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > _______________________________________________ > > > > Tinyos-help mailing list > > > > [email protected] > > > <mailto:[email protected]> > > > > > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > > > > > > -- > > Platform: WinXP/Cygwin > > TinyOS version: 1.x, Boomerang > > Programmer: MIB510 > > Device(s): Mica2, MicaZ, Tmote > > Sensor board: homebrew > > > > _______________________________________________ > > Tinyos-help mailing list > > [email protected] > > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > _________________________________________________________________ > Hebben jij en je vrienden leuke foto's van jullie feestje? Maak een > groepsalbum en geniet nog extra na. > http://www.microsoft.com/belux/nl/windows/windowslive/products/photos.aspx > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20090426/c68fa06f/attachment.htm > > ------------------------------ > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > End of Tinyos-help Digest, Vol 72, Issue 91 > ******************************************* > -- Vishal Pal
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
