Re: [Tinyos-help] Few questions
Hi Juan You should take a look at the IEEE 802.15.4 standard in order to get more information and resolve your doubts: http://www.ieee802.org/15/pub/TG4.html Bye! David Date: Sat, 17 Mar 2012 19:42:57 +0100 From: juan.jose.martinez.ro...@gmail.com To: tinyos-help@millennium.berkeley.edu Subject: [Tinyos-help] Few questions Hello everyone. I’m using the TinyOS V2.1.1 with TELOS B and I’ve got some questions. On the standard 802.15.4 the CSMA-CA algorithm, in slotted this version of TinyOS give the option of “Battery life extension”. What it meant? Another thing is. When “ BE=min(2,macMinBE) ” wich is this possible value for BE. Thanks Juan ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Problem installing app in MicaZ
Hi all I have a strange problem on a Windows 7 machine. I am working with TinyOS 2.x and MicaZ, and when I type make micaz install mib520,/dev/ttyS7, I get the following: $ make micaz install mib520,/dev/ttyS7 mkdir -p build/micaz compiling BlinkToRadioAppC to a micaz binary ncc -o build/micaz/main.exe -Os -fnesc-separator=__ -Wall -Wshadow -Wnesc-all - target=micaz -fnesc-cfile=build/micaz/app.c -board=micasb -DDEFINED_TOS_AM_GROUP =0x22 --param max-inline-insns-single=10 -DIDENT_APPNAME=\BlinkToRadioApp\ -DIDENT_USERNAME=\Helio\ -DIDENT_HOSTNAME=\HP-PC\ -DIDENT_USERHASH=0xfa1592 40L -DIDENT_TIMESTAMP=0x4f589a8fL -DIDENT_UIDHASH=0xc4904224L -fnesc-dump=wiring -fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs, co mponents)' -fnesc-dumpfile=build/micaz/wiring-check.xml BlinkToRadioAppC.nc -lm /opt/tinyos-2.x/tos/chips/cc2420/lpl/DummyLplC.nc:39:2: warning: #warning *** L OW POWER COMMUNICATIONS DISABLED *** compiled BlinkToRadioAppC to build/micaz/main.exe 11654 bytes in ROM 311 bytes in RAM avr-objcopy --output-target=srec build/micaz/main.exe build/micaz/main.srec avr-objcopy --output-target=ihex build/micaz/main.exe build/micaz/main.ihex writing TOS image cp build/micaz/main.srec build/micaz/main.srec.out installing micaz binary using mib510 uisp -dprog=mib510 -dserial=/dev/ttyS7 --wr_fuse_h=0xd9 -dpart=ATmega128 --wr_f use_e=ff --erase --upload if=build/micaz/main.srec.out --verify Programmer is not responding. /opt/tinyos-2.x/support/make/avr/mib510.extra:31: recipe for target `program' failed make: *** [program] Error 2 The MIB520 interface uses COM7 and COM8 and I've tried all /dev/ttySx possible!!! I have installed it correctly in several computers but It doesn't work in this one. What could be the problem? All the help possible would be appreciated. Thanks, David ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Problem with BaseStation15.4
Hi all I'm having problems when compiling the BaseStation15.4 application for Micaz devices: --$ make micazmkdir -p build/micazgcc -o seriallisten15-4 seriallisten15-4.o /opt/tinyos-2.x/tos/../support/sdk/c/sf/libmote.agcc: /opt/tinyos-2.x/tos/../support/sdk/c/sf/libmote.a: No such file or directoryMakefile:9: recipe for target `seriallisten15-4' failedmake: *** [seriallisten15-4] Error 1-- Does anyone else have this problem? I appreciate all the help possible Thanks, David ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Problem with BaseStation15.4
Hi all I found the problem. I needed to generate the libmote.a file within the tinyos-2.x/support/sdk/c/sf directory. However, I cannot fulfill the instalation: First, you have to type ./boostrap. Secondly, you have to type ./configure. Then, it outputs the following for me (which I think is ok): - $ ./configurechecking for a BSD-compatible install... /usr/bin/install -cchecking whether build environment is sane... yeschecking for a thread-safe mkdir -p... /usr/bin/mkdir -pchecking for gawk... gawkchecking whether make sets $(MAKE)... yeschecking for gcc... gccchecking whether the C compiler works... yeschecking for C compiler default output file name... a.exechecking for suffix of executables... .exechecking whether we are cross compiling... nochecking for suffix of object files... ochecking whether we are using the GNU C compiler... yeschecking whether gcc accepts -g... yeschecking for gcc option to accept ISO C89... none neededchecking for style of include used by make... GNUchecking dependency style of gcc... gcc3checking for ranlib... ranlibconfigure: creating ./config.statusconfig.status: creating Makefileconfig.status: creating autoconf.hconfig.status: autoconf.h is unchangedconfig.status: executing depfiles commands- Finally, you have to type make, but this step fails in my case. The output is the following (I add [...] in order to shorten the output): -$ makemig -o serialpacket.h -c-prefix=spacket c /opt/tinyos-2.x/tos/lib/serial/Serial.h serial_packet -D_POSIX_C_SOURCE/usr/lib/ncc/deputy_nodeputy.h:4:20: error: stddef.h: No such file or directory/usr/lib/ncc/nesc_nx.h:16:22: error: inttypes.h: No such file or directory/usr/lib/ncc/nesc_nx.h:235: syntax error before `__nesc_ntoh_uint8'/usr/lib/ncc/nesc_nx.h:240: syntax error before `__nesc_hton_uint8'/usr/lib/ncc/nesc_nx.h:242: `value' undeclared here (not in a function)/usr/lib/ncc/nesc_nx.h:242: warning: data definition has no type or storage class[...]/usr/lib/ncc/nesc_nx.h:400: syntax error before `nxle_uint16_t'/usr/lib/ncc/nesc_nx.h:401: syntax error before `nxle_uint32_t'/usr/lib/ncc/nesc_nx.h:402: syntax error before `nxle_uint64_t'/opt/tinyos-2.x/tos/system/tos.h:8:20: error: unistd.h: No such file or directory[...] /opt/tinyos-2.x/tos/system/tos.h:26: syntax error before `nx_bool'/opt/tinyos-2.x/tos/system/tos.h:27: syntax error before `TOS_NODE_ID'In file included from /opt/tinyos-2.x/tos/system/TinySchedulerC.nc:47:In interface `Scheduler':/opt/tinyos-2.x/tos/interfaces/Scheduler.nc:65: only commands and events can be defined in interfaces/opt/tinyos-2.x/tos/interfaces/Scheduler.nc:65: syntax error before `runNextTask'In file included from /opt/tinyos-2.x/tos/interfaces/TaskBasic.nc:53, from /opt/tinyos-2.x/tos/system/TinySchedulerC.nc:48:In C file:/opt/tinyos-2.x/tos/types/TinyError.h:67: syntax error before `error_t'/opt/tinyos-2.x/tos/types/TinyError.h:69: syntax error before `ecombine'In file included from /opt/tinyos-2.x/tos/system/TinySchedulerC.nc:48:In interface `TaskBasic':/opt/tinyos-2.x/tos/interfaces/TaskBasic.nc:67: only commands and events can be defined in interfaces/opt/tinyos-2.x/tos/interfaces/TaskBasic.nc:67: syntax error before `postTask'In component `TinySchedulerC':/opt/tinyos-2.x/tos/system/TinySchedulerC.nc:48: syntax error before `uint8_t'In file included from /opt/tinyos-2.x/tos/system/SchedulerBasicP.nc:52, from /opt/tinyos-2.x/tos/system/TinySchedulerC.nc:51:In C file:/opt/tinyos-2.x/tos/platforms/null/hardware.h:7: syntax error before `__nesc_atomic_t'/opt/tinyos-2.x/tos/platforms/null/hardware.h:8: syntax error before `mcu_power_t'/opt/tinyos-2.x/tos/platforms/null/hardware.h:10: syntax error before `__nesc_atomic_start'/opt/tinyos-2.x/tos/platforms/null/hardware.h:14: syntax error before `x'In file included from /opt/tinyos-2.x/tos/system/TinySchedulerC.nc:51:In component `SchedulerBasicP':/opt/tinyos-2.x/tos/system/SchedulerBasicP.nc:56: syntax error before `uint8_t'In file included from /opt/tinyos-2.x/tos/system/TinySchedulerC.nc:51:/opt/tinyos-2.x/tos/system/SchedulerBasicP.nc:67: syntax error before `m_head'[...] /opt/tinyos-2.x/tos/system/SchedulerBasicP.nc:83: warning: data definition has no type or storage class/opt/tinyos-2.x/tos/system/SchedulerBasicP.nc:84: syntax error before `if'SchedulerBasicP: `TaskBasic.error_t' not implementedSchedulerBasicP: `Scheduler.init' not implementedSchedulerBasicP: `Scheduler.taskLoop' not implementedSchedulerBasicP: `Scheduler.bool' not implementedIn C file:commandline: Scheduler `TinySchedulerC' has no scheduling interface named `TaskBasic'In file included from
[Tinyos-help] (no subject)
Hi all I'm trying to install TinyOS on a Windows 7 machine, but I am getting the following error: $ rpm -Uvh --force --nodeps avrdude-tinyos-5.6cvs-1.cygwin.i386.rpmPreparing... ### [100%] 1:avrdude-tinyos ### [100%]/usr/bin /Copying the driver to the windows directorytarget file: C:\Windows\giveio.sysDenied Access.0 files(s) copied(s).Remove a running service if needed...Installing Windows NT/2k/XP driver: giveioinstall failed, file not found: C:\Windows\giveio.sysstarting giveio... start failed (status 6): I appreciate all the help possible. Thanks David ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] (no subject)
Hi Andris You are right. I have just find the same answer. I am using the MicaZ devices and the MIB520CB Interface Board and I suppose that to install an app, I have to use make micaz install mib520,port. In this sense, as the MIB520CB Interface Board is connected to an usb port from my laptop, what port name should I use? comx? usbx? where x is 0, 1 ... I am using a cygwin environment and TinyOS 2.x Thanks for the help David Date: Mon, 13 Feb 2012 19:53:08 +0100 Subject: Re: [Tinyos-help] (no subject) From: bband...@gmail.com To: drod...@hotmail.com CC: tinyos-help@millennium.berkeley.edu Hi David, Giveio.sys doesn't work on Vista and newer, but if you don't plan to use parrellel port programmer, you don't need it. Andris On Mon, Feb 13, 2012 at 7:03 PM, David Rodenas Herráiz drod...@hotmail.com wrote: Hi all I'm trying to install TinyOS on a Windows 7 machine, but I am getting the following error: $ rpm -Uvh --force --nodeps avrdude-tinyos-5.6cvs-1.cygwin.i386.rpm Preparing...### [100%] 1:avrdude-tinyos ### [100%] /usr/bin / Copying the driver to the windows directory target file: C:\Windows\giveio.sys Denied Access. 0 files(s) copied(s). Remove a running service if needed... Installing Windows NT/2k/XP driver: giveio install failed, file not found: C:\Windows\giveio.sys starting giveio... start failed (status 6): I appreciate all the help possible. Thanks David ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] (no subject)
Hi again I am sorry about the spam. I found the solution at http://docs.tinyos.net/tinywiki/index.php/Cygwin_User_Notes Thanks! From: drod...@hotmail.com To: tinyos-help@millennium.berkeley.edu Date: Mon, 13 Feb 2012 19:13:29 + Subject: Re: [Tinyos-help] (no subject) Hi Andris You are right. I have just find the same answer. I am using the MicaZ devices and the MIB520CB Interface Board and I suppose that to install an app, I have to use make micaz install mib520,port. In this sense, as the MIB520CB Interface Board is connected to an usb port from my laptop, what port name should I use? comx? usbx? where x is 0, 1 ... I am using a cygwin environment and TinyOS 2.x Thanks for the help David Date: Mon, 13 Feb 2012 19:53:08 +0100 Subject: Re: [Tinyos-help] (no subject) From: bband...@gmail.com To: drod...@hotmail.com CC: tinyos-help@millennium.berkeley.edu Hi David, Giveio.sys doesn't work on Vista and newer, but if you don't plan to use parrellel port programmer, you don't need it. Andris On Mon, Feb 13, 2012 at 7:03 PM, David Rodenas Herráiz drod...@hotmail.com wrote: Hi all I'm trying to install TinyOS on a Windows 7 machine, but I am getting the following error: $ rpm -Uvh --force --nodeps avrdude-tinyos-5.6cvs-1.cygwin.i386.rpm Preparing...### [100%] 1:avrdude-tinyos ### [100%] /usr/bin / Copying the driver to the windows directory target file: C:\Windows\giveio.sys Denied Access. 0 files(s) copied(s). Remove a running service if needed... Installing Windows NT/2k/XP driver: giveio install failed, file not found: C:\Windows\giveio.sys starting giveio... start failed (status 6): I appreciate all the help possible. Thanks David ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Stop spam!!!!!!!!
I all I have the same problem. I counted more than 200 messages from Abhishek MajumdarAdd!!! Date: Thu, 2 Feb 2012 13:04:12 +0200 From: engleza...@ceid.upatras.gr To: Tinyos-help@millennium.berkeley.edu Subject: [Tinyos-help] Stop spam This user Abhishek MajumdarAdd is spamming my inbox folder threw Tinyos-help mailing list Does anybody have the same problem? ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Different compilers within the same TinyOS-2.1
Hi Eric thanks for your answer. Would you mind giving me some brief instructions to do those switches? David Date: Tue, 25 Oct 2011 16:14:58 -0700 Subject: Re: [Tinyos-help] Different compilers within the same TinyOS-2.1 From: cire...@gmail.com To: drod...@hotmail.com CC: tinyos-help@millennium.berkeley.edu On Tue, Oct 25, 2011 at 11:25 AM, David Rodenas Herráiz drod...@hotmail.com wrote: Hi everyone I am working with Imote2 and MicaZ motes and I want to ask if PXA27x (compiler for Imote2) Atmel AVR tools (compiler or MicaZ) might work within the same TinyOS-2.1 installation. Sure. The toolchain invoked is determined by switches in the .platform file for the platform being compiled. So it should work fine. Thanks in advance David ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- Eric B. Decker Senior (over 50 :-) Researcher ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Different compilers within the same TinyOS-2.1
Thanks Eric. I had some problems installing the xscale compiler (for Imote2): rpm -ivh --ignoreos xscale-elf-gcc-3.4.3-1.cygwin.i386.rpm Preparing...### [100%] file /usr/man/man7/fsf-funding.7 from install of xscale-elf-gcc-3.4.3-1 conflicts with file from package avr-gcc-4.1.2-1 file /usr/man/man7/gfdl.7 from install of xscale-elf-gcc-3.4.3-1 conflicts with file from package avr-gcc-4.1.2-1 and more... I suppose that I'll have to install it manually. Therefore, I don't know when but I'll tell you if it finally works. David Rodenas Herráiz Date: Wed, 26 Oct 2011 03:10:34 -0700 Subject: Re: [Tinyos-help] Different compilers within the same TinyOS-2.1 From: cire...@gmail.com To: drod...@hotmail.com CC: tinyos-help@millennium.berkeley.edu take a look a different .platform files A pattern will become apparent. You'll see things like... -gcc=msp430-gcc-mmcu=msp430x1611 -fnesc-target=msp430 and like -gcc=avr-gcc-mmcu=atmega128-fnesc-target=avr I don't know of any documentation for these things. I mostly fly by the seat of my pants when it comes to what these switches do. On Wed, Oct 26, 2011 at 12:44 AM, David Rodenas Herráiz drod...@hotmail.com wrote: Hi Eric thanks for your answer. Would you mind giving me some brief instructions to do those switches? David Date: Tue, 25 Oct 2011 16:14:58 -0700 Subject: Re: [Tinyos-help] Different compilers within the same TinyOS-2.1 From: cire...@gmail.com To: drod...@hotmail.com CC: tinyos-help@millennium.berkeley.edu On Tue, Oct 25, 2011 at 11:25 AM, David Rodenas Herráiz drod...@hotmail.com wrote: Hi everyone I am working with Imote2 and MicaZ motes and I want to ask if PXA27x (compiler for Imote2) Atmel AVR tools (compiler or MicaZ) might work within the same TinyOS-2.1 installation. Sure. The toolchain invoked is determined by switches in the .platform file for the platform being compiled. So it should work fine. Thanks in advance David ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- Eric B. Decker Senior (over 50 :-) Researcher -- Eric B. Decker Senior (over 50 :-) Researcher ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Different compilers within the same TinyOS-2.1
Hi everyone I am working with Imote2 and MicaZ motes and I want to ask if PXA27x (compiler for Imote2) Atmel AVR tools (compiler or MicaZ) might work within the same TinyOS-2.1 installation. Thanks in advance David ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Current mac protocol
Hi Kartik If you make an application for Telosb, or any other mote, under TinyOS, the MAC protocol used is the Berkeley's implementation, which is B-MAC. There is a lot of information on Internet, try at IEEE Xplore webpage for articles. Bye David Rodenas Herriz El 20/10/2010 22:03, Kartik Siddhabathula escribi: Hi Wasif, Seems you didn't get my question. I know where mac is in tinyos. I want to know what type of MAC is used by telosb motes? is it S-Mac, B-Mac or X-Mac? Where is the documentation for that? Thanks, Kartik --- On Wed, 10/20/10, wasif masood rwmas...@gmail.com wrote: From: wasif masood rwmas...@gmail.com Subject: Re: [Tinyos-help] Current mac protocol To: "Kartik Siddhabathula" siddhabathulakar...@yahoo.com Cc: "TinyoS help" tinyos-help@millennium.berkeley.edu Date: Wednesday, October 20, 2010, 2:58 PM its under tos/chips/cc2420 On Wed, Oct 20, 2010 at 8:44 PM, Kartik Siddhabathula siddhabathulakar...@yahoo.com wrote: Hi all, I would like to know what is the current mac protocol used by cc2420 radio chips. I read it our forum archives that it is a combination of B-Mac and X-Mac. I need a proper reference so that I can back up the claim. Does anyone have any idea where I can find the MAC protocol implementation of cc2420. Thanks, Kartik ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- Wasif Masood ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] How to send data from PC to mote using SerialForwarder
Hi I want to write a C++ program to send data from PC to a base station mote (app BaseStation) , and this one, send the data received to another mote. I have problems with the format packet I have to send (I connect to SerialForwarder and receive data). I have the following code (to do it, I used: http://www.tinyos.net/tinyos-2.x/doc/html/tep113.html): char lenmsg = 13; unsigned char buff[13]; int i = 0; buff[i++] = 0x7E; // Framing byte buff[i++] = 0x40; // Protocol byte: SerialP buff[i++] = 0x09; // Sequence number? buff[i++] = 0x00; // Packet format dispatch byte buff[i++] = 0xFF; // Message dest address buff[i++] = 0xFF; // Message dest address buff[i++] = 0x01; // Packet size buff[i++] = 0x00; // Group ID buff[i++] = 0x06; // Message Type //buff[i++] = 0x5D; // 0x06 isn't a scape, so I don't need it buff[i++] = 0x56; // Data buff[i++] = 0x00; // CRC ?? I don't know how to calculate CRC buff[i++] = 0x00; // CRC buff[i++] = 0x7E; // Framing byte */ send(fd, lenmsg, 1, 0); send(fd, (char*)buff, lenmsg, 0); I can see in the counter of packets written in the SerialForwarder (java version) that the packet is send, but it doesn't reach the basestation. I don't know if I'm using the right packet format to send data to SerialForwarder, because I thing the code above is for serial communication, not to SerialForwarder communication. I tested the following code (SerialAM message), but I had the same result: char lenmsg = 13; unsigned char buff[13]; int i = 0; buff[i++] = 0xFF; // Message dest address buff[i++] = 0xFF; // Message dest address buff[i++] = 0x01; // Packet size buff[i++] = 0x00; // Group ID buff[i++] = 0x06; // Message Type buff[i++] = 0x56; // Data send(fd, lenmsg, 1, 0); send(fd, (char*)buff, lenmsg, 0); Any suggestion? Thanks David _ Sé el protagonista de GQ con Messenger y Vodafone Blackberry. ¡Y gana premios! http://serviciosmoviles.es.msn.com/messenger/vodafone.aspx___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] How to send data from PC to mote using SerialForwarder
Thanks a lot, I solved it. I put my code here: _ char lenmsg = 9; unsigned char buff[9]; int i = 0; buff[i++] = 0x00; // syncByte buff[i++] = 0xFF; // Destination Address buff[i++] = 0xFF; // Destination Address buff[i++] = 0x00; // Link source address buff[i++] = 0x00; // Link source address buff[i++] = 0x01; // Message length buff[i++] = 0x00; // Group ID buff[i++] = 0x09; // Active Message handler type buff[i++] = 0x56; // Payload send(fd, lenmsg, 1, 0); send(fd, (char*)buff, lenmsg, 0); return 0; _ David Date: Tue, 29 Jun 2010 15:49:55 +0800 From: dodda...@comp.nus.edu.sg To: drod...@hotmail.com CC: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] How to send data from PC to mote using SerialForwarder Following is a detailed example that we used explain to undergrad students here. Sorry for being too detailed. 1) start sf at the desired port number, for ex., ./sf 9001 /dev/ttyUSB0 telosb 9001 - SF port number /dev/ttyUSB0 - device address telosb - you can use name of the mote to specify baudrate 2) Once you start SF at 9001, you can use a) sfsend to send commands to your mote: ./sfsend syncByte destination source length AMType PAYLOAD syncByte (1 byte): 0 destination (two bytes): 0 126 source (2 bytes): 0 0 length (1 byte): length of payload group (1 Byte): 0 AMType (1 byte): AM type of your message PAYLOAD: payload starts here b) You can use sflisten to see what your program dumps from the mote ./sflisten hostAddr sfPort e.x., ./sflisten 127.0.0.1 9001 Regards, Manjunath D Manjunath D *** On Tue, 29 Jun 2010, David Rodenas Herráiz wrote: Hi I want to write a C++ program to send data from PC to a base station mote (app BaseStation) , and this one, send the data received to another mote. I have problems with the format packet I have to send (I connect to SerialForwarder and receive data). I have the following code (to do it, I used: http://www.tinyos.net/tinyos-2.x/doc/html/tep113.html): char lenmsg = 13; unsigned char buff[13]; int i = 0; buff[i++] = 0x7E; // Framing byte buff[i++] = 0x40; // Protocol byte: SerialP buff[i++] = 0x09; // Sequence number? buff[i++] = 0x00; // Packet format dispatch byte buff[i++] = 0xFF; // Message dest address buff[i++] = 0xFF; // Message dest address buff[i++] = 0x01; // Packet size buff[i++] = 0x00; // Group ID buff[i++] = 0x06; // Message Type //buff[i++] = 0x5D; // 0x06 isn't a scape, so I don't need it buff[i++] = 0x56; // Data buff[i++] = 0x00; // CRC ?? I don't know how to calculate CRC buff[i++] = 0x00; // CRC buff[i++] = 0x7E; // Framing byte */ send(fd, lenmsg, 1, 0); send(fd, (char*)buff, lenmsg, 0); I can see in the counter of packets written in the SerialForwarder (java version) that the packet is send, but it doesn't reach the basestation. I don't know if I'm using the right packet format to send data to SerialForwarder, because I thing the code above is for serial communication, not to SerialForwarder communication. I tested the following code (SerialAM message), but I had the same result: char lenmsg = 13; unsigned char buff[13]; int i = 0; buff[i++] = 0xFF; // Message dest address buff[i++] = 0xFF; // Message dest address buff[i++] = 0x01; // Packet size buff[i++] = 0x00; // Group ID buff[i++] = 0x06; // Message Type buff[i++] = 0x56; // Data send(fd, lenmsg, 1, 0); send(fd, (char*)buff, lenmsg, 0); Any suggestion? Thanks David _ Sé el protagonista de GQ con Messenger y Vodafone Blackberry. ¡Y gana premios! http://serviciosmoviles.es.msn.com/messenger/vodafone.aspx
[Tinyos-help] Big endian
Hi all Finally I connected my application (made in C++) to the Serial Forwarder, and I receive packets. But my problem is the following (I only need some information): The data is sent by the mote in big-endian format, for example, 01 02 means 258 (256*1 + 2). When I receive the packet, I need the value 258, not the 01 02, as if it were an integer. Any suggestion? Thanks! David _ ¿Quieres saber qué PC eres? ¡Descúbrelo aquí! http://www.quepceres.com/___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Application in C++ for Tinyos
Hi all I'm trying to make an application in C++ language for PC to read and display messages on screen. I made a socket to connect the application and the mote to port 9001, but it doesn't read anything! Dows anyone know of an application made in C++ for Tinyos? I need an example! Thanks! David _ ¿Te gustaría tener Hotmail en tu móvil Movistar? ¡Es gratis! http://serviciosmoviles.es.msn.com/hotmail/movistar-particulares.aspx___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Application in C++ for Tinyos
Hi Jordi I've seen that Blip is in TinyOS 2.1, isn't it? I'm using TinyOS 2.x. Can I use it? I have a problem, I have to program something in another application, and I only need to receive messages. I don't know what to do! Thanks a lot! David Date: Tue, 9 Mar 2010 19:28:15 +0100 Subject: Re: [Tinyos-help] Application in C++ for Tinyos From: jsouchei...@dexmatech.com To: drod...@hotmail.com CC: tinyos-help@millennium.berkeley.edu Hi David, Using blip it's really easy to make a C++ program to interact with motes. You could try to use it. Good luck 2010/3/9 David Rodenas Herráiz drod...@hotmail.com Hi all I'm trying to make an application in C++ language for PC to read and display messages on screen. I made a socket to connect the application and the mote to port 9001, but it doesn't read anything! Dows anyone know of an application made in C++ for Tinyos? I need an example! Thanks! David ¿Quieres saber qué móvil eres? ¡Descúbrelo aquí! ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help _ ¿Te gustaría tener Hotmail en tu móvil Movistar? ¡Es gratis! http://serviciosmoviles.es.msn.com/hotmail/movistar-particulares.aspx___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Use of the SerialForwarder
Hi I have an application in C++, and I realized that I have to make a client socket (I made a server and It doesn't work) to connect to SerialForwarder and receive messages from the mote to PC. What is the address of the SerialForwarder? RecvAddr.sin_port=htons(Port); RecvAddr.sin_family=AF_INET; RecvAddr.sin_addr.s_addr= ?? Regards David _ Recibe en tu móvil un SMS con tu Hotmail recibido. ¡Date de alta ya! http://serviciosmoviles.es.msn.com/___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Size of array
Hi all How can I get the number of elements of an array? For example, if you have a pointer to an array of 200 elements, get this number. You can't do this with sizeof. I've also tried with sizeof(array)/sizeof(array[0]) but I don't get what I want. Regards David _ Deja que Sietes te enseñe todo los secretos de Windows http://www.sietesunpueblodeexpertos.com/___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] FW: Size of array
Hi Martin I tried that, but it doesn't go well! I forgot to say it. Thanks! Date: Wed, 2 Dec 2009 20:34:55 + From: martin.oster...@tu-ilmenau.de To: drod...@hotmail.com Subject: Re: [Tinyos-help] Size of array -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi David, just a quick guess. Just walk with a loop through the array and count the elements. So to say uint_8 counter = 0; while( array[i+1] != null ) { counter++; i++; } Maybe this seems a little bit strange, but I think, nesC (or C) does not have something like array.length(); Someone please correct me, if this is wrong. Just a guess ;) Best, Martin David Rodenas Herráiz wrote: !-- .hmmessage P { margin:0px; padding:0px } body.hmmessage { font-size: 10pt; font-family:Verdana } -- Hi all How can I get the number of elements of an array? For example, if you have a pointer to an array of 200 elements, get this number. You can't do this with sizeof. I've also tried with sizeof(array)/sizeof(array[0]) but I don't get what I want. Regards David -- 49 habitantes, 49 expertos en Windows 7. Así es Sietes, ¡Visítalo! http://www.sietesunpueblodeexpertos.com/ -- ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAksWz2sACgkQa1gn+vovozP0LgCeLLlwaPU2bQA1ORbpojSzzS3o INMAoIH5VvC9wE/HiyRh9M8WfUKxCx71 =+D3h -END PGP SIGNATURE- 49 habitantes, 49 expertos en Windows 7. Así es Sietes, ¡Visítalo! _ ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] FW: Question about SDRAM and malloc
HiThanks. I found that on Imote2 malloc only allocates memory from SRAM. I need some help with something:I have a function where I call malloc some times and I create objets I need. I want to create them into SDRAM and not into SRAM. This function is like this (it is an example): #define SIZE //GLOBAL VARIABLE int * variable; ... //I call the function object_1 = App.call function(variable); object_2 = App.call function(variable); object_3 = App.call function(variable); ... //and the function is this: command int *App.function(int *n){ n = (int *) malloc(SIZE*sizeof(int)); return n; } }//end of implementation Please, I need help!Thanks a lot David Date: Tue, 10 Nov 2009 16:28:42 -0600 From: oewyn...@gmail.com To: drod...@hotmail.com CC: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] Question about SDRAM and malloc I'm not intimately familiar with the pxa27x architecture, but in general, when you call malloc(), you have no control over where the memory is allocated from. The memory should be automatically allocated in either the local SRAM or SDRAM (depending on how the memory controller operates). It depends on how the SRAM(local) memory is set up (if it attempts to cache the external SDRAM or not, etc). Unfortunately that is the best information I can give you as I don't have the hardware, and all the information I have provided you I found through searching. If you have further questions about the imote2, there does exist a mailing list: http://enl.usc.edu/pipermail/t2-imote2/ where you can ask your questions. Probably the person you want to contact about tinyos specific to imote2 is Robbie Adler (his contact information should be available in the list archives). It seems like he has been making significant contributions to the imote2 in Tinyos 2.x. -Paul David Rodenas Herráiz wrote: Hi Sorry, I did not make my question well. I'm using SDRAM memory on Imote2 and I want to ask something: If we define a variable like this unsigned int *variable __attribute__((section(.sdram))); and if I make the following, #define SIZE 33023 variable = (unsigned int*)malloc(SIZE); Where is that memory stored? in the SRAM or SDRAM? Thanks David ¡Windows Phone ya está aquí! Mucho más que un teléfono. ¡Hazte con uno! Hasta las ovejas de Sietes son expertas en Windows 7. ¡Conócelas! ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help ¡Nuevo Canal Mujer! Moda, belleza, sexo, dietas, embarazo. más fácil y a tu alcance. Si quieres estar a la última, no puedes perdértelo. _ ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] FW: Question about SDRAM and malloc
Sorry, I forgot to say that for use the SDRAM on Imote2 you have to use this (like a global variable): int *variable __attribute__((section(.sdram))); Thanks David From: drod...@hotmail.com To: tinyos-help@millennium.berkeley.edu Date: Wed, 11 Nov 2009 17:59:52 + Subject: [Tinyos-help] FW: Question about SDRAM and malloc HiThanks. I found that on Imote2 malloc only allocates memory from SRAM. I need some help with something:I have a function where I call malloc some times and I create objets I need. I want to create them into SDRAM and not into SRAM. This function is like this (it is an example): #define SIZE //GLOBAL VARIABLE int * variable; ... //I call the function object_1 = App.call function(variable); object_2 = App.call function(variable); object_3 = App.call function(variable); ... //and the function is this: command int *App.function(int *n){ n = (int *) malloc(SIZE*sizeof(int)); return n; } }//end of implementation Please, I need help!Thanks a lot David Date: Tue, 10 Nov 2009 16:28:42 -0600 From: oewyn...@gmail.com To: drod...@hotmail.com CC: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] Question about SDRAM and malloc I'm not intimately familiar with the pxa27x architecture, but in general, when you call malloc(), you have no control over where the memory is allocated from. The memory should be automatically allocated in either the local SRAM or SDRAM (depending on how the memory controller operates). It depends on how the SRAM(local) memory is set up (if it attempts to cache the external SDRAM or not, etc). Unfortunately that is the best information I can give you as I don't have the hardware, and all the information I have provided you I found through searching. If you have further questions about the imote2, there does exist a mailing list: http://enl.usc.edu/pipermail/t2-imote2/ where you can ask your questions. Probably the person you want to contact about tinyos specific to imote2 is Robbie Adler (his contact information should be available in the list archives). It seems like he has been making significant contributions to the imote2 in Tinyos 2.x. -Paul David Rodenas Herráiz wrote: Hi Sorry, I did not make my question well. I'm using SDRAM memory on Imote2 and I want to ask something: If we define a variable like this unsigned int *variable __attribute__((section(.sdram))); and if I make the following, #define SIZE 33023 variable = (unsigned int*)malloc(SIZE); Where is that memory stored? in the SRAM or SDRAM? Thanks David ¡Windows Phone ya está aquí! Mucho más que un teléfono. ¡Hazte con uno! Hasta las ovejas de Sietes son expertas en Windows 7. ¡Conócelas! ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help ¡Nuevo Canal Mujer! Moda, belleza, sexo, dietas, embarazo. más fácil y a tu alcance. Si quieres estar a la última, no puedes perdértelo. ¡Windows Phone ya está aquí! Mucho más que un teléfono. ¡Hazte con uno! _ Sólo hay un loro experto en Windows 7 en todo el mundo. Y vive en Sietes ¡Cónocelo! http://www.sietesunpueblodeexpertos.com/___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Question about SDRAM and malloc
Hi Sorry, I did not make my question well. I'm using SDRAM memory on Imote2 and I want to ask something: If we define a variable like this unsigned int *variable __attribute__((section(.sdram))); and if I make the following, #define SIZE 33023 variable = (unsigned int*)malloc(SIZE); Where is that memory stored? in the SRAM or SDRAM? Thanks David ¡Windows Phone ya está aquí! Mucho más que un teléfono. ¡Hazte con uno! _ Date una vuelta por Sietes y conoce el pueblo de los expertos en Windows 7 http://www.sietesunpueblodeexpertos.com/___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Question about SDRAM and malloc
Hi I'm using SDRAM memory on Imote2 and I want to ask something: If we define a variable like this unsigned int *variable __attribute__((section(.sdram))); and if I make the following, variable = (unsigned int*)malloc(sizeof(unsigned int)); Where is that memory stored? in the SRAM or SDRAM? Thanks David _ ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Using memories
Hi all Imote2 has 32 MB of FLASH memory and 32MB of SDRAM. Which of these memories, FLASH or SDRAM, is faster? I searched that in the datasheet but I did not find it. How can I use anyone of them? I need to store large data structures. Regards David _ Deja que Sietes te enseñe todo los secretos de Windows http://www.sietesunpueblodeexpertos.com/___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Problems with memory and malloc?
Hi all I'm having some problems in my code and I think they are because I'm using malloc, but I'm not sure. I read that it's better if you don't use dinamic memory. Is that true? So, what can I do? I'm using Imote2 and TinyOS 2.x. Thanks! David _ Vive toda la experiencia de Messenger con Orange desde tu Blackberry ¡Descúbrelo! http://serviciosmoviles.es.msn.com/messenger/blackberry.aspx ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] (no subject)
Hi What it the maximum value for TOSH_DATA_LENGTH on TinyOS 2.x? Regards David _ ¿Sabías que ahora puedes hablar por Messenger desde Hotmail con todos tus contactos? Revisa tu correo mientras conversas con tus amigos. http://www.hotmail.com ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Low Power Communications Disabled
Hi, I'm using Imote2 and TinyOS 2.x. While compiling my code I am getting a warning like the following: /opt/tinyos-2.x/tos/chips/cc2420/lpl/DummyLplC.nc:39:2: warning: #warning *** LOW POWER COMMUNICATIONS DISABLED *** Can anyone please tell me what could be the cause of this warning and any way to remove it. Regards, David _ Llévate Messenger en el móvil a todas partes ¡Conéctate! http://www.microsoft.com/spain/windowsmobile/messenger/default.mspx___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Application to see messages?
Hi I want to communicate the Imote2 and the PC using radio. I want to see the information which the Imote2 is sending to the PC. Is there any application for that? or anyone knows how to do that? Thanks David _ Descubre todas las formas en que puedes estar en contacto con amigos y familiares. http://www.microsoft.com/windows/windowslive/default.aspx___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Problem Compiling
Hi I'm working with imote2 and tinyos 2.x .When I compile my application, appears this error at the end: /usr/lib/gcc/xscale-elf/3.4.3/../../../../xscale-elf/bin/ld: region SRAM is full (build/intelmote2/main.exe section .data) /usr/lib/gcc/xscale-elf/3.4.3/../../../../xscale-elf/bin/ld: address 0x5c0989ec of build/intelmote2/main.exe section .bss is not within region SRAM collect2: ld returned 1 exit status make: *** [exe0] Error 1 Can anyone tell me what it means? I asked about this and was told that it is because there is only 256 kB of SRAM and my data structures exceed that, but my data structures aren't so big. Please, I need help! Thanks David _ Messenger cumple 10 años ¡Descárgate ya los nuevos emoticonos! http://www.vivelive.com/felicidades___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] help with imote2 and tinyos-1.x
Hi I have problems with tinyos-1.x and imote2. I found this post http://www.mail-archive.com/tinyos-help@millennium.berkeley.edu/msg19542.html and my problem is the same. I followed the same steps, at http://www.eecs.harvard.edu/~konrad/projects/imote2Camera/IMote2-Installation-Instructions.html. My enviroment is #uname -a Linux xubuntu-tos 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686 GNU/Linux #xscale-elf-gcc -v Leyendo especificaciones de /usr/lib/gcc/xscale-elf/3.4.3/specs Configurado con: ../configure --target=xscale-elf --prefix=/usr --with-gnu-as --with-gnu-ld --enable-languages=c Modelo de hilos: single gcc versión 3.4.3 The version isn't 3.4.4 as the instruccions, but I think the problem isn't it. I don't know what to do. I compile Blink with #make imote2 and the report messages are mkdir -p build/imote2 xscale-elf-as -mcpu=iwmmxt -mfpu=softfpa -defsym BOOTLOADER=1 /opt/tinyos-1.x/tos/platform/pxa27x/../imote2/flash.s /opt/tinyos-1.x/tos/platform/pxa27x/../imote2/binarymover.s /opt/tinyos-1.x/tos/platform/pxa27x/barecrt.s /opt/tinyos-1.x/tos/platform/pxa27x/mmu_table.s /opt/tinyos-1.x/tos/platform/pxa27x/util.s -o build/imote2/asms.o cd /opt/tinyos-1.x/tos/platform/pxa27x/lib; make; make[1]: Entering directory `/opt/tinyos-1.x/beta/platform/pxa27x/lib' xscale-elf-gcc -g -O2 -Wall -I/opt/tinyos-1.x/tos/platform/pxa27x -I/opt/tinyos-1.x/tos/platform/pxa27x/lib/DSP -I/opt/tinyos-1.x/tos/platform/pxa27x/lib/ -c -o bufferManagement.o bufferManagement.c In file included from bufferManagement.c:2: assert.h:8: aviso: se ignora la directiva de atributo `C' In file included from bufferManagement.c:4: systemUtil.h:28: aviso: se ignora la directiva de atributo `C' systemUtil.h:28: aviso: se ignora la directiva de atributo `spontaneous' xscale-elf-gcc -g -O2 -Wall -I/opt/tinyos-1.x/tos/platform/pxa27x -I/opt/tinyos-1.x/tos/platform/pxa27x/lib/DSP -I/opt/tinyos-1.x/tos/platform/pxa27x/lib/ -c -o downsample.o downsample.c xscale-elf-gcc -g -O2 -Wall -I/opt/tinyos-1.x/tos/platform/pxa27x -I/opt/tinyos-1.x/tos/platform/pxa27x/lib/DSP -I/opt/tinyos-1.x/tos/platform/pxa27x/lib/ -c -o frequency.o frequency.c xscale-elf-gcc -g -O2 -Wall -I/opt/tinyos-1.x/tos/platform/pxa27x -I/opt/tinyos-1.x/tos/platform/pxa27x/lib/DSP -I/opt/tinyos-1.x/tos/platform/pxa27x/lib/ -c -o paramtask.o paramtask.c In file included from paramtask.c:4: systemUtil.h:28: aviso: se ignora la directiva de atributo `C' systemUtil.h:28: aviso: se ignora la directiva de atributo `spontaneous' xscale-elf-gcc -g -O2 -Wall -I/opt/tinyos-1.x/tos/platform/pxa27x -I/opt/tinyos-1.x/tos/platform/pxa27x/lib/DSP -I/opt/tinyos-1.x/tos/platform/pxa27x/lib/ -c -o profile.o profile.c xscale-elf-gcc -g -O2 -Wall -I/opt/tinyos-1.x/tos/platform/pxa27x -I/opt/tinyos-1.x/tos/platform/pxa27x/lib/DSP -I/opt/tinyos-1.x/tos/platform/pxa27x/lib/ -c -o queue.o queue.c xscale-elf-gcc -g -O2 -Wall -I/opt/tinyos-1.x/tos/platform/pxa27x -I/opt/tinyos-1.x/tos/platform/pxa27x/lib/DSP -I/opt/tinyos-1.x/tos/platform/pxa27x/lib/ -c -o systemUtil.o systemUtil.c In file included from systemUtil.c:2: systemUtil.h:28: aviso: se ignora la directiva de atributo `C' systemUtil.h:28: aviso: se ignora la directiva de atributo `spontaneous' xscale-elf-gcc -g -O2 -Wall -I/opt/tinyos-1.x/tos/platform/pxa27x -I/opt/tinyos-1.x/tos/platform/pxa27x/lib/DSP -I/opt/tinyos-1.x/tos/platform/pxa27x/lib/ -c -o utils.o utils.c xscale-elf-gcc -g -O2 -Wall -I/opt/tinyos-1.x/tos/platform/pxa27x -I/opt/tinyos-1.x/tos/platform/pxa27x/lib/DSP -I/opt/tinyos-1.x/tos/platform/pxa27x/lib/ -c -o wmmx.o wmmx.c xscale-elf-ar -rvs libimote2.a bufferManagement.o downsample.o frequency.o paramtask.o profile.o queue.o systemUtil.o utils.o wmmx.o r - bufferManagement.o r - downsample.o r - frequency.o r - paramtask.o r - profile.o r - queue.o r - systemUtil.o r - utils.o r - wmmx.o make[1]: Leaving directory `/opt/tinyos-1.x/beta/platform/pxa27x/lib' compiling Blink to a imote2 binary ncc -o build/imote2/main.exe -O1 -g -I/opt/tinyos-1.x/tos/lib/CC2420Radio -I/opt/tinyos-1.x/tos/lib/Flash -DAUTO_BATTERY_MONITORING=1 -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=imote2 -fnesc-cfile=build/imote2/app.c -board= -DBOOTLOADER -DIDENT_PROGRAM_NAME=\Blink\ -DIDENT_USER_ID=\drodenas\ -DIDENT_HOSTNAME=\drodenasPC\ -DIDENT_USER_HASH=0xfeea6a95L -DIDENT_UNIX_TIME=0x49efb093L -DIDENT_UID_HASH=0x54910eabL Blink.nc -lm build/imote2/asms.o /opt/tinyos-1.x/tos/platform/pxa27x/lib/libimote2.a In file included from /opt/tinyos-1.x/tos/system/Main.nc:49, from Blink.nc:42: In component `PotC': /opt/tinyos-1.x/tos/system/PotC.nc:90: component HPLPotC not found /opt/tinyos-1.x/tos/system/PotC.nc:93: no match In file included from Blink.nc:42: In component `Main': /opt/tinyos-1.x/tos/system/Main.nc:49: component HPLInit not found /opt/tinyos-1.x/tos/system/Main.nc:52: no match In file included from