Re: [Tinyos-help] RSSI measurement in mica2

2007-05-09 Thread Rahul Sawant

yes u r right u need to do conversions to the values u obtained through
TOSMsg.

for conversion formulas see cc1000 data sheet and xbow mpr - mib manual

rahul


On 5/9/07, Murtuza [EMAIL PROTECTED] wrote:


Hi

I have a very simple question. If i am not mistaken the RSSI values
obtained from a TOS_Msg message gives the value of RSSI which needs to be
converted using the formula given in Crossbow manual. Am i right ? I read
some mails in the archives which say conversion is needed and some say its
not. From which version of TinyOS is this not needed. I am using the
tinyos-1.1.15Dec2005cvs-1 CVS installation and using Mica2 motes. Can
somebody help me out?

Thanking You
MMA

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] CC1000 Channels

2007-05-02 Thread Rahul Sawant

Slide # 8

www.cs.berkeley.edu/~*jaein*/presentations/*Jaein**Jeong*
_ChipconRadioStack.ppt



On 5/1/07, Benjamin Madore [EMAIL PROTECTED] wrote:


Hello,

Could someone point me to a document that lists the discreet channels on
the
CC1000. I know I've seen something on it at one time, but I can't remember
where, and a search of the archives and Google hasn't turned up what I'm
looking for.

There's just a few listed in the Makefile for Crossbow, and I'd like the
whole list.

Thank you.

-Ben Madore

--
The difference between the right word and the almost right word is really
a
large matter- it's the difference between a lightning bug and the
lightning.
-Twain

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

___
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 make an application multi-hop enabled

2007-04-21 Thread Rahul Sawant

try reducing the transmit power of motes
u will have to do this using the transceiver files.
check which transceiver ur mote is using and then use those files to modify
transmit power.


Rahul

On 4/21/07, ankur jain [EMAIL PROTECTED] wrote:


Hi all,
i was trying all the applications that comes with the tinyos
distro.however i found that the applications that invovled radio xmissions
were directly sending data to gatway. So i was wondering that if i have to
keep my sensor nodes far apart from the gateway such that they are not in
direct range then i will have to make  the application multi-hop enabled.
But unfortunately i don't know how to do it .Also i don't know that if the
application is query-based (i.e it starts sensing and responding on
receiving query)  or self-started (apps. like XSensorMTS400 which starts
sending data as soon as the mote is switched on),the approach that would be
followed to make it  multi-hop would be same or different.So please if
anyone can throw some light upon this issue would be highly appreciated
thnx in advance
ankur jain

--
Check out what you're missing if you're not on Yahoo! 
Messengerhttp://us.rd.yahoo.com/mail/in/ymessenger/*http://in.messenger.yahoo.com/


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Message Signal Strength

2007-04-21 Thread Rahul Sawant

RSSI u get is the 10 bit value of ADC to convert to dBm use the formulas in
the MPR-MIB Wireless Module Users Manual which can be found here
http://www.xbow.com/Support/wUserManuals.aspx

Rahul

On 4/21/07, Hamdi Roumani [EMAIL PROTECTED] wrote:


What data format is the signal strent field in the TOS packet stored in.

i.e. is it an unsigned byte or is it 16bits .. ??
--
Regards,
Hamdi






This message was sent using IMP, the Internet Messaging Program.

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] generate docs

2006-06-29 Thread Rahul Sawant
what i meant was there should be 2 dot.exe files on ur comp. one installed by tinyos in
\tos\ATT\Graphviz\bin folder and other some where else installed by some other software.

try searching ur comp for dot.exe to see if u indeed have 2 dot.exe files.

if u do have 2 dot.exe files
when tinyos tries to use dot.exe the system actually gives it a link to the other dot.exe which was installed by some other program this is because of the path variable in control panel. and if u change the path variable as i said in my last mail it should work.


u can also try the following

rename ur other dot.exe to say dot_old.exe for the time being. (ur other software might have problem if u r running at the same time but if it not running then no problem.)

now try to make docs in tinyos. 

if this works u know what the problem is.

now once ur done making docs rename the file back to dot.exe.(so ur other software doesnot have any problems in future.)

rahul
On 6/29/06, Andres Aberasturi [EMAIL PROTECTED] wrote:
Hi,Thanks Rahul, but we do not understand it. We do not have matlab or anythingwhich perhaps uses 
dot.exe (we suposed).Actually, we have installed TinyOS Plugin for Eclipse. And this plugin hasinstalled TinyOs 1.1.15, and it works, but when we write make micaz docs, wedo not get the images of the documentation. In the error we read:
Upgrade to graphviz = 1.8.8 to enable clickable wiring diagrams.So, we though we have to upgrade Graphviz in order to get these diagrams. Itseems an error about the Graphviz version which is installed with TinyOs
1.1.15. Then, we found Graphviz web site, but there are 2 version ofGraphviz, one of them for Windows and the other one for Linux. We areworking in Windows XP, but Cygwin is like Linux, is not it? So, what we have
to install? Or is it wrong? Perhaps we are not right.Could anybody help us?Thanks in advance,AndresFrom: Rahul Sawant 
[EMAIL PROTECTED]To: Andres Aberasturi [EMAIL PROTECTED]CC: tinyos-help@millennium.berkeley.edu
Subject: Re: [Tinyos-help] generate docsDate: Wed, 28 Jun 2006 19:12:45 -0500hii think this is because ur comp already has a file dot.exe and the versionof that is old. u can search where it is on ur comp . in my comp it was in
\Matlab7\bin\win32 folder as matlab also uses it. i guess if u rename thisfile in matlab folder everthing will work fine. or i guess change thesystempath variable from the control panel, in this make sure ur matlab path is
the last one ie it should be after this one \tinyos\ATT\Graphviz\bin;i hope this will help yourahulOn 6/28/06, Andres Aberasturi 
[EMAIL PROTECTED] wrote:Hi all,We have update TinyOs to TinyOS 1.1.15. It works fine but it does notgenerate the images of the documentation. We get the following error:
nesc1: warning: DOC WARNING: your version of `dot' does not supportclient-side image maps.Upgrade to graphviz = 1.8.8 to enable clickable wiring diagrams.
So, we think we need to update graphviz, do not we? We found graphviz butwehave some doubts about it:What is the right graphviz version to work in TinyOS 
1.1.15? We areworkingwith Windows XP, do we need Windows version or Linux version (in order towork with Cygwin)?Thank you in advance,Andres
_Moda para esta temporada. Ponte al día de todas las tendencias.
http://www.msn.es/Mujer/moda/default.asp___Tinyos-help mailing listTinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help_
Descubre la descarga digital con MSN Music. Más de un millón de canciones.http://music.msn.es/
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] generate docs

2006-06-28 Thread Rahul Sawant
hi

i think this is because ur comp already has a file dot.exe and the version of that is old. u can search where it is on ur comp . in my comp it was in \Matlab7\bin\win32 folder as matlab also uses it. i guess if u rename this file in matlab folder everthing will work fine. or i guess change the system pathvariable from the control panel, in this make sure ur matlab path is the last one ie it should be after this one\tinyos\ATT\Graphviz\bin;


i hope this will help you

rahul 
On 6/28/06, Andres Aberasturi [EMAIL PROTECTED] wrote:
Hi all,We have update TinyOs to TinyOS 1.1.15. It works fine but it does notgenerate the images of the documentation. We get the following error:
nesc1: warning: DOC WARNING: your version of `dot' does not supportclient-sideimage maps.Upgrade to graphviz = 1.8.8 to enableclickable wiring diagrams.So, we think we need to update graphviz, do not we? We found graphviz but we
have some doubts about it:What is the right graphviz version to work in TinyOS 1.1.15? We are workingwith Windows XP, do we need Windows version or Linux version (in order towork with Cygwin)?Thank you in advance,
Andres_Moda para esta temporada. Ponte al día de todas las tendencias.http://www.msn.es/Mujer/moda/default.asp
___Tinyos-help mailing listTinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Help me with power range and signal strength!

2006-06-27 Thread Rahul Sawant
Hi

Use the formula on pg 28 of this document. 
http://www.xbow.com/Support/Support_pdf_files/MPR-MIB_Series_Users_Manual.pdf

also u have declared data in MyMsg to be an array of size 18 ie it runs from 0 to 17 and u r using
data[18] is it right just check that.

Rahul
On 6/27/06, Hieu Tran [EMAIL PROTECTED] wrote: 


Hi all!
I searched in the archieves and found some of the topics that disscuss about power range however I still have problem with it.

in the CC1000ControlM at the line:

// Set default parameter values // POWER 0dbm gCurrentParameters[0xb] = ((8  CC1K_PA_HIGHPOWER) | (0  CC1K_PA_LOWPOWER)); call HPLChipcon.write(CC1K_PA_POW, gCurrentParameters[0xb]);


I guess I can make a change to power range here so I make change :

 gCurrentParameters[0xb] =1;//I want to change to the minimum power range call HPLChipcon.write(CC1K_PA_POW, gCurrentParameters[0xb]);

After that I recompile my program and run it. However It seems that my change does not go in to effect (the range is still large).
Can you tell me the correct way to make the change to the power range?

I have one more question about signal strength.

I made the change at the TOS_Base, I try to read the signal strength from TOS_Msg

event TOS_MsgPtr RadioReceive.receive(TOS_MsgPtr Msg) {
cmd= (struct MyMsg *)Msg-data;
temp1 = (int8_t) (((Msg-strength)8)  0xF);//take 8 MSB
cmd-data[17] = temp1;//put in to packet at data[17]temp2 = (int8_t) ((8(Msg-strength))  0xF);//take 8 LSBcmd-data[18] = temp2;//put in ton packet at data[18]
..


Here is MyMsg structure:
typedef struct MyMsg { uint16_t seqno; int8_t action; uint16_t source; uint8_t hop_count; uint16_t destaddr;   int8_t data[18];} MyMsg;


After that, I use Listen program to read signal strength value, however all the times these values are always 0 or 1 (convert to decimal number). Can anyone tell me is this a correct way to receive signal strength? If correct, how canconvert this value to dBm?


many thanks!

Tran!






















Yahoo! Messenger with Voice. Make PC-to-Phone Calls
 to the US (and 30+ countries) for 2¢/min or less. 
___Tinyos-help mailing listTinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Mica2 CC1000ControlM patch - double throughput and calibrate correctly

2006-05-08 Thread Rahul Sawant
Hi David

I need to ask you one more question

as you said below change the line that says (1CC1K_XOSC_FREQ)); to(0CC1K_XOSC_FREQ)); in CC1000ControlM.nc

now this line occurs in CC1000ControlM.nc line 367 in StdControl.init() and is changing the value in gCurrentParameters[0x11] and in the next line cc1000SetModem(); is called which writes this and other values using 

call HPLChipcon.write(CC1K_MODEM0,gCurrentParameters[0x11]);

but again after all this in StdControl.init() there is a call to 
call CC1000Control.TuneManual(CC1K_DEF_FREQ); and in this function there is the following for loop which again changes the values of gCurrentParameters from CC1K_Params that is defined in CC1000Const.h


for (i=1;i  31 /*0x14*/;i++) {

gCurrentParameters[i] = PRG_RDB(CC1K_Params[freq][i]);
}

So my question is should I also make the similar changes as you mentioned below in CC1000Const.h according to the operating freq and in CC1000ControlM.nc files.

Thanks in advance


Rahul Sawant
On 5/4/06, David Moss [EMAIL PROTECTED] wrote:


Hi Rahul,

I assume you did compile the same CC1000ControlM ontoyour base station application?And you're only using mica2's (not mica2dots)?

I'll do some testing here and see if I can find any other reason why it wouldn't work for you. Some of my motes are beingflaky regardless of which CC1000ControlMI use.


If you're not going to be changing frequencies at runtime - which I don't think anybody is currently doing on the CC1000's because the software breaks it -then you can simply double your throughput by changing that 
MODEM0.XOSC_FREQ to a 0 in your CC1000ConrolM file. That is, change the line that says (1CC1K_XOSC_FREQ)); to(0CC1K_XOSC_FREQ));


-David



-Original Message-From: Rahul Sawant [mailto:
[EMAIL PROTECTED]] Sent: Thursday, May 04, 2006 3:51 PMTo: David MossCc: Gregory A. Moore; 
tinyos-help@millennium.berkeley.eduSubject: Re: [Tinyos-help] Mica2 CC1000ControlM patch - double throughput and calibrate correctly
Hi

I read your following mail and downloaded the CC1000ControlM.nc file and just replaced it for my old file in tos/platform/mica2

but now i am unable to read any packets sent over the radio on the base station mote. but if i revert to my old CC1000ControlM.nc file i am able to read the radio packets at the base station.

do i need to make any other changes apart from just replacing the files.

I am using Tinyos 1.1.15.

Thanks in advance

Rahul Sawant
On 5/1/06, David Moss [EMAIL PROTECTED] wrote:
 


Hi Greg,

Here's the CC1000ControlM file that performs the correct calibration procedure, and doubles the throughput for mica2's (this is not compatible with mica2dot's for some reason, even though they use the same 
14.7456 MHz crystal). MODEM0.XOSC_FREQ needed to be changed from a 1 to a 0 to double the throughput.

You'll see 76.8 kBaud as opposed to 38.4 kBaud, faster startup, and the ability to change frequencies in software correctly (although frequency performance and characteristics will vary from mote to mote). 



The CC1000 needs to be calibrated when 1) the radio starts up, or the frequency changes 2) there are large swings in temperature (think outdoors!)or 3) there are large swings insupply voltage. A daily calibration would begreat to implement for outdoor applications. 





There are 2 frequencies going on inside the CC1000 that need to be calibrated - Freq. A and B. When the distance between these two frequencies is greater than around1 MHz, then separate, single calibrations need to be performed on each frequency. When the distance between the 2 frequencies is less than 1 MHz (as it is on our motes) then adual calibration can be performed to calibrate both frequencies at once. Originally, the CC1000ControlM file was created to perform separate, single calibrations, whichtakes longer. Also, the local osciallator (LO) was not turned back onautomatically without transmittingafter the dual calibration completed, preventing frequency hopping schemes from working. 


The attachedupdated CC1000ControlM file performs a dual calibration procedure to do both frequenciesat once, and the radio is ready to go on both Rx and Tx after it gets done calibrating.It should consume a little less energy when starting up the radio. 


-David

.___Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDUhttps://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help 

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] VoltageM errors??

2006-04-26 Thread Rahul Sawant
Hi
r u using VoltageC from tos/system if not use this as this is the configuration for VoltageM and it includes voltage.h
if ur using VoltageC then It seems like you dont have the voltage.h file in tos/platform/mica2 if u dont just download the attached file

Rahul Sawant
On 4/26/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hey all,IM trying to use the VoltageM component with mica2 tinyos-1.1.15, as itreturns the actually voltage in mv.However, when I compile i get these errors:
C:/tinyos/cygwin/opt/tinyos-1.x/tos/platform/mica2/VoltageM.nc: In function `StdControl.start':C:/tinyos/cygwin/opt/tinyos-1.x/tos/platform/mica2/VoltageM.nc:67: `TOS_ADC_VOLTAGE_PORT' undeclared (first use in this function)
C:/tinyos/cygwin/opt/tinyos-1.x/tos/platform/mica2/VoltageM.nc:67: (Each undeclared identifier is reported only onceC:/tinyos/cygwin/opt/tinyos-1.x/tos/platform/mica2/VoltageM.nc:67: for each function it appears in.)
C:/tinyos/cygwin/opt/tinyos-1.x/tos/platform/mica2/VoltageM.nc:68: `TOSH_ACTUAL_VOLTAGE_PORT' undeclared (first use in this function)make: *** [exe0] Error 1Any ideas??? thanks so much-
This mail sent through IMP: http://horde.org/imp/___Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDUhttps://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

// $Id: Voltage.h,v 1.1 2005/03/16 05:12:29 jwhui Exp $

/*  tab:2
 *
 *
 * Copyright (c) 2000-2005 The Regents of the University  of California.  
 * All rights reserved.
 *
 * Permission to use, copy, modify, and distribute this software and its
 * documentation for any purpose, without fee, and without written agreement is
 * hereby granted, provided that the above copyright notice, the following
 * two paragraphs and the author appear in all copies of this software.
 * 
 * IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR
 * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT
 * OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF
 * CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 * 
 * THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
 * AND FITNESS FOR A PARTICULAR PURPOSE.  THE SOFTWARE PROVIDED HEREUNDER IS
 * ON AN AS IS BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATION TO
 * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
 *
 */

/**
 * @author Jonathan Hui [EMAIL PROTECTED]
 */

#ifndef __VOLTAGE_H__
#define __VOLTAGE_H__

enum {
  TOS_ADC_VOLTAGE_PORT = 7,
  TOSH_ACTUAL_VOLTAGE_PORT = 7,
};

#endif
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Is WMEWMA from A.Woo fully implemented in MintRoute?

2006-03-27 Thread Rahul Sawant

alpha [0, 1] controls the history of the estimator, it is used in function 

void updateEst(TableEntry *Nbr)
if u see line305 in file MultihopWMEWMA.nc

tmp = ((2 * ((uint16_t)Nbr-receiveEst) + (uint16_t)newAve * 6) / 8);

the 6/8 = (0.75) and 2/8 (0.25) is the Alpha. ie here they use 25% of old value and 75% of new value.


Rahul Sawant


On 3/27/06, Vinayak Naik [EMAIL PROTECTED] wrote:


I do notknow the implementation details of WMEWMA inthe MinRoute codeunder TinyOS.

Here are the steps to learn about WMEWMA as a mathematical function:
+Google Moving Average
+Google Exponentially Weighted Moving Average
+ I would say that WMEWAMA is EWMA ofMean over a Window. In MintRoute, reliability of a link is calculated over window of periodT and EWMA of that windowed mean is calculated to estimate link quality.

Alpha is a parameter for EWMA function. It represents the amount of history used tocalculate next average.

- Vinayak

On 3/27/06, Nue Noi 
[EMAIL PROTECTED] wrote: 



Hi,I have a question about MintRoute protocol.I have read the paper from A.Woo. I couldn't find a similar formulardescribed in the paper, especially the factor alpha. I went through 
the codes in /tos/lib/MintRoute many times but I couldn't find where this alpha is used. I am doubtful that the alpha value 0.6in the paper was really implemented in nesC. I guess that the function used to estimate the link quality is 
evaluateCost(). If anybody could explain more in details how WMEWMA estimator performs following the paper, I would bevery appreciated. Thank you.Regards,NueNoi
___ Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDUhttps://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

___Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDUhttps://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] MultihopWMEWMA - Basic Arithmetic

2006-03-08 Thread Rahul Sawant
Hi,

In file MultihopWMEWMA.nc and in function void updateEst(TableEntry *Nbr)

thereis this following line 
newAve = ((uint16_t) 255 * (uint16_t)Nbr-received) / (uint16_t)usActTotal;

can any one tell me why the Nbr-received value is multiplied by 255.
TIA

Rahul
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] please help me about this Tiny OS problem....it would be a great help..thankyou

2006-02-20 Thread Rahul Sawant
Swati

which programming board r u using mib500 or mib510, and what version of tiny os have u installed

if it is mib510 then the problem is as highlighted in green

Rahul Sawant
On 2/16/06, Swati Gupta [EMAIL PROTECTED] wrote:

Hello,
This is Swati from DA-IICT,
i am working on the Mica motes in the Crossbow kit and am facing an error in uploading the program in the mote
I would like to know how to reset the Fuse High Byte which is coming as set to 0xd8
i am also getting a flash error like this


uisp -dprog=dapa --wr_fuse_h=0xd8 -dpart=ATmega128 --wr_fuse_e=ff --eraseAtmel AVR ATmega128 is found.Erasing device ...
Reinitializing device Atmel AVR ATmega128 is found. pulsepulseFuse High Byte set to 0xd8Fuse Extended Byte set to 0xff
sleep 1uisp -dprog=dapa --wr_fuse_h=0xd8 -dpart=ATmega128 --wr_fuse_e=ff -- upload if=build/mica2/main.srec.outAtmel AVR ATmega128 is found.Uploading: flash
pulseFuse High Byte set to 0xd8Fuse Extended Byte set to 0xffsleep 1 uisp -dprog=dapa --wr_fuse_h=0xd8 -dpart=ATmega128 --wr_fuse_e=ff --verify if=build/mica2/main.srec.out
Atmel AVR ATmega128 is found.Verifying: flashflash error at address 0x0: file=0x0c, mem=0xff flash error at address 0x1: file=0x94, mem=0xffflash error at address 0x2: file=0xb5, mem=0xff
flash error at address 0x3: file=0x01, mem=0xffflash error at address 0x4: file=0x0c, mem=0xff flash error at address 0x5: file=0x94, mem=0xffflash error at address 0x6: file=0xd2, mem=0xff
flash error at address 0x7: file=0x01, mem=0xff 
Can you please guide me why am i getting the highlighted error?
It would be of tremendous help to me
Thankyou
Regards,Swati[EMAIL PROTECTED] ___
Tinyos-help mailing listTinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] MIB510 upload problem with latest cvs update

2006-02-14 Thread Rahul Sawant
Hey Andre

Try the following it works for me for mica2, mib510 and Tinyos 1.1.15 with cygwin update

compileas follows for mica2

make mica2 install mib510

also u need to put the following in ur Makelocal file in the tools/make folder

MIB510=/dev/ttyS0

I am also attaching my Makelocal file if it helps you

Rahul Sawant
On 2/14/06, André Cunha [EMAIL PROTECTED] wrote:
Hello again: Thanks for the help, but it doesn´t work, the cygwin doesn´trecognize the /dev/ttyS0.
I´ve also tried to change the files in the tools directory with thefiles of the older versions but it silldoesn´t work. All the information i´ve found in the maillist about this problemseen to be inconclusive.
 I believe there are other people with the same problem. Can you give other sugestions.Thanks for the help.Andre CunhaIPP-Hurray, PortoPortugalMichael Schippling wrote:
 The general problem is that UISP doesn't work with the cygwin 1.2 update. You can try using /dev/ttyS0 instead of COM1, which _might_ work. Also search back through this list over the last month or two,
 there's been a lot of discussion of this. MS André Cunha wrote: Hi, I´ve updated my tinyos installation and now i can´t upload programs to the crossbow mib510.
 The upload freezes during uisp. Here is the log:mkdir -p build/micazcompiling Blink to a micaz binaryncc -o build/micaz/main.exe -Os -finline-limit=10 -Wall -Wshadow
-DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=micaz-fnesc-cfile=build/micaz/app.c -board=micasb-DIDENT_PROGRAM_NAME=\Blink\ -DIDENT_USER_ID=\Hurray\-DIDENT_HOSTNAME=\Mote-vation\ -DIDENT_USER_HASH=0x48f6d189L
-DIDENT_UNIX_TIME=0x43f0ae46L -DIDENT_UID_HASH=0x9e616f15L-I/opt/tinyos-1.x/tos/lib/CC2420Radio Blink.nc -lmcompiled Blink to build/micaz/main.exe
1662 bytes in ROM47 bytes in RAMavr-objcopy --output-target=srec build/micaz/main.exebuild/micaz/main.srecset-mote-id build/micaz/main.srec build/micaz/main.srec.out 1
installing micaz binary using mib510uisp -dprog=mib510 -dserial=com1 -dpart=ATmega128 --wr_fuse_e=ff--erase --upload if=build/micaz/main.srec.out On my old installation it works fine.
 Any clues??? Thanks Andre Cunha ___ Tinyos-help mailing list 
Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
___Tinyos-help mailing listTinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
# Makelocal File

CFLAGS = -DCC1K_DEFAULT_FREQ=CC1K_433_002_MHZ

MIB510=/dev/ttyS0

DEFAULT_LOCAL_GROUP = 0x15

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Makelocal file

2006-02-02 Thread Rahul Sawant
Hi all

Does any one know how to set the MIB510 programming board and /dev/ttyS0 serial port option in makelocal file for tinyos 1.1.15. I guess it is different than the old way as tinyos 1.1.15 has a whole new make system.


I tried with the following line in makelocal but it doesnt work

MIB510 = mib510,/dev/ttyS0





Rahul Sawant
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help