Re: [Tinyos-help] RSSI code

2008-03-26 Thread David
> > At first I'm sorry for interrupting. Can some one provide me the code to get > the RSSI value for CC2430 mote? and I'm using tinyos-2.x. Please help me. > Thanks for your help. > As far as I know, you can either get a background RSSI value, or RSSI values for individual received packets. I ass

Re: [Tinyos-help] Deluge 2.0 supporting heterogeneous networks

2008-03-26 Thread David
m of a new Deluge interface and a set of events your app can respond to. Razvan might add this when he has time (we've discussed it off-list), otherwise I'll add it my self later when I need it. David. > > Regards, > Vishal > > __

[Tinyos-help] Bug in tos/chips/stm25p/Stm25pLogP.nc?

2008-03-26 Thread David
he meanwhile I will attempt to debug the Stm25pLogP module. I will forward any patches etc. David. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Low power listening

2008-03-25 Thread David Henry
Which sources are you using? Boomerang allows you to change the duty cycle via the lowpower parameter of make. The NETSYNC_PERIOD_LOG2 macro allows you to change the time between listening periods by default NETSYNC_PERIOD_LOG2 is 16 i.e. 2**16 ticks of the 32khz clock is 2 seconds. Default low

[Tinyos-help] Can Boomerang MultiHop send from PC to Mote?

2008-03-25 Thread David Henry
Is the Boomerang Multihop data flow inherently one way i.e. mote to base station? If not, how do I send messages from base station to motes? The only example that I can find which combines MultiHop and messages to PC is the Delta application, and that only sends one way , mote to PC. __

Re: [Tinyos-help] packet size

2008-03-25 Thread David
> what is the maximum packet size possible in tinyos.the default is > 36bytes.where should we change the length.is message size different > from packet size Payload length depends on your radio chipset. See http://www.tinyos.net/tinyos-2.x/doc/html/tep111.html, specifically the parts about TOSH_

[Tinyos-help] Using GlobalTime how?

2008-03-20 Thread David Henry
. So...? David Henry ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Re: telos sniffer

2008-03-18 Thread David Valencia
k. If you plan on giving this try and you are using linux instead then I think it should work because linux does provide a hook to the "localhost". For your information, I did contact the author but he informed me that he was no longer supporting the project. Hope this helped. Good luck.

RE: [Tinyos-help] TXFIFO underflow not taken care of in TinyOS 2.0.2?

2008-03-17 Thread David Moss
support greatly increases the throughput. -David -Original Message- From: Liusand [mailto:[EMAIL PROTECTED] Sent: Monday, March 17, 2008 8:08 AM To: David Moss; tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] TXFIFO underflow not taken care of in TinyOS 2.0.2? Hi David,

RE: [Tinyos-help] TXFIFO underflow not taken care of in TinyOS 2.0.2?

2008-03-17 Thread David Moss
occurs? Or after you get any remaining valid packets out? -David -Original Message- From: Liusand [mailto:[EMAIL PROTECTED] Sent: Friday, March 14, 2008 10:33 PM To: David Moss; tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] TXFIFO underflow not taken care of in TinyOS

RE: [Tinyos-help] Can anyone help me clarify the MicaZ (CC2420) radiostack?

2008-03-17 Thread David Moss
longer supported; however, you will be able to disable the CCA backoffs by searching and replacing any instance of "STXONCCA" with "STXON" in any CC2420 source code. -David _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ruoshui Liu Se

RE: [Tinyos-help] SACK

2008-03-17 Thread David Moss
ent frame is transmitted. -David _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of renjie huang Sent: Sunday, March 16, 2008 2:12 PM To: tinyos-help@millennium.berkeley.edu Subject: [Tinyos-help] SACK It seems that in TinyOS-2.x for CC2420 SACK strobe is iss

[Tinyos-help] Xubuntos and msp430 toolset

2008-03-15 Thread David Henry
7;t invest much effort in it. Please contact me for additions, corrections, clarifications. Above all, use it, it may save you lots of grief. David Henry ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.e

RE: [Tinyos-help] TXFIFO underflow not taken care of in TinyOS 2.0.2?

2008-03-14 Thread David Moss
the TX FIFO. -David -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Liusand Sent: Friday, March 14, 2008 12:45 PM To: tinyos-help@millennium.berkeley.edu Subject: [Tinyos-help] TXFIFO underflow not taken care of in TinyOS 2.0.2? Hi, When I was studying

RE: [Tinyos-help] Question on CC2420ReceiveP.nc in TinyOS 2.0.2

2008-03-13 Thread David Moss
driver is attempting to change the state of the radio, and needs to verify the radio's status. -David -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Liusand Sent: Thursday, March 13, 2008 6:35 PM To: tinyos-help@millennium.berkeley.edu Subject: [T

RE: [Tinyos-help] Which packet in RXFIFO is SACK acking?

2008-03-13 Thread David Moss
The ACK should be generated for the packet you're currently reading out of the RXFIFO. The ACK will only be issued if the packet you're currently reading out has a valid CRC. -David -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Liusand Sent

[Tinyos-help] Re: LogWrite.erase() bug in LogStorageP?

2008-03-12 Thread David
Typo fix: > My guess is that LogWrite.eraseDone() doesn't tidy up state variables > properly when it runs, so the first append() gets confused. Later > append() operations don't have this problem. > I meant LogWrite.erase(), not LogWr

[Tinyos-help] LogWrite.erase() bug in LogStorageP?

2008-03-12 Thread David
al app and I don't see it documented anywhere else. David. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

RE: [Tinyos-help] How to use interface RadioBackoff

2008-03-10 Thread David Moss
ff() inside the event if you want to affect operation. If you call the commands outside of an event, they will be ignored. Similarly, if you call back with the wrong command inside an event (like calling setCongestionBackoff() inside the requestInitialBackoff() event) it will be ignored. -David

[Tinyos-help] Moteiv SPC and MultiHop

2008-03-10 Thread David Henry
I must confess to being a bit confused. Is it possible to use MultiHop over SPC? Just using SPC wires itself to GenericComm. I cannot see an adaptor to MultiHop anywhere. The Moteiv source tree does not have any code that combines SPC and Multihop. There are no examples using SPNeighbor, which r

RE: [Tinyos-help] Looking for someone to port TinyOS to 16/32-bitPIC Microcontrollers

2008-03-09 Thread David Moss
like Timers, McuSleepC, UART, SPI, etc. The CCS compiler provides a lot of these functions built-in, which should make the implementations a lot easier. Anyone interested in this? -David -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROT

[Tinyos-help] Xmesh on telosb

2008-03-05 Thread David Henry
I've just downloaded Moteworks 2.0.F and started investigating XMesh on Telosb. At first I ran into a few compilation problems such as the structure TableEntry in Multihop.h causes alignment problems for msp430 and missing commands in BoundaryM.nc. All this leads me to ask if anyone else is act

RE: [Tinyos-help] False acknowledgments and CRC

2008-03-04 Thread David Moss
The wiki is incorrect, and I'll update it. Your observations on the datasheet are correct. The actual CRC check in software is done after the SACK has been issued, but the hardware is intelligent enough to know not to send an ACK if the CRC failed. -David _ From: [

Re: [Tinyos-help] about power detect

2008-03-03 Thread David
> Hi. Sorry if this is a dumb question. How do you search the archives? > This page doesn't have a search box: > > http://mail.millennium.berkeley.edu/pipermail/tinyos-help/ > I just found this page through Google: http://www.tinyos.net/search.html However, searching gets me a 404 error, with

Re: [Tinyos-help] about power detect

2008-03-03 Thread David
to check if it is safe to reprogram). Can't this voltage level be used to get a vague idea of remaining battery life? eg, if the level is too low to reprogram with a new image, then your battery is starting to run out. David. ___ Tinyos-help mailin

[Tinyos-help] Lowest possible radio power usage

2008-03-03 Thread David
ed to be careful the timing. Is there a better way to achieve what I'm trying? David. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

RE: [Tinyos-help] UniqueSend question

2008-02-25 Thread David Moss
way out. There's a reference implementation of UniqueSendP in tinyos-2.x/tos/chips/cc2420/unique/UniqueSendP.nc -David _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sikar Chan Sent: Sunday, February 24, 2008 10:42 AM To: tinyos-help@millennium.berk

RE: [Tinyos-help] serial send acknowledgement

2008-02-20 Thread David Moss
talk through their serial stacks. -David -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Philip Levis Sent: Wednesday, February 20, 2008 9:40 AM To: Kaan Tuna Cc: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] serial send acknowledgemen

Re: [Tinyos-help] Problem in Jni

2008-02-20 Thread David Henry
I've just had the same problem and manage to cobble up a fix. 1. Set up environment variables correctly in your .bashrc script # TOSROOT MUST be defined before it is referenced export TOSROOT=/opt/tinyos-2.x export TOSDIR=$TOSROOT/tos export MAKERULES=$TOSROOT/support/make/Makerules export CP1=`c

[Tinyos-help] Re: Problem in Jni

2008-02-20 Thread David Henry
I've just had the same problem and manage to cobble up a fix. 1. Set up environment variables correctly in your .bashrc script # TOSROOT MUST be defined before it is referenced export TOSROOT=/opt/tinyos-2.x export TOSDIR=$TOSROOT/tos export MAKERULES=$TOSROOT/support/make/Makerules export CP1=`c

RE: [Tinyos-help] CC2420 Hardware ACKs

2008-02-14 Thread David Moss
en you compile, hardware acknowledgments will be the default (MDMCTRL0.AUTOACK = 1) and software acknowledgments will be disabled. -David -Original Message- From: Rodolfo de Paz Alberola [mailto:[EMAIL PROTECTED] Sent: Thursday, February 14, 2008 1:01 PM To: David Moss Cc: tinyos-help S

RE: [Tinyos-help] CC2420 Hardware ACKs

2008-02-14 Thread David Moss
Also, are you calling CC2420Config.sync() to commit your hardware acknowledgment changes to the CC2420 hardware? call CC2420Config.setAutoAck(TRUE, TRUE); call CC2420Config.sync(); // wait awhile event void CC2420Config.syncDone() { ... } -David -Original Message- From

RE: [Tinyos-help] CC2420 Hardware ACKs

2008-02-14 Thread David Moss
The CC2420 radio requires the acknowledgment request flag be set in the FCF byte before it will automatically generate a hardware acknowledgment for any received packet. -David -Original Message- From: Rodolfo de Paz Alberola [mailto:[EMAIL PROTECTED] Sent: Thursday, February 14, 2008

RE: [Tinyos-help] CC2420 Hardware ACKs

2008-02-14 Thread David Moss
Are you requesting an acknowledgment before sending? call PacketAcknowledgements.requestAck(&myMsg); call AMSend.send(0x0, &myMsg, sizeof(my_payload_t)); Does it the software work as expected using software acknowledgments? -David -Original Message- From: [EMAIL PROTECTED]

Re: [Tinyos-help] Strange error about type definition

2008-02-13 Thread David Gay
at DataMsg is a regular struct, so it complains when you later tell it that it's a nx_struct... David Gay > and this is the type definition: > > typedef nx_struct DataMsg{ >nx_uint16_t dato; >ControlInfo control; > } DataMsg; > > typeDef nx_struct ControlInf

[Tinyos-help] RE: [Tinyos-devel] CTP + LPL

2008-02-07 Thread David Moss
l LPL settings, but I would be hesitant to make those kinds of changes without a lot of backing. -David -Original Message- From: Matt Welsh [mailto:[EMAIL PROTECTED] On Behalf Of Matt Welsh Sent: Wednesday, February 06, 2008 3:10 PM To: David Moss Cc: 'TinyOS Development'

[Tinyos-help] CTP + LPL

2008-02-06 Thread David Moss
e the SendNotifier interface to enforce it. If this hook works out, we can extend this to other radio stacks as necessary. -David CtpLplC.nc Description: Binary data CtpLplP.nc Description: Binary data ___ Tinyos-help mailing list Tinyos

RE: [Tinyos-help] Group ID on-the-fly change

2008-02-06 Thread David Moss
th the node's new address/group. -David -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shaun Lawrence Sent: Monday, February 04, 2008 10:30 AM To: tinyos-help@millennium.berkeley.edu Subject: [Tinyos-help] Group ID on-the-fly change Anyone have

Re: [Tinyos-help] Is there a NesC 2.0 version

2008-02-06 Thread David Gay
re is a version 1.3.0 under development (performance improvements, and support for Safe TinyOS - see the recent "Efficient Memory Safety for TinyOS" Sensys paper). David Gay ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://

Re: [Tinyos-help] Internal compiler error

2008-02-06 Thread David Gay
ight version of msp430-gcc (it looks right from the tos-check-env output, but BaseStation is a well-tested app...). David Gay ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] tinyOs-2.x SST flash SPI ATMEGA2560

2008-02-01 Thread David Gay
t be simpler to design/build some application-specific code (you would probably still want to build some reasonably generic low-level code to access your flash chip, though) David Gay ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https:

Re: [Tinyos-help] tinyOs-2.x SST flash SPI ATMEGA2560

2008-01-31 Thread David Gay
On Jan 31, 2008 12:36 AM, Domenico Arenga <[EMAIL PROTECTED]> wrote: > I wanted to ask if you could give me support for a flash SST on atmega2560 > on tinyOs-2.x. Thank you, see you soon, What's a "flash SST" ? What supp

Re: [Tinyos-help] Re: Include C file in nesC code

2008-01-31 Thread David Gay
On Jan 31, 2008 6:17 AM, AIGroup <[EMAIL PROTECTED]> wrote: > OK! now it works, but only in simulation!!! > I tried to edit my makefile but without success! add BUILD_EXTRA_DEPS = Hello.o to the Makefile (it's a magic variable listing things that should be built before the main e

Re: [Tinyos-help] Re: Include C file in nesC code

2008-01-30 Thread David Gay
_code.o c_code.c to your Makefile... (don't cut & paste the text above, the character before $(CC) needs to be a tab to keep make happy, in this email it's some spaces...) David Gay > > > 2008/1/30, AIGroup <[EMAIL PROTECTED]>: > > > Hi all. > > I wo

[Tinyos-help] Which means, and to what use the word reservedINLIN E

2008-01-29 Thread David Sanchez
Pehaps this will be useful for you http://en.wikipedia.org/wiki/Inline_function David * David Sánchez Sánchez Systems Integration Dept. (Power Devices and Systems) Centre Nacional de Microelectrònica (CNM-CSIC) Campus Universitat Autònoma de

Re: [Tinyos-help] Using motes as flash drives?

2008-01-25 Thread David
On Jan 25, 2008 12:53 PM, Xavier Orduña <[EMAIL PROTECTED]> wrote: > Hi David, > > What about the CC2511 Texas Instrument chip? > Thanks for this info. I didn't know about this chip. We'll be following up on this info

[Tinyos-help] Using motes as flash drives?

2008-01-25 Thread David
then store this data in the flash drive for a PC to retrieve. These would however require support for reading and writing a FAT filesystem in flash. Probably not that simple an undertaking. Any comments? Regards, David. ___ Tinyos-help mailing list T

[Tinyos-help] Bug in Deluge Blink test script

2008-01-23 Thread David
The 'burn' test script now runs 'tos-deluge -dr 1' at the end, instead of 'tos-deluge -r 1' ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] tos-check-env wants an old version of graphviz

2008-01-23 Thread David
Sorry if this is a dupe, I did Google for it first. When I run tos-check-env (/home/david/local/bin/tos-check-env, as installed from latest CVS), it gives me this warning: --> WARNING: The graphviz (dot) version found by tos-check-env is not 1.10. Please update your graphviz version if yo

[Tinyos-help] ncg for boomerang/moteiv

2008-01-22 Thread David Henry
The subject says it all. Is there and updated version that supports tmoteinvent? ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Development wanted for Deluge T2

2008-01-21 Thread David
eluge testing and post again later. Also, thanks to the various posters who gave suggestions while I was trying to solve this issue. David. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Development wanted for Deluge T2

2008-01-21 Thread David
> > I'm going to check this next (update CVS, rebuild, retest etc) and > reply with my results. > This didn't help. My next step is to use 'git bisect' to find which commit caused this problem. I'll reply later with my results. David. __

Re: [Tinyos-help] Development wanted for Deluge T2

2008-01-21 Thread David
Hi again. See my new post at the bottom of this mail. On Jan 18, 2008 5:05 PM, David <[EMAIL PROTECTED]> wrote: > Apologies in advance if I'm doing something dumb again ;-) > > It looks like dissemination is broken. When you run tos-deluge -d or > -dr, nothing happens

Re: [Tinyos-help] Development wanted for Deluge T2

2008-01-18 Thread David
e 2nd program (blink green LED). Can somebody confirm this problem? David. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Development wanted for Deluge T2

2008-01-18 Thread David
On Jan 18, 2008 2:31 PM, Dimas Abreu Dutra <[EMAIL PROTECTED]> wrote: > Hello, > > I believe that the -b does not change the program in execution. It only > reboots the mote, and you can even use it without an image number. In fact, > I believe it simply ignores the image number if you provide it.

Re: [Tinyos-help] Development wanted for Deluge T2

2008-01-18 Thread David
he 'tos-deluge -b' command isn't working. The mote gets it, and does a reboot sequence (see earlier post for description), but it stays on the current program. David. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https:/

Re: [Tinyos-help] Development wanted for Deluge T2

2008-01-18 Thread David
UID: 0x50E978D4 Compiled On: Fri Jan 18 12:20:17 2008 Node ID: 0 Stored image 3 Prog Name: BlinkAppC UID: 0xFA5179D2 Compiled On: Fri Jan 18 12:23:22 2008 Platform:telosb User ID: david Host Name: lnxdavid User

Re: [Tinyos-help] Deluge T2 inject freezes when slots are in non-standard locations

2008-01-17 Thread David
> I removed that field completely because we don't really need it anymore. If > the dissemination worked then you should see using -p that the correct > image (UID) is in the proper place. How do the motes now determine when they have an older or newer image than their neighbours?

Re: [Tinyos-help] Deluge T2 inject freezes when slots are in non-standard locations

2008-01-17 Thread David
lue when checking if dissemination is working. Maybe you can add a -v option to tos-deluge where a lot of extra technical info is printed out? (crcs, image vers, etc), but by default you just get the basic info? Python's 'optparse' module would make this easy to add :-) David.

Re: [Tinyos-help] Development wanted for Deluge T2

2008-01-17 Thread David
I don't think gmail attached my file :-( Here it is again. Removed the '.' suffix because my 'add attachment' gmail dialog is lame and can't see hidden files. David. gitignore Description: Binary data ___ Tinyos

Re: [Tinyos-help] Development wanted for Deluge T2

2008-01-17 Thread David
ORS END = Do you have a suggestion for how long to wait before calls to tos-deluge so there won't be errors? I'm using 5s now without errors, but I'm not sure how safe that is, or if it is too long (as fast as possible is nice for testing). Thanks, David. __

Re: [Tinyos-help] Development wanted for Deluge T2

2008-01-17 Thread David
tiveMessageAddressC$addr=0 found mote on /dev/ttyUSB0 (using bsl,auto) installing telosb bootloader using bsl tos-bsl --telosb -c /dev/ttyUSB0 -r -e -I -p /home/david/dev/internet/tinyos/tinyos2/git_checkout/tinyos-2.x/tos/lib/tosboot/build/telosb/main.ihex Traceback (most recent call last):

[Tinyos-help] CC2420 LQI/RSSI bug fix

2008-01-16 Thread David Moss
into the wrong area of the metadata portion of the message_t. These bytes were then re-arranged in the part of the code that intentionally fills out metadata information, and in doing so, the LQI byte was overwritten by the RSSI byte. The fix has been checked into CVS. -David

[Tinyos-help] Algorithm in TinyOS 2.x for 1-to-1 multihop?

2008-01-16 Thread David
e practical for tinyos? Are there any existing FOSS implementations, or would we need to license something like xmesh from Crossbow? David. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/m

Re: [Tinyos-help] Deluge T2 inject freezes when slots are in non-standard locations

2008-01-16 Thread David
later :-) Would this also correct the issue with invalidating (config) volumes which come after deluge volumes or is that unrelated? David. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Development wanted for Deluge T2

2008-01-16 Thread David
7;ve placed that package on hold, to prevent breakage. Or, is it safe to upgrade to the latest Ubuntu versions (on the tinyos repo), and also allow Debian to upgrade avr-libc if it has newer versions (under Testing/Lenny) than the tinyos repo? David. __

Re: [Tinyos-help] Development wanted for Deluge T2

2008-01-16 Thread David
. > Thanks (to you and the other posters) for the cvs tips. I think I'll try the git repo. What time does it get updated each hour? David. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Development wanted for Deluge T2

2008-01-15 Thread David
I'm new to cvs, I normally use subversion and git. Are there any other options I should be using? The deluge Blink test application now compiles successfully. I'll start testing tomorrow. Sorry for the trouble :-) David. ___ Tinyos-help mailing

[Tinyos-help] Deluge T2 inject freezes when slots are in non-standard locations

2008-01-15 Thread David
Stored image 1 Prog Name: OmnipoAppC Compiled On: Thu Jan 10 11:05:35 2008 Platform:telosb User ID: david Host Name: lnxdavid User Hash: 0xB4CD1E4CL Num Pages: 32/32 Size:35344 UID: 3280566561 Version: 1 --

Re: [Tinyos-help] Development wanted for Deluge T2

2008-01-15 Thread David
compiling BlinkAppC to a telosb binary ncc -o build/telosb/main.exe -Os -O -mdisable-hwmul -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c -board= -Ibuild/telosb -DDELUGE_BASESTATION -DDELUGE -I/home/david/dev/internet/tinyos/tinyos2/cvs_checkout/ti

Re: [Tinyos-help] question about TEP 103 and LogRead interface

2008-01-12 Thread David Gay
would argue that it's a bug in the ST M25P implementation (a cursory look through the AT45DB implementation suggests that it handles this correctly...) David Gay ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] how to diagnose nesc1 error (Assertion 0 failed)

2008-01-11 Thread David Gay
crashes nesc, you get a very obscure error > message... Took me a while to figure that one out. > > Anyone know if this is a known bug? Should be easy enough to fix. > Michiel As the original message shows, the original author is using nesC 1.2.4. I believe this bug is fixed in the

Re: [Tinyos-help] Deluge invalidating non-deluge flash volumes?

2008-01-10 Thread David
NFIG is still being invalidated. It looks like the only safe way to prevent invalidation is to move CONFIG to the start. David. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Deluge invalidating non-deluge flash volumes?

2008-01-10 Thread David
d image (into Deluge slot 1), and then pressing reboot on the mote will (usually) invalidate the CONFIG volume (when your volumes are configured as in my original mail). David. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.m

Re: [Tinyos-help] Deluge invalidating non-deluge flash volumes?

2008-01-09 Thread David
Deluge's, but please (to the tinyos devs in general) look into this. Btw, what is the best way to force Deluge volumes to go to the end of the flash memory instead of the start? I would like to disrupt Deluge as little as possible when I add new volumes for my app. Probably "offset"

Re: [Tinyos-help] Dumb question about basestation.

2008-01-09 Thread David
then add a SplitControl interface to BaseStationC. Then you should be able to wire the new BaseStationC into your main app, and call BaseStation.start() when your TOS_NODE_ID is 0. The above should be a fairly small change, at least compared to copying al

Re: [Tinyos-help] question about volumes

2008-01-09 Thread David
DELUGE0)"? > > [1] http://www.tinyos.net/tinyos-2.x/doc/html/tep103.html I think it means exactly that. You could have problems if you declared a LogStorageC (or any other storage abstraction), anywhere else in your app, which also uses VOLUME_DELUGE0. David. __

Re: [Tinyos-help] Deluge invalidating non-deluge flash volumes?

2008-01-09 Thread David
> >> 2) Why do config slots need to be that size? I tried to use a 65536 > >> size for that also (the minimum, as required by the tinyos make files > >> for stm25p), but mounting always fails. I borrowed 131072 from the > >> Flash memory tutorial lesson (7), and that works. > > > > I don't know muc

Re: [Tinyos-help] Deluge invalidating non-deluge flash volumes?

2008-01-09 Thread David
e program (within a private module) and not triggered this. Would it help if I forwarded a test case which produces this problem? David. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Fwd: Deluge invalidating non-deluge flash volumes?

2008-01-09 Thread David
Hi Jonathan. I posted this mail to tinyos-help, and it was suggested that I CC it to you. Can you help me? Thanks :-) (I've CC'd tinyos-help with this mail, so that others and the archives get the benefit of any answers). Regards, David. -- Forwarded message ------ F

[Tinyos-help] Deluge invalidating non-deluge flash volumes?

2008-01-09 Thread David
luge inject & reprogram? Thanks in advance for any advice. David. PS: I found what looks like a few typos in the docs and source: In lesson 7: event void Config.commitDone(error_t err) { call Leds.led0Off(); call Timer0.startPeriodic(conf.period); if (err == SUCCESS) {

Re: [Tinyos-help] Development wanted for Deluge T2

2008-01-09 Thread David
> > Thank-you very much for the feedback! Right now I'm a little busy so I'll > not have time to respond so quickly this time. > Hi there again. I don't mean to be impatient, but could you give me an idea of when we will be able to resume testing and fixing these Delug

RE: [Tinyos-help] current MAC protocol in TinyOS

2007-12-31 Thread David Moss
more like B-MAC. Think of it like X-MAC on steroids. We're calling it BoX-MAC. The CC1000 radio stack primarily uses B-MAC at the moment. -David _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tie Luo Sent: Thursday, December 27, 2007 3:42 AM

RE: [Tinyos-help] about two radioes on one mote

2007-12-31 Thread David Moss
ary radio directly. On my platform, I select the radio to send to on a per-message basis and have some logic at the ActiveMessageC level that directs the message to the proper device. -David _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of roberto pagliari

Re: [Tinyos-help] Development wanted for Deluge T2

2007-12-28 Thread David
nloaded images, I was planning to use the "reboot and reprogram" (into a specific slot) function after each "Deluge-enabled" period, and assuming that Deluge would ignore that function if there was no valid image in that slot (or if the image is the same as the currently-running pr

Re: [Tinyos-help] Development wanted for Deluge T2

2007-12-28 Thread David
A small correction: > Same as my earlier point. They will accept disseminated updates, but > they aren't listening to "reset and reprogram" commands. Using the > Gesture didn't seem to fix it this time. ie, the motes just stay in > the "ready to reboot and reprogram" config (blue LED burning). Ac

Re: [Tinyos-help] Development wanted for Deluge T2

2007-12-27 Thread David
Hi. Thanks for your fixes. It looks like the following are fixed: - Deluge resumes when receiving mote is reset - Able to disseminate slots 1-3 - No longer getting strange "currently executing" UIDs. I'm busy doing testing, have come up with a few more problems. Some of these are related to

Re: [Tinyos-help] Development wanted for Deluge T2

2007-12-26 Thread David
Hi Mike. On Dec 21, 2007 5:38 PM, Chieh-Jan (Mike) Liang <[EMAIL PROTECTED]> wrote: > Hi David, > > On Dec 21, 2007, at 4:39 AM, David wrote: > > > > * I can't build the GoldenImage or other Deluge apps with the "sim" > > option to test under TOSS

RE: [Tinyos-help] tinyos 2.x radio

2007-12-21 Thread David Moss
e public (Matlab code at least), but due to the custom nature of the system it is somewhat difficult to do so. -David _ From: zhiyong yang [mailto:[EMAIL PROTECTED] Sent: Friday, December 21, 2007 2:49 AM To: David Moss Subject: Re: [Tinyos-help] tinyos 2.x radio Hi:

Re: [Tinyos-help] Development wanted for Deluge T2

2007-12-21 Thread David
Thanks. I got this working (had some problems, will detail below). The gesture and the extra deluge slots appear to be working, as well as the extra status line for the currently-executing mote. Thanks. I had the following problems: * Kept getting "No such file or directory: '/home

Re: [Tinyos-help] Power-down ADC on MicaZ ATMega128

2007-12-20 Thread David Gay
ade a > dummy program for test and measure the sleep mode. Note that T2 automatically powers the A/D off when not in use. Directly twiddling the A/D bits will either have no effect or cause the A/D component to misfunction (depending on exactly when you do what...). David Gay ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Development wanted for Deluge T2

2007-12-20 Thread David
/rpms) in your docs. I don't see any information for this on these pages: http://www.tinyos.net/tinyos-2.x/doc/html/install-tinyos.html http://www.tinyos.net/scoop/story/2007/8/15/234856/990 Thanks for your assistance. David. ___ Tinyos-help mailing

Re: [Tinyos-help] Development wanted for Deluge T2

2007-12-20 Thread David
b installers, but I just checked and they're under /usr/local/bin/. "make install" from CVS should overwrite those deb-installed utilities with newer versions. I'll check your updates now, and get back to you a bit later. David. _

Re: [Tinyos-help] Development wanted for Deluge T2

2007-12-20 Thread David
On Dec 20, 2007 11:49 AM, Razvan Musaloiu-E. <[EMAIL PROTECTED]> wrote: > Hi! > > On Thu, 20 Dec 2007, David wrote: > > > See my reply below yours. > > > >> 1.) Initially, the plan was to write a new storage manager for Deluge > >> T2. Unfortunately

Re: [Tinyos-help] Development wanted for Deluge T2

2007-12-20 Thread David
Do you know anyone we should contact more directly than posting on the tinyos-help list? Regards, David. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

RE: [Tinyos-help] CC2420ReceiveP RXFIFO.readDone

2007-12-19 Thread David Moss
ere we don't want or care to receive the full packet because it's bad. Lots of edge cases here, and some I know are broken. -David -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of André Cunha Sent: Wednesday, December 19, 2007 9:58 AM

RE: [Tinyos-help] Hardware Address Recognition

2007-12-19 Thread David Moss
(addr, &myMsg, sizeof(my_payload_t)); When you get your sendDone() event back, the message should have gotten ack'd if the receiver was nearby. You'll have to experiment with the PacketLink interface to get the behavior you desire for your application. The TEP should cover the r

Re: [Tinyos-help] Adding NesC syntax files to tinyos debs

2007-12-19 Thread David Gay
should check out with the package maintainer to see how > feasible it would be to make it put it in the right place. We should probably look into this the next time we make nesC packages... David Gay ___ Tinyos-help mailing list Tinyos-help@millennium.berke

Re: [Tinyos-devel] Re: [Tinyos-help] Re: Problems with tinyos-1.x vs. 2.x

2007-12-19 Thread David E. Culler
I guarantee that it will be worth it. TOS2 is fundamentally more robust, flexible, and sound going forward. The learning tools and examples are coming into place. Hanging on to TinyOS1.x "dusty desk" at this point would surely be penny wise pound foolish. Philip Levis wrote: On Dec 16, 20

[Tinyos-help] Development wanted for Deluge T2

2007-12-19 Thread David
ctivates different sub-programs based on the "type". This is not ideal. 4) The "tos-deluge" tool does not report which image is active "tos-deluge -p" in Deluge T2 doesn't (as far as I can tell) report which image is currently active on a mote. However, this info is

<    1   2   3   4   5   6   7   8   9   10   >