[Tinyos-help] Programming error on Mib-510

2007-02-21 Thread ankur jain
Hi all, I am trying to program mica-2 mote using Mib-510 programming board using IBM thinkpad. I have tried to install by both mechanisms (i.e through Moteconfig as well as using make mica install.x utility from the terminal). but in the first case it is giving following error: Programmer

RE: [Tinyos-help] Programming error on Mib-510

2007-02-21 Thread Siirtola Harri
1. Make sure the slider switch on MIB510 (close to reset button) is OFF 2. Install mica mote _firmly_ to MIB510 3. Make sure you use the correct serial port in make command (/dev/ttyS0 is COM1) 4. Retry several times with make command (use make mica reinstall,x to avoid recompile), MIB510

[Tinyos-help] tutorial error

2007-02-21 Thread fatima cabot
Hi. I'm following the TOSSIM tutorial for tinyos 2.0 (lesson 11) and acording to reading variables, it says: For example, this script will start a simulationi of 5 nodes and run it until node 0's counter reaches 10 but in the code, the for loop says: for i in range(0,9): m=t.getNode(i) Is it

[Tinyos-help] Problem with MsgReader in lesson 4 (TinyOS 2.0)

2007-02-21 Thread Eva Maria Garcia
Hi, I have a problem with MsgReader in TinyOS 2.x on micaz platform. I followed up the tinyos 2.x tutorial in lesson 4. Everything went well until running java net.tinyos.tools.MsgReader BlinkToRadioMsg. The terminal just showed [EMAIL PROTECTED]:57600: resynchronising and then stayed

[Tinyos-help] set-mote-id: not found (error 127)

2007-02-21 Thread Alex Mason
Hi, I have just started using TinyOS 2.x, installed under cygwin using the tutorial to be found on the TinyOS website. Things seem pretty smooth, but I am having trouble assigning node id's at compile time, as the error below indicates. I am just wondering what the problem could be with

RE: [Tinyos-help] Outdoor Range with Tmote sky

2007-02-21 Thread Aleksandr N. Sadkov
In theory Rain doesn't affect on Path Loss at 2.4GHz, for example (http://www.radionet.com/_FileRoot/318040.pdf) But I have measured great drop in RSSI during the rain, I guess it's due to antenna effects. Regards, Sadkov Aleksandr. A few rules of thumb... The lower the frequency, the

Re: [Tinyos-help] set-mote-id: not found (error 127)

2007-02-21 Thread sougata sen
hi alex i have never worked with 2.x. but in 1.x the build command is make mica2 install,0 mib510,com1 **if u r using mib510 programming board and com 1 On 2/21/07, Alex Mason [EMAIL PROTECTED] wrote: Hi, I have just started using TinyOS 2.x, installed under cygwin using the tutorial to

RE: [Tinyos-help] set-mote-id: not found (error 127)

2007-02-21 Thread Alex Mason
Thanks for the reply. Unfortunately, that produces the same effect; I have the MIB510 board configured in my makefile, however for completeness: [EMAIL PROTECTED] /opt/tinyos-2.x/contrib/alex/testPacket $ make micaz install,0 mib510,com1 mkdir -p build/micaz compiling TestPacketAppC to a

Re: [Tinyos-help] set-mote-id: not found (error 127)

2007-02-21 Thread Urs Hunkeler
Hi Alex, set-mote-id changes the value of the symbols in the binary of your program. It looks like this tools is either not installed or cannot be found by the make-file. As I am currently not running Windows I can't tell you where it is supposed to be located. On my linux installation it is

[Tinyos-help] Fwd: problem of tinyviz

2007-02-21 Thread Boushra MAALA
Note: forwarded message attached. - Be a PS3 game guru. Get your game face on with the latest PS3 news and previews at Yahoo! Games.---BeginMessage--- all, i have two problems: the first: i do the following: cd

Re: [Tinyos-help] Problems using BlockStorage

2007-02-21 Thread Leijun Huang
Did you call BlockWrite.commit() after writing to the flash ? --Leijun On 2/21/07, Bob Merrison [EMAIL PROTECTED] wrote: Hi, I'm developing an application in TinyOS-1.x for a Moteiv TMote Sky mote that makes fairly heavy use of the mote's 1024k external flash - via the components

Re: [Tinyos-help] set-mote-id: not found (error 127)

2007-02-21 Thread Steve McKown
On Wednesday 21 February 2007 05:52, Alex Mason wrote: Unfortunately, that produces the same effect; I have the MIB510 board configured in my makefile, however for completeness: [EMAIL PROTECTED] /opt/tinyos-2.x/contrib/alex/testPacket $ make micaz install,0 mib510,com1 mkdir -p build/micaz

Re: [Tinyos-help] Problems using BlockStorage

2007-02-21 Thread Bob Merrison
Yes, and it's not returning any errors. On 2/21/07, Leijun Huang [EMAIL PROTECTED] wrote: Did you call BlockWrite.commit() after writing to the flash ? --Leijun On 2/21/07, Bob Merrison [EMAIL PROTECTED] wrote: Hi, I'm developing an application in TinyOS-1.x for a Moteiv TMote Sky mote

Re: [Tinyos-help] Problems using BlockStorage

2007-02-21 Thread Bob Merrison
Thanks a lot David - I will definitely look into using that. On 2/21/07, David Moss [EMAIL PROTECTED] wrote: I've gone down the BlockStorage + TinyOS 1.x path - part of that was creating the FlashViewer app to figure out why BlockStorage was doing what it does - and found the same issues

[Tinyos-help] Microphone sensor in Tinyos 2.0

2007-02-21 Thread Matthias Gauger
Hello, Is there any support for accessing the microphone sensor on the Mica 2 MTS 300 in Tinyos 2.0? The abstractions known from Tinyos 1.x (MicC) do not seem to exists anymore. Any pointers would be appreciated! Thanks! Matthias ___ Tinyos-help

Re: [Tinyos-help] Problems using BlockStorage

2007-02-21 Thread Bob Merrison
On attempting to compile: ../../media/stm25p/Stm25pFlashBridgeM.nc:260: too few arguments to function `HAL STM25P.computeCrc' This is your call to computeCrc: call HALSTM25P.computeCrc(currentCrc, currentCrc, addr, len); This is the defintion of the command: command result_t computeCrc(uint8_t

RE: [Tinyos-help] How to read data from SerialForwarder

2007-02-21 Thread Jan Soukup
The first two bytes are really an initialization message and I have to reply with two bytes also. Then I can receive the data I want. See http://cents.cs.berkeley.edu/tinywiki/index.php/Serial_Forwarder_Protocol thanks, Jan __ Od:

Re: [Tinyos-help] Using SET_BIT, CLR_BIT, READ_BIT and FLIP_BIT

2007-02-21 Thread Nicholas Beck
These are a set of bit-manipulation macro functions. For the atmega128 under tinyos-2.x they are defined in tos/chips/atm128hardware.h However, in tinyos-2.x these should only need to be used by the HPL components; the HPL components will provide interfaces that higher layers should use. I

Re: [Tinyos-help] Problems using BlockStorage

2007-02-21 Thread David Moss
Looks like you're using an older version of 1.x? I was using 1.1.15 at the time I created that, and the HALSTM25P interface had changed just before then. I should just make the newest HALSTM25P file available in the rincon directory, since quite a few people run into this issue. The

Re: [Tinyos-help] Problems using BlockStorage

2007-02-21 Thread Bob Merrison
Do I need to format my flash to your Blackbook format or anything? I'm attempting to run the MediaFormat application included with FlashBridge, but the yellow light on my mote just stays on... On 2/21/07, David Moss [EMAIL PROTECTED] wrote: Looks like you're using an older version of 1.x? I

[Tinyos-help] (no subject)

2007-02-21 Thread Chris Byers
How come when I use Xlisten to get the Time of packet arrival: xlisten -t crimson freezes up and I have to close out of it? It freezes up when I try to stop the incoming data stream. To stop it I turn off the mote and then left click in the output window and click kill process Does anyone know

[Tinyos-help] Clock drift model fot TMote Sky???

2007-02-21 Thread Luis E. Palafox-Maestre
Hi, I'm implementing a cluster-based network with TMotes that need to be synchronized, to do so I'm trying to do so with a fairly simple technique: sending a beacon every certain time period. However the beacon frequency depends on the clock drift of the TMotes. So, I was wondering if someone

[Tinyos-help] Change start address on telosb

2007-02-21 Thread Ming
I am currently implement the network reprogramming in the tinyos-2.x on telosb. I need to compile and link the application program to the starting address other that the original one. How can I change of the start address of the program. Thank you. C.Ming

[Tinyos-help] problem with function parameters

2007-02-21 Thread Abhishek Jain
Hi, I encountered this problem. I am passing a pointer (to a structure) to a function along with some other parameters. I print that structure before making the function call, inside that function, and after making that function call. The 1st and 3rd values are identical, as they should be, but

[Tinyos-help] Re: [Tinyos-commits] DAC

2007-02-21 Thread Joe Polastre
It is available in the Boomerang software distribution from www.moteiv.com. -Joe On 2/21/07, Tyler Barton [EMAIL PROTECTED] wrote: Joe Polastre, I am a grad student at UCSB working on a project using the MSP430 in a mote. I saw that you had worked on a module for the implementation of the

[Tinyos-help] Crossbow PowerManagement and Energy Consumption Approximation

2007-02-21 Thread scem geyik
Hi everyone, I wanted to model the energy consumption of a mote (micaz or mica2) in the code (by having an initial value and decreasing it for any action) rather than on hardware side (looking at the values like voltage etc. whatever) as I thought it would be simpler. I saw this document

Re: [Tinyos-help] Problems using BlockStorage

2007-02-21 Thread Bob Merrison
After much head-scratching I think I found a bug in your MediaFormat component. Line 145 of MediaFormatM.nc was: if(currentEraseUnit = call FlashSettings.getTotalEraseUnits()) { But the erase units are zero-indexed. Changing the = to seems to fix it up nicely. Thanks for your help, I'll stop

[Tinyos-help] Tmote sky range and power consumption with external antenna

2007-02-21 Thread manu suryavansh
Hi, I am using an antenova antenna(titanis) with a typical gain of 4.1 dBi, I wanted to know does the mote consumes more power with an external antenna( I think power consumption remains same and it is transferring the same power to the antenna as it was to the internal antenna). Also how can I

Re: [Tinyos-help] Tmote sky range and power consumption with external antenna

2007-02-21 Thread Robert Szewczyk
Manu, The power consumption is the same regardless of what type of antenna you attach.. A higher gain antenna may extend your range, but there are a few factors at play here. A higher gain antenna will exhibit a better range than the lower gain antenna as long as you're transmitting in the beam

[Tinyos-help] questions about imote2 using tiyos1.x

2007-02-21 Thread Yang Peng
Hi all, I am working on imote2 development with tinyos1.x now, I am a little confused about the register definition for PXA27X. from /opt/tinyos-1.x/beta/platform/pxa27x I got file pxa27x_registers_def.h (filetos1) from /opt/tinyos-2.x/tos/chips/pxa27x I got file pxa27x_registers.h

Re: [Tinyos-help] tutorial error

2007-02-21 Thread Philip Levis
On Wed, 2007-02-21 at 03:40, fatima cabot wrote: Hi. I'm following the TOSSIM tutorial for tinyos 2.0 (lesson 11) and acording to reading variables, it says: For example, this script will start a simulationi of 5 nodes and run it until node 0's counter reaches 10 but in the code, the for

Re: [Tinyos-help] Problems using BlockStorage

2007-02-21 Thread Bob Merrison
Okay, now I've run into another really strange problem. Running MediaFormat on my motes works fine and now I'm attempting to use FlashBridge in my own application. Basically all I'm doing with it is waiting for the FlashBridge.ready event to fire and then posting a task to erase sector 0. Nothing

Re: [Tinyos-help] Java Makefile

2007-02-21 Thread Michael Schippling
I'm sorry but my knowledge of makefile construction stopped accreting around 1990 so the TOS inner make workings are pretty much opaque to me. try: man make in the bash shell to see some more modern instructions. However the general makefile structure is: tagname:things it is

Re: [Tinyos-help] Outdoor Range with Tmote sky

2007-02-21 Thread Michael Schippling
That ref you give looks like a pretty good analysis. Although I can't attest to the accuracy of any of it, it's got lots of cool equations. I assume you are referring to the graph on pg 17, where the no-problem-with-rain statement is made...That particular page is a really fabulous example of

[Tinyos-help] Re:

2007-02-21 Thread Michael Schippling
Actually I'm not entirely clear who is connected to whom and which is dying first, but... I will hazard that the xlisten or SF connection is hung-up in some data or close wait state, which are sometimes not even interruptible. I don't know how thy implement their exit()s but it's a good bet that

[Tinyos-help] Re: Setting ADC paramaters

2007-02-21 Thread Michael Schippling
Unless you are free-running the ADC it will probably have no effect. What SSR() changes is the internal clock pre-scaler for the ADCs, and effectively the time of conversion (and sampling accuracy to some extent, but no one really mentions that). With the slowest pre-scale setting I think

Re: [Tinyos-help] Tmote sky range and power consumption with external antenna

2007-02-21 Thread Michael Schippling
Just out of curiosity, says the cat... If the antenna system is mismatched would that affect the actual power usage or just the output power? MS Robert Szewczyk wrote: Manu, The power consumption is the same regardless of what type of antenna you attach.. A higher gain antenna may extend

[Tinyos-help] I2C Communication problem using Tmote

2007-02-21 Thread Ankur Kamthe
Hi all, I am trying to interface a tmote with a cyclops camera. I am using the 10-pin expansion connector of the Tmote for powering the cyclops and using the I2C pins for communication. No other pins are connected between the two devices. The mote is the master and the cyclops is the slave

Re: [Tinyos-help] I2C Communication problem using Tmote

2007-02-21 Thread Philip Levis
On Feb 21, 2007, at 10:26 PM, Ankur Kamthe wrote: Hi all, I am trying to interface a tmote with a cyclops camera. I am using the 10-pin expansion connector of the Tmote for powering the cyclops and using the I2C pins for communication. No other pins are connected between the two devices. The

Re: [Tinyos-help] Clock drift model fot TMote Sky???

2007-02-21 Thread Urs Hunkeler
Hi Luis, I did some measurements some time ago. I just compared the clock-drift of 5 or 10 motes over one day. The maximum difference I saw was about 0.5s in 24h. Apparently different versions of the Tmotes use different crystals. They probably have similar characteristics. This message in the