[Tinyos-help] set initial stack pointer on mica2

2007-03-02 Thread Matthias Philipp
Hello list, is there any way to specify the initial stack pointer address when compiling TinyOS applications? The reason is, that I'd like to install a monitor on the Atmega128 of a mica2 mote, that resides in the upper memory from 0x1000 to 0x10FF (end of ram). So the stack pointer of any

[Tinyos-help] Re: Changing crystal on tmote sky

2007-03-02 Thread Bhavesh Gupta
Hi All, By default the tmote comes with 32.768 KHz crystal. I have need of using a high frequency crystal with my tmote hardware. If I do replace the crystal on the board does it affect my tinyos based application on it? Do we have a way of setting parameters in the tinyos based on my crystal

RE: [Tinyos-help] A basic Question.......

2007-03-02 Thread Venkatesh S.
To make the mica2 platform to run on Tossim in T2, you need to add the platform_hardware.h file in the mica2/sim folder. This will compile to mica2 platform. Apart from this, there are some files which you may have to consider if you want, for ex, a SPI, it has been started for micaz

[Tinyos-help] long int square root in TinyOs

2007-03-02 Thread Giorgos Mazarakis
Dear all, I am trying to implement a fast 32 bit integer square root in TinyOs 1.x on Mica2 motes. The fastest code in C I found so far was the fred_sqrt which code I copy in the end of this message should anyone needs it. The version found on the net doesn't use casting but it won't work on

[Tinyos-help] can read_log read the specific line of the EEPROM?

2007-03-02 Thread Gary Pan
To all: I can change the example Senselighttolog.nc so that I can write data to the EEPROM in specific line. How can read_log retrieve the specific line? Tutorial says that Each subsequent read_log command you send will read the next log entry from the mote. I wonder that if there is any

[Tinyos-help] Scheduler

2007-03-02 Thread Min Guo
Anyone knows how the scheduler schedule multiple function calls? E.g. in the RealMainP component, while Boot.booted() is signaled, the Boot.booted() events in the connected components will be executed, but how? - Since there is only one thread, are they executed in a liner sequence? What is the

[Tinyos-help] ListenRaw

2007-03-02 Thread Axl Schreiber
Hi all, I am working with Linux and Tinyos 2. The java tool ListenRaw does not work like expected. If I start ListenRaw I can see only Opening port /dev/ttyS0 baud rate: 57600 data bits: 8 stop bits: 1 parity:false and nothing else. No date are displayed!

Re: [Tinyos-help] Re: Changing crystal on tmote sky

2007-03-02 Thread Steve McKown
On Friday 02 March 2007 05:09, Bhavesh Gupta wrote: By default the tmote comes with 32.768 KHz crystal. I have need of using a high frequency crystal with my tmote hardware. If I do replace the crystal on the board does it affect my tinyos based application on it? Do we have a way of

[Tinyos-help] Tossim -- Topology generation

2007-03-02 Thread Octav Chipara
Hi, Does anyone have a topology generation for tossim in T2 handy? Thanks, -- Octav ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] TinyOS-2.x help

2007-03-02 Thread Ali Mir
Hello friends, I have started working on Wireless Sensors a week back. I have installed TinyOS-2.x on my computer and have mica2 motes to work with. Though I understand how this thing works I still face many difficulties. On the www.sourceforge.net website I found many source codes contributed

Re: [Tinyos-help] Scheduler

2007-03-02 Thread Philip Levis
On Mar 2, 2007, at 6:25 AM, Min Guo wrote: Anyone knows how the scheduler schedule multiple function calls? E.g. in the RealMainP component, while Boot.booted() is signaled, the Boot.booted() events in the connected components will be executed, but how? - Since there is only one thread,

Re: [Tinyos-help] Tossim -- Topology generation

2007-03-02 Thread Philip Levis
On Mar 2, 2007, at 8:31 AM, Octav Chipara wrote: Hi, Does anyone have a topology generation for tossim in T2 handy? tinyos-2.x/support/sdk/java/net/tinyos/sim Phil ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

Re: [Tinyos-help] Concurrent Radio and Mote-PC communication in Tmote

2007-03-02 Thread Joe Polastre
Hi Ankur, The default baud rate is 57600 in Boomerang. You should use GenericComm or SPC to send messages, and then address messages to the UART if you would like them to go to the PC. UART and Radio messages in Boomerang can be sent in parallel, because SPC implements a pool that processes

Re: [Tinyos-help] AM IDs

2007-03-02 Thread Benjamin Madore
From the Application Folder: ReverseUART/ReverseUART.h: AM_REVERSEUARTMSG = 1, TestDripDrain/DripDrainPing.h: AM_DRIPDRAINPINGMSG = 1, CountRadio/CountMsg.h: AM_COUNTMSG = 4, TelosADC/CountMsg.h: AM_COUNT_MSG = 4, Pong/PongMsg.h: AM_PINGMSG = 7, Pong/PongMsg.h: AM_PONGMSG = 8,

Re: [Tinyos-help] Concurrent Radio and Mote-PC communication in Tmote

2007-03-02 Thread Tiago Camilo
Hi Joe, Can you give us an example of using the UART interface with SPC. I had already a function that printf to the UART with HPLUART.put(), but when I integrated it with SPC, it stop working. Thanks, Tiago Joe Polastre wrote: Hi Ankur, The default baud rate is 57600 in Boomerang. You

Re: [Tinyos-help] Concurrent Radio and Mote-PC communication in Tmote

2007-03-02 Thread Ankur Kamthe
Hi Joe, Thanks for your reply. regards, ankur ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Concurrent Radio and Mote-PC communication in Tmote

2007-03-02 Thread Joe Polastre
SPC sends packets to the UART, but not raw bytestreams. You need to encapsulate your printf() argument into a message, send the message via SP, and then decode it on the PC using the Java, C, or Python tools. -Joe On 3/2/07, Tiago Camilo [EMAIL PROTECTED] wrote: Hi Joe, Can you give us an

Re: [Tinyos-help] Concurrent Radio and Mote-PC communication in Tmote

2007-03-02 Thread Philip Levis
On Mar 1, 2007, at 7:04 PM, Ankur Kamthe wrote: Hi, I am trying to write an application wherein the Tmote receives data over the radio and forwards it to the PC via the UART. I was not getting the data to flow correctly into the PC, so I was concerned about the following things: 1. Is 57600

[Tinyos-help] Fwd: Question about Deluge source code:

2007-03-02 Thread Faraz Zahabian
-- Forwarded message -- From: Faraz Zahabian [EMAIL PROTECTED] Date: Mar 2, 2007 11:39 AM Subject: Question about Deluge source code: To: tinyos-help@millennium.berkeley.edu Hello everyone, In Deluge.h the reboot delay is set to be 4 ( DELUGE_REBOOT_DELAY = 4 ), I am just

[Tinyos-help] ¡¾Confused¡¿Flash Errors wh en I download Blink code to a micaz

2007-03-02 Thread Steve Gao
Spam detection software, running on the system mail.Millennium.Berkeley.EDU, has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator

[Tinyos-help] Flash Errors when I download Blink code to a micaz

2007-03-02 Thread Steve Gao
Hi, folks, I am a newbie of TinyOS. I just bought a Crossbow Progessional-kit with micaz nodes. But I got some problems when I tried to write the Blink program to a micaz node. Here is what happened: I connected a micaz node to the mib510 board. The mib510 board is connected to a PC. The

[Tinyos-help] tinyos2.0 installation on Windows Vista

2007-03-02 Thread Shuo Xiao
Hi all, Just now I tried to install tinyos2.0 on Windows Vista Business, but there was a problem when installing Atmel AVR tools. I downloaded and installed cygwin from the Internet, but cygwin cannot recognize the command rpm. And I checked the bin directory, the command rpm was not there.

Re: [Tinyos-help] TinyOS-2.x help

2007-03-02 Thread Matthias Philipp
Hi, have a look at http://tinyos.cvs.sourceforge.net/tinyos/tinyos-2.x/ Regards, Matthias Ali Mir wrote: Hello friends, I have started working on Wireless Sensors a week back. I have installed TinyOS-2.x on my computer and have mica2 motes to work with. Though I understand how this thing

Re: [Tinyos-help] TinyOS-2.x help

2007-03-02 Thread R. Steve McKown
On Friday 02 March 2007 09:34, Ali Mir wrote: Hello friends, I have started working on Wireless Sensors a week back. I have installed TinyOS-2.x on my computer and have mica2 motes to work with. Though I understand how this thing works I still face many difficulties. On the

Re: [Tinyos-help] tinyos2.0 installation on Windows Vista

2007-03-02 Thread R. Steve McKown
On Friday 02 March 2007 18:36, Shuo Xiao wrote: Hi all, Just now I tried to install tinyos2.0 on Windows Vista Business, but there was a problem when installing Atmel AVR tools. I downloaded and installed cygwin from the Internet, but cygwin cannot recognize the command rpm. And I checked