RE: [Tinyos-help] Timer and Atomic Help (Ian Welch)

2007-06-15 Thread Ben Buckner
the counter state coming out of every atomic section to determine whether the clock fired while you were in it. Does that scare you? It should. I recommend finding an alternative to building a real time software clock. Regards, Ben Buckner ___ Tinyos

RE: [Tinyos-help] Timer and Atomic Help (Ian Welch)

2007-06-15 Thread Ben Buckner
On Jun 15, 2007, at 4:16 PM, Ben Buckner wrote: From: Ian Welch [EMAIL PROTECTED] Subject: [Tinyos-help] Timer and Atomic Help Hello, I'm implementing a clock on my mote and it seems to drift, I think the issue is to to too many or too long atomic sections. I was wondering

RE: [Tinyos-help] PWM on micaz

2007-05-30 Thread Ben Buckner
, counter driven 6 kHz ADC, and frequency measurement at the same time, so they can be fairly flexible. Just remember to restore all the counter registers after you're done with them. See http://www.avrfreaks.net/index.php?module=Freaks%20Devicesfunc=displayDevo bjectid=55 For hardware details. Ben

RE: [Tinyos-help] how do i aloocate memory for a two dimension array

2007-05-16 Thread Ben Buckner
Hello all, We are using mica2 and mts300 sensor boards and we have a problem using functions like memset and memcpy. We are using tinyos 2.x and we wanted to know is there any way of doing that?Do we need to include a specific header file? Any help will be much appreciated. thanks in

RE: [Tinyos-help] tmote message format

2007-04-23 Thread Ben Buckner
Bill- From the legendary Octavetech protocol document that you linked: P_PACKET_ACK (0x41) - User packet. ACK required. Includes a prefix byte. Receiver must send a P_ACK response with prefix byte as contents. Regards, Ben B. Date: Mon, 23 Apr 2007 13:55:54 -0400 From: Bill Leal [EMAIL

RE: [Tinyos-help] UART ReceiveMsg

2007-04-11 Thread Ben Buckner
Hi, I have trouble sending msg from laptop (using c++) code to tmote. All the code is at the bottom. I have no problem reading the data from the serial but sending it back dooesn't seam to work. Anyone knows why? Thanks. Indy [...] memcpy(output_buffer, msgOUT, sizeof(msgOUT)); Out

RE: [Tinyos-help] CRC checking

2007-04-10 Thread Ben Buckner
up the framing logic, but you never know how logically the actual code has been implemented. Ben -Original Message- From: Michael Schippling [mailto:[EMAIL PROTECTED] Sent: Monday, April 09, 2007 10:16 PM To: Ben Buckner Cc: tinyos-help@Millennium.Berkeley.EDU Subject: Re: [Tinyos-help

Re: [Tinyos-help] CRC checking

2007-04-10 Thread Ben Buckner
Yes. My mistake. We would want to make sure the CRC bytes don't have the 7E or 7D bytes. The corrected procedure would be as here: 1. create the message packet including everything but the Sync bytes (7E) 2. run the CRC algorithm on the escaped data packet 3. attach the CRC in little

RE: [Tinyos-help] Programmer is not responding!

2006-11-10 Thread Ben Buckner
Date: Fri, 10 Nov 2006 12:04:26 +0100 (CET) From: walid hamdi [EMAIL PROTECTED] Subject: [Tinyos-help] Programmer is not responding! Hello Tinyosians! I was running the programming board perfectly, made some modifications in the TOSBase application just to send a message on the Radio. As i

RE: [Tinyos-help] How to wake up a MICA2 sensor

2006-11-01 Thread Ben Buckner
-Original Message- Date: Tue, 31 Oct 2006 19:16:49 -0600 From: Leon Zhou [EMAIL PROTECTED] Subject: [Tinyos-help] How to wake up a MICA2 sensor To: tinyos-help@Millennium.Berkeley.EDU Hi, We're doing a temperature detection project with MICA2 and TinyOS. In order to save power, our

RE: [Tinyos-help] nesC and C

2006-10-25 Thread Ben Buckner
Functions in NesC are still functions. You don't use call or post with them, and you invoke them just like you do in C. To my knowledge, it doesn't matter whether the functions are called in tasks or not. There are really only two contexts in which code executes in NesC/TinyOS, which are tasks

RE: [Tinyos-help] Serial Forwarder and Listen

2006-10-19 Thread Ben Buckner
for the framing bytes, 0x7E, which come at the beginning and the end of the packet. For details, see the often-referenced http://www.octavetech.com/pubs/TB5-01%20Deciphering%20TinyOS%20Serial%20Pack ets.pdf Regards, Ben Buckner -Original Message- Date: Wed, 18 Oct 2006 14:47:59 -0600 From

RE: [Tinyos-help] able to get the first packet but not the rest..........

2006-10-01 Thread Ben Buckner
It depends on which communications components you're using, but if I had to guess, I'd say you might have something wrong with the packet sequencing. Some of the routing components/protocols (Bcast for instance) use a sequence number to make sure copies of the same packet aren't received multiple

RE: [Tinyos-help] Problem with mib510 programming board

2006-09-21 Thread Ben Buckner
Jiggling or reconnecting the mote often fixes that - another thing to look at is to make sure you don't have the mote power turned on when you program it. That can be very bad. The serial port probably isn't the problem or the programming would have failed much earlier in the process.

RE: [Tinyos-help] Labview

2006-09-20 Thread Ben Buckner
Hi Imanol. The documentation for the protocol is pretty sparse in general, but this link should be enough to get it done with the appropriate amount of beating your head on the wall, http://www.octavetech.com/pubs/TB5-01%20Deciphering%20TinyOS%20Serial%20Packets.pdf Not sure Im

[Tinyos-help] MICA2 TOS 1.1.11 - ADCREFM won't play nice with the radio

2006-09-20 Thread Ben Buckner
multiple times, much less expect it as a normal radio reactivation procedure. Main-EWMAMultiHopRouter.StdControl, so as I understand it, the Main init call should have already fanned out to the multihop component's init() at boot. Any comments, explanations, speculations? Thanks, Ben Buckner