Re: [Tinyos-help] Few questions

2012-03-17 Thread David Rodenas Herráiz
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

[Tinyos-help] Problem installing app in MicaZ

2012-03-08 Thread David Rodenas Herráiz
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

[Tinyos-help] Problem with BaseStation15.4

2012-02-21 Thread David Rodenas Herráiz
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

Re: [Tinyos-help] Problem with BaseStation15.4

2012-02-21 Thread David Rodenas Herráiz
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

[Tinyos-help] (no subject)

2012-02-13 Thread David Rodenas Herráiz
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

Re: [Tinyos-help] (no subject)

2012-02-13 Thread David Rodenas Herráiz
@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

Re: [Tinyos-help] (no subject)

2012-02-13 Thread David Rodenas Herráiz
, 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

Re: [Tinyos-help] Stop spam!!!!!!!!

2012-02-02 Thread David Rodenas Herráiz
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

Re: [Tinyos-help] Different compilers within the same TinyOS-2.1

2011-10-26 Thread David Rodenas Herráiz
@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

Re: [Tinyos-help] Different compilers within the same TinyOS-2.1

2011-10-26 Thread David Rodenas Herráiz
. 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

[Tinyos-help] Different compilers within the same TinyOS-2.1

2011-10-25 Thread David Rodenas Herráiz
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

Re: [Tinyos-help] Current mac protocol

2010-10-20 Thread David Rodenas Herráiz
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

[Tinyos-help] How to send data from PC to mote using SerialForwarder

2010-06-29 Thread David Rodenas Herráiz
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

Re: [Tinyos-help] How to send data from PC to mote using SerialForwarder

2010-06-29 Thread David Rodenas Herráiz
, Manjunath D Manjunath D *** On Tue, 29 Jun 2010, David Rodenas Herráiz

[Tinyos-help] Big endian

2010-03-12 Thread David Rodenas Herráiz
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

[Tinyos-help] Application in C++ for Tinyos

2010-03-09 Thread David Rodenas Herráiz
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!

Re: [Tinyos-help] Application in C++ for Tinyos

2010-03-09 Thread David Rodenas Herráiz
: 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

[Tinyos-help] Use of the SerialForwarder

2010-03-09 Thread David Rodenas Herráiz
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);

[Tinyos-help] Size of array

2009-12-02 Thread David Rodenas Herráiz
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

[Tinyos-help] FW: Size of array

2009-12-02 Thread David Rodenas Herráiz
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

[Tinyos-help] FW: Question about SDRAM and malloc

2009-11-11 Thread David Rodenas Herráiz
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__

Re: [Tinyos-help] FW: Question about SDRAM and malloc

2009-11-11 Thread David Rodenas Herráiz
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

[Tinyos-help] Question about SDRAM and malloc

2009-11-10 Thread David Rodenas Herráiz
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);

[Tinyos-help] Question about SDRAM and malloc

2009-11-10 Thread David Rodenas Herráiz
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

[Tinyos-help] Using memories

2009-11-09 Thread David Rodenas Herráiz
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

[Tinyos-help] Problems with memory and malloc?

2009-10-10 Thread David Rodenas Herráiz
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

[Tinyos-help] (no subject)

2009-10-07 Thread David Rodenas Herráiz
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

[Tinyos-help] Low Power Communications Disabled

2009-09-29 Thread David Rodenas Herráiz
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

[Tinyos-help] Application to see messages?

2009-09-29 Thread David Rodenas Herráiz
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

[Tinyos-help] Problem Compiling

2009-09-18 Thread David Rodenas Herráiz
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:

[Tinyos-help] help with imote2 and tinyos-1.x

2009-04-23 Thread David Rodenas Herráiz
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