[Tinyos-help] How to cleanly shut down the CC2420

2006-03-13 Thread Chuck Kring
Hello, My micaz application has periods of time where I know there will be no radio traffic and I would like to shut down the CC2420 radio in order to save power. I'm currently callingGenericCommPromiscuous.stop() and start() but I'm concerned that this might have some undesirable side effe

Re: [Tinyos-help] Writing tmote flash

2006-03-13 Thread Jonathan Hui
The nature of the flash chip means that overlapping writes may result in what you expect. Write operations on the STM25P can only flip bits from 1 to 0. If you want to flip them back to 1, you need to perform an erase. Keep in mind that erase operates on 64KB sectors. -- Jonathan W. Hui [EMAIL PRO

Re: [Tinyos-help] write/read from flash on telosb mote

2006-03-13 Thread Jonathan Hui
On 3/7/06, David Moss <[EMAIL PROTECTED]> wrote: > Johnathan - are you maintaining the /tos/Flash/ code? Is it possible to add > a line to the BlockStorage.h file to #include "Storage.h" automatically so > developers don't have these errors? I see BlockStorage.h is included by the > BlockStorage

Re: [Tinyos-help] Any Applications using bmac

2006-03-13 Thread Joe Polastre
they're all using bmac. On 3/13/06, jagan nath <[EMAIL PROTECTED]> wrote: > Hi all, > Are there any sample applications available on the CVS using bmac > > > TIA > jagan > > ___ > Tinyos-help mailing list > Tinyos-help@Millennium.Berkeley.EDU > https

[Tinyos-help] Any Applications using bmac

2006-03-13 Thread jagan nath
Hi all, Are there any sample applications available on the CVS using bmac TIA jagan ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

RE: [Tinyos-help] How to unset MOTECOM?

2006-03-13 Thread #AMIT SATPATHY#
I have typed make for the avrmote folder and compiled everything there. But i still get the same error message.   Thanks and regards.   Amit. From: Andrew Redfern [mailto:[EMAIL PROTECTED]Sent: Tue 3/14/2006 11:19 AMTo: #AMIT SATPATHY#Cc: tinyos-help@millennium.berkeley.eduSubject: Re:

Re: [Tinyos-help] How to unset MOTECOM?

2006-03-13 Thread Andrew Redfern
because you are doing a mica2 you should do the avrmotealso if you go to tools/java and type make this should make all these for you. AndrewOn 3/13/06, #AMIT SATPATHY# <[EMAIL PROTECTED]> wrote: Thanks!   I am currently trying to run this on Mica2 motes. However, i looked at the folder

[Tinyos-help]_access EEPROM

2006-03-13 Thread erman ayday
Hi,   I am trying to read from the mica mote using theread_log command. The TinyOS manual says it reads a line sequentiallyevery time this command is executed; however, I seem to be getting random data.Before getting any data from the mote, I am writing to it the numberof transmissions in one line

RE: [Tinyos-help] How to unset MOTECOM?

2006-03-13 Thread #AMIT SATPATHY#
Thanks!   I am currently trying to run this on Mica2 motes. However, i looked at the folder you mentioned and there is no folder present for Mica2. There is a folder for MicaZ, avrmote and telos but no Mica2. What should i do in this case? Is a folder for Mica2 supposed to be present in the

Re: [Tinyos-help] How to unset MOTECOM?

2006-03-13 Thread Andrew Redfern
Hi Amit, I have had the same problem some time ago.  What fixed it for me was to take a look at /tools/java/net/tinyos/message.  In that folder you will find folders for the different platforms.  You should go into the folder for the platform that you are using and compile it. Hope this helps, An

Re: [Tinyos-help] Changing MICA2 baud rate

2006-03-13 Thread Michael Schippling
I think the mica2 radio baud rate IS 19200, but it looks like you need to change CC1K_BAUDRATE after extracting much useless information from the CC1000 spec sheet. If you mean the UART baudrate, which defaults to 57K, look at HPLUART0M.nc and the USART section of the ATMEGA chip spec sheet. MS

RE: [Tinyos-help] How to unset MOTECOM?

2006-03-13 Thread #AMIT SATPATHY#
Title: Re: [Tinyos-help] How to unset MOTECOM? The error is as follows:   -- Capture Output --"C:\Program Files\Crossbow\Crimson\IDE.bat" "C:\tinyos\cygwin\opt\tinyos-1.x\apps\HighFrequencySampling2" "c:\tinyos\cygwin\bin" "java Sample 200 2"##

[Tinyos-help] Conflict between HPLTIMER1M.nc and MicroTimerM.nc for MicaZ

2006-03-13 Thread #AMIT SATPATHY#
Title: Re: [Tinyos-help] How to unset MOTECOM? Hi.   I am currently trying to run High Frequency Sampling in MicaZ motes. As such, i have modified a few lines of code namely the definition part as follows: - #if defined(PLATFORM_MICA2) || defined(PLATFORM_MICAZ) // just

Re: [Tinyos-help] How to unset MOTECOM?

2006-03-13 Thread Prabal Dutta
What's the actual error? Can you cut and paste it? - Prabal On 3/13/06, #AMIT SATPATHY# <[EMAIL PROTECTED]> wrote: > > Thanks. That worked! > > But, i still get a platform specific TOSMsg cannot be found error when i run > the JAVA program and after unsetting MOTECOM. What other bugs could be >

RE: [Tinyos-help] How to unset MOTECOM?

2006-03-13 Thread #AMIT SATPATHY#
Title: Re: [Tinyos-help] How to unset MOTECOM? Thanks. That worked!   But, i still get a platform specific TOSMsg cannot be found error when i run the JAVA program and after unsetting MOTECOM. What other bugs could be causing this problem? Thanks and regards.   Amit. From: [EMAIL PROTECT

Re: [Tinyos-help] TOSbase, usb write problems with MS windows

2006-03-13 Thread Prabal Dutta
You might also consider looking into MIG -- the message interface generator. It allows you to specify a message using simple C structs and then generate corresponding data structures in Java to create and access those messages. I believe there's a python version of MIG floating around somewhere s

Re: [Tinyos-help] How to unset MOTECOM?

2006-03-13 Thread Prabal Dutta
Typing: unset -v MOTECOM should do the trick (the -v flag indicates you want to unset a variable, but it's not necessary). You can check that it's been unset by typing: echo $MOTECOM If it's blank, MOTECOM is removed as one of your environment variable. - Prabal On 3/13/06, #AMIT SATPATHY# <[E

[Tinyos-help] How to unset MOTECOM?

2006-03-13 Thread #AMIT SATPATHY#
Title: Re: [Tinyos-help] High Frequency Sampling - Sample.class run error Hi.   I am currently trying to use Serial Forwarder to listen for some packets. However, whenever i run the JAVA program, i get an error saying that a platform specific TOSMsg cannot be found. After looking through s

[Tinyos-help] Changing MICA2 baud rate

2006-03-13 Thread Aby John
How can I change the baud rate of the MICA2 from 57600 to 19200? The Xbow website says that CC1000Const.h needs to be modified, but I'm not sure how to.   Thanks   Aby ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millenniu

Re: [Tinyos-help] TOSbase, usb write problems with MS windows

2006-03-13 Thread Michael Schippling
You probably have to make sure you have formatted the messages correctly. I can imagine it being difficult with hyperterm since the messages are binary and terms usually insist on ascii... Look back in this list for descriptions of the message formats, there's a good online paper that I can never

Re: [Tinyos-help] Oscope codes - HELP!

2006-03-13 Thread Michael Schippling
You still don't really say what is not working correctly However I can guess that your Light/Temp readings are not coming across properly. There are two problems in the code you sent...Basically you have to insure that the conversions take place sequentially. First...oops I forget what kind o

[Tinyos-help] TOSbase, usb write problems with MS windows

2006-03-13 Thread Hyemin Chung
Hi,   I am trying to connect a tmote to a PC with MS windows and FTDI USB serial converter driver.   For a test, i am using python(pyserial) and hyper terminal for a PC, and TOSbase for a tmote.   I found that I could read from the tmote but I couldn't send anything from PC to tmote.   I modified T

Re: [Tinyos-help] Questions on vector operation

2006-03-13 Thread Michael Schippling
nesc/TOS is basically C with a few added useful features and a bunch of extra obsfucation...the latter being my opinion. So mostly what you can do in C you can do on a mote. But you need to remember that you are working on a Controller, not a Computer. There is limited memory, in the K's not M's,

[Tinyos-help] Reading from the INTERNAL Flash on tmote sky

2006-03-13 Thread Matthew Poropat
Hi everybody, I am trying to figure out how to read from the Internal flash, on a tmote sky. For as much as I have understood, BlockStorage and EEPROM ( ByteEEPROM and PageEEPROM ) are both used for reading/writing/formatting only the external flash. On the other side there is the InternalFlash mo

[Tinyos-help] Questions on vector operation

2006-03-13 Thread Yupeng Liang
Hi All, I have a basic question about doing vector operation on Tmote sky motes: (1) Can we store data into vectors or arrays? If yes, how? And where to look up? Same as in C? (2) Can we do vector multiplications directly? (3) Can we define "for" loops in TinyOS? If yes, how? same as in C? Thank

Re: [Tinyos-help] Light barrier application

2006-03-13 Thread Chuck Kring
Hi Christian, Have you considered a capacitive proximity sensor? You haven't said whether the bottles are full or how close you can place the sensor to the bottle but given the right conditions it might work better. Your sample rate does seem excessive. You are sampling 100 times per second

Re: [Tinyos-help] error in XSensorMTS300

2006-03-13 Thread davisj2
Esmaeil, I am using XSensorMTS400, and after upgrading from TinyOS-1.1.10 to TinyOS-1.1.15, i got the same error. Using "java net.tinyos.tools.Listen" showed me that I was infact using the correct packet handler type, So i stoped playing around and started to rewrite the java Listen, I would sugg

RE: [Tinyos-help] write/read from flash on telosb mote

2006-03-13 Thread David Moss
Looks like you two might be experiencing the same problem in some way. Raja - were you able to download files in the /contrib/rincon/tools/java directory? It shows on my CVS these files were uploaded to HEAD, so they should exist for everybody to download just like the other directories on there.

Re: [Tinyos-help] Oscope codes - HELP!

2006-03-13 Thread Xenia Economidou
Dear Manu and Michael, I am grateful for your replies. I have read lesson 6 thourully but it is still not clear to me how to print the actual values on the screen. What I want to do, is to display the temperature in another Java program I have written, which illustrates a Room and will also check i

[Tinyos-help] Doubt in CC1000RadioIntM.nc

2006-03-13 Thread jagan nath
Hi all There are two versions of this file, one in tos/platform/mica2 and the other in contrib/ucb/tos//CC1000pulse/ And both of them are different, Can any body tell me why there is an additional case:PULSE_CHECK_STATE(in the eventwakeupTimer.fired )in the version in CC1000Pulse. And how come it

[Tinyos-help] error in XSensorMTS300

2006-03-13 Thread Esmaeil Nadimi
Hi all I am trying to program the motes with xsensormts300 but after running xlisten and when I try to aggregate the data, I receive the following error: Error: no packet handler for tos type 0x03 Error: no packet handler for tos type 0x01 ... ... And so on, Any solution will be appreciated. Esmae

[Tinyos-help] NesC debugger tools

2006-03-13 Thread [EMAIL PROTECTED]
Hi, I would know if exist a way to debug NesC code under Windows. I had read about a "GDB" tool working under Linux Systems. Anyone know the way to install that tool under windows with cygwin? Anyone know others tools? I'm using TMote Sky Mote developed by MoteIv. Thank for any help. ***Alex*

Re: [Tinyos-help] write/read from flash on telosb mote

2006-03-13 Thread Kasper Bonne
On 3/10/06, David Moss <[EMAIL PROTECTED]> wrote: > Let me know if the message payload size gives you any problems. I uploaded > some changes this morning to reflect a 28-byte payload maximum, which should > be compatible with everyone's system. > > Before, I had the payload sizes of the FlashView

[Tinyos-help] Everything solved but something remains

2006-03-13 Thread Bruno Bianco
Hi. Finally I have solved the parallel cable problem. Issuing manually the command "uisp -dprog=avrisp -dpart=ATmega128 --wr_fuse_e=ff --upload if=build/micaz/main.srec.out" , blink is correctly uploaded and the mote works. Now the hard part: I would like to change something somewhere ( makefiles

[Tinyos-help] RSSI

2006-03-13 Thread Roberto Pagliari
How can I do RSSI measurements? ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Ranging

2006-03-13 Thread wyd
hello,everyone! I want to implement DV-Distance algorithm,which component I should use? Ranging or RSSI? Thanks in advance. Any reply will be helpful. wyd [EMAIL PROTECTED]   2006-03-13 ___ Tinyos-hel

RE: [Tinyos-help] Tyndall motes

2006-03-13 Thread Ciaran Lynch
http://www.cs.ucc.ie/misl/dsystems/HTML/dsys25.php The Software link on that page gives you an rpm of the software, the Overview link gives you contact information for the people responsible for it. Hope this helps, Ciaran Lynch > -Original Message- > From: [EMAIL PROTECTED] > [mailto:

[Tinyos-help] Light barrier application

2006-03-13 Thread Hoell, Christian (EXT)
Hi everyone, I'm currently developing an application counting bottles on a transportation system. I'd like to use the photo sensors on the tmote. But it's quite hard for me to detect a bottle passing by without using an extra light. I've also played with a white LED and try to trigger on the r

[Tinyos-help] Tyndall motes

2006-03-13 Thread Gelu Contiu
Hi, Does anyone have any documentation on the Tyndall motes? I have searched the web but I couldn't find almost nothing. They also work with TinyOS, but the code is not open source. I would appreciate any suggested web link or document. Thank you, Gelu _

Re: [Tinyos-help] Changing the path

2006-03-13 Thread Michael Schippling
in case that isn't as clear as it might seem... First, if you are not familiar with unix/linux find some intro material online or at your favorite bookstore. Then: cd [dir/dir/dir] "changes directory" to someplace in the file tree so cd /opt/tinyos-1.1.7/tools/scripts should go to the direct