[Tinyos-help] Errors to pass from hex to dec

2009-01-15 Thread Lorena Aguirre
Hello, I have a sintax error when I try to do asm{temp5 =swap(temp5)} I have this: uint8_t temp1 = 0xAA; uint8_t temp2 = 0xBB; uint8_t temp3 = 0xCC; uint8_t temp4 = 0xDD; and I want to pass them to: uint32_t temp5; and than temp5 will be temp5=0xAABBCCDD; Could anyone help me please? Thank

Re: [Tinyos-help] Errors to pass from hex to dec

2009-01-15 Thread Urs Hunkeler
Hi Lorena, I am not sure I understand your question. Why do you use asm? How about: temp5 = (temp1 << 24l) + (temp2 << 16l) + (temp3 << 8l) + temp4; or temp5 = 0xAABBCCDDl; The 'l' (lower case 'L') tells the compiler to treat the literal as long (32 bit integer). Cheers, Urs Lorena Aguirr

Re: [Tinyos-help] Understanding CTP intercept

2009-01-15 Thread Manuel Fernandez Santo Tomas
I changed my code and it works perfectly thanks a lot. I removed aux2 and just modified aux1 which is pointing at the payload region of my intercepted message. RadMsgis the name of the structure sent, it has fields for sensor readings and for the nodes in the packet route. Here's the new code, eac

Re: [Tinyos-help] Problem while deploying Agilla on Mica2 sensors

2009-01-15 Thread Ranjani Nagarajan
Hi Michael, I found that all of a sudden the Blink application is also not getting deployed. However, the Blink application already deployed is working (Red LED blinks once per second). I find that the first time I try to execute the "make mica2 reinstall mib510,com" command, it hangs after the ui

[Tinyos-help] projectgroup0...@gmail.com

2009-01-15 Thread PROJECT GROUP
How *tinyos* and *cygwin *can be used with ARM processor ??? ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] projectgroup0...@gmail.com

2009-01-15 Thread PROJECT GROUP
How tinyos can be used with ARM processor ??? ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] projectgroup0...@gmail.com

2009-01-15 Thread Jordi Soucheiron
Cygwin cannot be used from an arm processor (it's a program for windows). If you have a linux distribution running in your arm processor tinyos should work fine (I've tried the sf from the c sdk and works fine on an EP93xx chip). 2009/1/15 PROJECT GROUP > > > > > How *tinyos* and *cygwin *can b

Re: [Tinyos-help] Cannot find symbol SerialPacket

2009-01-15 Thread
Can anybody please help me on this. Regards Vimal Kumar From: Kumar, Vimal (S&T-Student) Sent: 06 January 2009 18:43 To: 'tinyos-help@millennium.berkeley.edu' Subject: Cannot find symbol SerialPacket I am a newbie to TinyOS, and I am stuck at Mote to PC Serial Communication chapter.

[Tinyos-help] Is TinyDB available in Tinyos-2.1?

2009-01-15 Thread Janaka Prabhash Kumarasinghe
Hi, I'm new to TinyOS domain. I can find that TinyDB is available in TinyOS-1.x. At the same time, I can't find the mentioned files and directories in TinyOS-2.x directory structure. I saw that TinyDB was not available in TinyOS-2.x by April 2007. ( https://www.millennium.berkeley.edu/pipermail/ti

Re: [Tinyos-help] GPIO usage

2009-01-15 Thread Michael Schippling
I answer this about ever 6 months. Here's a second order back link: http://www.mail-archive.com/tinyos-help@millennium.berkeley.edu/msg11320.html And my list of what pins and signals do what on the Micas: http://www.etantdonnes.com/Motes/ATMEGApins.txt The connector is speced on the schemat

Re: [Tinyos-help] Problem while deploying Agilla on Mica2 sensors

2009-01-15 Thread Michael Schippling
I think I remember having UISP hang up and hold onto the port. I've forgotten why it hangs now and it was a long time ago. Something to do with cygwin versions and port names and stuff. There's a "-v4" verbose argument you can use, try uisp --help. You might find something in the help list archive

[Tinyos-help] FW: Errors to pass from hex to dec

2009-01-15 Thread Symon Vezina
I'm not sure either about what your're trying to do. Seems like your're trying to unmarshalizing or unserializing radio data. And from the bytes received, you seem to be trying to reconstruct a uint32_t. Apart from my speculation and to answer your question, here is what I would do: #includ

Re: [Tinyos-help] Is TinyDB available in Tinyos-2.1?

2009-01-15 Thread Omprakash Gnawali
On Thu, Jan 15, 2009 at 8:14 AM, Janaka Prabhash Kumarasinghe wrote: > Hi, > > I'm new to TinyOS domain. I can find that TinyDB is available in TinyOS-1.x. > At the same time, I can't find the mentioned files and directories in > TinyOS-2.x directory structure. I saw that TinyDB was not available

Re: [Tinyos-help] projectgroup0...@gmail.com

2009-01-15 Thread Eric Decker
It isn't clear what you are asking. I'm assuming you are asking about how TinyOS can be using on an ARM based platform. If so here is what you need to figure out: 1) Find an appropriate toolchain (cross-compiler tool suite) for the ARM processor you are using. I'm pretty sure that a gcc based AR