RE: [Tinyos-help] CRC checking

2007-04-09 Thread jurin dan
thanks a lot for your reply.
 
just one more thing. within the raw data packet, which byte do i use to compute 
the CRC.
is it all byte or only TOS_MSG byte.
 
 



 Date: Sun, 8 Apr 2007 17:22:29 -0600 From: [EMAIL PROTECTED] To: [EMAIL 
 PROTECTED] CC: tinyos-help@Millennium.Berkeley.EDU Subject: Re: 
 [Tinyos-help] CRC checking  This site describes the message format and CRC 
 calculation: 
 http://www.octavetech.com/pubs/TB5-01%20Deciphering%20TinyOS%20Serial%20Packets.pdf
   There's also code in TOS (well...duh) and the java tools which does the 
 CRC. I know one is called crc.java  MS  jurin dan wrote:hi,   
  i have the raw data packet below receive with xlisten app:  *$ 
 xlisten -r -b=mica2 -s=COM4 -t**xlisten Ver:$Id: xlisten.c,v 1.2 
 2005/06/21 01:36:06 pipeng Exp $**Using params: [baud=0x1001] [raw] 
 [timed]**COM4 input stream opened**[2007/04/04 10:40:35]*  
   
 *7e42007d5d1d840101009101710031037d5d023003007964
[40]*  CRC = 0x6479 (last bytes)i woul like to know 
 how i could use the CRC to check the integrity of   the transmitted 
 packet.  and which byte of the packet are taking in acount to compute the 
 CRC.thanx for your help  
   
 Invite your mail contacts to join your friends list with Windows Live   
 Spaces. It's easy! Try it!   
 http://spaces.live.com/spacesapi.aspx?wx_action=createwx_url=/friends.aspxmkt=en-us
   
    
  ___  Tinyos-help mailing 
 list  Tinyos-help@Millennium.Berkeley.EDU  
 https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] CRC checking

2007-04-08 Thread jurin dan
 
hi,
 
i have the raw data packet below receive with xlisten app:
 
$ xlisten -r -b=mica2 -s=COM4 -t
xlisten Ver:$Id: xlisten.c,v 1.2 2005/06/21 01:36:06 pipeng Exp $
Using params: [baud=0x1001] [raw] [timed]
COM4 input stream opened
[2007/04/04 10:40:35]
7e42007d5d1d840101009101710031037d5d023003007964
 [40]

 
CRC = 0x6479 (last bytes)
 
i woul like to know how i could use the CRC to check the integrity of the 
transmitted packet.
and which byte of the packet are taking in acount to compute the CRC.
 
thanx for your help
_
Invite your mail contacts to join your friends list with Windows Live Spaces. 
It's easy!
http://spaces.live.com/spacesapi.aspx?wx_action=createwx_url=/friends.aspxmkt=en-us___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] AM type

2007-01-15 Thread jurin dan
hi
is there any document where it describe or list  different Active Message type.
thx
 
 
 
_
Be one of the first to try Windows Live Mail.
http://ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-4911fb2b2e6d___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] XSensorMTS300

2007-01-13 Thread jurin dan


hi

I would like to know which Active Message types is use in
XSensorMTS300 applications. Or where i could found it.Also, is there any 
document containing the list of Active Message types?

thx


_
Be one of the first to try Windows Live Mail.
http://ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-4911fb2b2e6d___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] senselighttolog reading

2006-08-19 Thread jurin dan



  hi,

  i'm working with senselighttolog apps.
  when i send read_log command i get this message:

$ java net.tinyos.tools.BcastInject read_log 1
Sending payload: e4 6 0 0 0 1 0 0 0 0 0
Waiting for response to read_log...
Received log message: Message LogMsg
 [sourceaddr=0x1]
 [log=0x6b 0x3 0x7b 0x3 0x80 0x3 0x73 0x3 0x6f 0x3 0x7d 0x3 0x7f 0x3 0x6c 
0x3 ]



Log values: 6b 3 7b 3 80 3 73 3 6f 3 7d 3 7f 3 6c 3

   i read the log value like this:

0x36b / 0x37b / 0x380 / 0x373 / 0x36f / 0x37d / 0x37f / 0x36c

   is this the right away to read?

   after i convert the reading in decimal and get respectively:

875 / 891 / 896 / 883 / 879 / 893 / 895 / 876

   i want to know if the average of this values is the final value of 
light ?


   thx

_
Play Q6 for your chance to WIN great prizes.  
http://q6trivia.imagine-live.com/enca/landing


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


[Tinyos-help] read packet from serial forwarder

2006-08-17 Thread jurin dan


hi,

i want to know if i'm able to connect a client to serial forwarder, how can 
i manage so that this client get the packet read by the serial forwarder.


thx

_
Play Q6 for your chance to WIN great prizes.  
http://q6trivia.imagine-live.com/enca/landing


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


[Tinyos-help] serial forwarder

2006-08-17 Thread jurin dan


who know serial forwarder byte order?

thx

_
Play Q6 for your chance to WIN great prizes.  
http://q6trivia.imagine-live.com/enca/landing


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


[Tinyos-help] SenseLightToLog with MATLAB

2006-08-16 Thread jurin dan



hi,

i'm trying to run the SenseLightToLog apps from MATLAB.
i'm able to send all command from MATLAB to the network but i don't 
know how to get the LogMsg from MATLAB.


i.e after sending start_sensing command, i  send read_log command 
now i have to find the way how to get the Log message from MATLAB.


did anybody have an idea?

thx

_
Play Q6 for your chance to WIN great prizes.  
http://q6trivia.imagine-live.com/enca/landing


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


[Tinyos-help] sensor reading

2006-08-14 Thread jurin dan


hi,

i'm using MTS300CA sensor and i would like to know how i can 
convert sensor light reading into engineering units. in his datasheet, they 
only show how to convert temperature reading into engineering units.


thx

_
Play Q6 for your chance to WIN great prizes.  
http://q6trivia.imagine-live.com/enca/landing


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


[Tinyos-help] tinyos tutorial's Lesson 7

2006-08-09 Thread jurin dan



hi,

   recently i have done successfully the exercice in the lesson 7 of 
tinyos tutorial. the exercice consist of adding the command tog_sounder to 
the existing command of SimpleCmd apps.


   i can compile and load the modified SimpleCmd on mica2 and all test 
run well.

   but when i want to do so with mica2dot, i got this message error:

   $ PFLAGS=-DCC1K_DEF_FREQ=91640 make mica2dot
mkdir -p build/mica2dot
   compiling SenseLightToLog to a mica2dot binary
ncc -o build/mica2dot/main.exe -Os -DCC1K_DEF_FREQ=91640 
-finline-limit=1000
00 -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=mica2dot 
-fnesc-cfi
le=build/mica2dot/app.c -board=basicsb -I%T/lib/Deluge 
-DIDENT_PROGRAM_NAME=\Se
nseLightToLog\ -DIDENT_USER_ID=\Owner\ 
-DIDENT_HOSTNAME=\toshiba-ce16063\ -
DIDENT_USER_HASH=0x35e4e258L -DIDENT_UNIX_TIME=0x44da2288L 
-DIDENT_UID_HASH=0x2c

60b367L SenseLightToLog.nc -lm
SimpleCmd.nc:58: component Sounder not found
C:/tinyos/cygwin/opt/tinyos-1.x/tos/platform/mica2dot/HPLUART0M.nc:51: 
expected

component `Sounder', but got component 'HPLUART0M'
Bip.nc:48: no match
SimpleCmd.nc:72: no match
make: *** [exe0] Error 1


   how can i fix this bug.
   thx in advance

_
Play Q6 for your chance to WIN great prizes.  
http://q6trivia.imagine-live.com/enca/landing


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


[Tinyos-help] SenseLightToLog

2006-08-09 Thread jurin dan


   hi

  did anybody know when dealing with senselighttolog apps how to convert 
the data get with the command read_log in to comprehensive data to human 
being?


 i.e read_log command print this to the screen :

$ java net.tinyos.tools.BcastInject read_log 1
Sending payload: ae 6 0 0 0 1 0 0 0 0 0
Waiting for response to read_log...
Received log message: Message LogMsg
 [sourceaddr=0x1]
 [log=0xd4 0x0 0x96 0x0 0x92 0x0 0x91 0x0 0x90 0x0 0x90 0x0 0x90 0x0 0x90 
0x0 ]



Log values: d4 0 96 0 92 0 91 0 90 0 90 0 90 0 90 0

what is the means of log values and how can i convert to comprehensive data?

  thx

_
Play Q6 for your chance to WIN great prizes.  
http://q6trivia.imagine-live.com/enca/landing


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


[Tinyos-help] commands in cygwin.

2006-08-02 Thread jurin dan



hi,

   did anybody know the command line to execute a patch in cygwin?

   thx

_
Play Q6 for your chance to WIN great prizes.  
http://q6trivia.imagine-live.com/enca/landing


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


Re: [Tinyos-help] tinyos tutorial lesson 7

2006-08-01 Thread jurin dan

hi,

i've done what u advise to me. and one more thing, i have add Sounder in 
component list in the file SimpleCmd.nc before it work.


thx



From: Michael Schippling [EMAIL PROTECTED]
To: jurin dan [EMAIL PROTECTED]
CC: tinyos-help@Millennium.Berkeley.EDU
Subject: Re: [Tinyos-help] tinyos tutorial lesson 7
Date: Sun, 30 Jul 2006 16:48:19 -0600

You probably missed adding Sounder to the SimpleCmd.nc config file.
Follow the example of PotC or LedsC in that file and I think you
may have more success...
MS


jurin dan wrote:


   hi

   i'm trying to do the exercise of lesson 7 of tinyos tutorial.
   i've got a bug in step two which consist of In SimpleCmdM.nc, to 
initialize the sounder and add a new command action that will turn the 
sounder on and off.


  i've joined to the mail the file simplecmdM.nc that i modified. 
changes were made at line 64, 80, 124-130 and 148.


 when i compile simplecmd i got this error message:

 $ make install mica2
   compiling Bcast to a mica2 binary
ncc -o build/mica2/main.exe -Os -board=micasb -target=mica2 
-DCC1K_DEF_FREQ=9164
0 -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all 
-finline-limit=10 -f

nesc-cfile=build/mica2/app.c  Bcast.nc -lm
SimpleCmd.nc:56: cannot find `Sounder'
make: *** [build/mica2/main.exe] Error 1


  i'm trying to fix the bug. help me please.

_
Play Q6 for your chance to WIN great prizes.  
http://q6trivia.imagine-live.com/enca/landing

// $Id: SimpleCmdM.nc,v 1.4 2004/05/04 22:39:07 idgay Exp $

/*tab:4
* Copyright (c) 2000-2003 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.
*
* Copyright (c) 2002-2003 Intel Corporation
* All rights reserved.
*
* This file is distributed under the terms in the attached INTEL-LICENSE
* file. If you do not find these files, copies can be found by writing to
* Intel Research Berkeley, 2150 Shattuck Avenue, Suite 1300, Berkeley, CA,
* 94704.  Attention:  Intel License Inquiry.
*/
/*
* Author:  Robert Szewczyk,  Su Ping
*
* $\Id$
*/

/**
* SimpleCmdM is a tiny OS application module.
* This module demonstrates a simple command interpreter for the TinyOS
* tutorial. The module receives a command message from the radio, which
* is passed to the ProcessCmd interface for processing. A task is posted
* to process the command. The command packet contains a one-byte
* 'action' field specifying which action to take; as a simple version,
* this module can only interpret the follwoing commands:
* Led_on (action = 1), Led_off (2), radio_quieter (3), and radio_louder 
(4).

*
* This module also implements the ProcessCmd interface.
* @author Robert Szewczyk
* @author Su Ping
**/
includes SimpleCmdMsg;

module SimpleCmdM {
 provides {
   interface StdControl;
   interface ProcessCmd;
 }

 uses {
   interface Leds;
   interface Pot;
   interface ReceiveMsg as ReceiveCmdMsg;
   interface StdControl as CommControl;
interface StdControl as Sounder;
 }
}

/*
*  Module Implementation
*/


implementation
{

 // module scoped variables
 TOS_MsgPtr msg;
 int8_t pending;
 TOS_Msg buf;
 bool sound=TRUE;


 /**
  *
  * This task evaluates a command and execute it if it is a supported
  * command.The protocol for the command interpreter is that
  * it operates on the message and returns a (potentially modified)
  * message to the calling layer, as well a status word for whether
  * the message should be futher processed.
  *
  * @return Return: None
  **/

 task void cmdInterpret() {
   struct SimpleCmdMsg * cmd = (struct SimpleCmdMsg *) msg-data;
   // do local packet modifications: update the hop count and packet 
source

   cmd-hop_count++;
   cmd-source = TOS_LOCAL_ADDRESS;

   // Interpret the command: Display the level on red and green led
   if (cmd-hop_count  0x1)
 call Leds.greenOn();
   else
 call Leds.greenOff();
   if (cmd-hop_count  0x2)
 call Leds.redOn();
   else
 call Leds.redOff

[Tinyos-help] tinyos tutorial lesson 7

2006-07-30 Thread jurin dan


   hi

   i'm trying to do the exercise of lesson 7 of tinyos tutorial.
   i've got a bug in step two which consist of In SimpleCmdM.nc, to 
initialize the sounder and add a new command action that will turn the 
sounder on and off.


  i've joined to the mail the file simplecmdM.nc that i modified. 
changes were made at line 64, 80, 124-130 and 148.


 when i compile simplecmd i got this error message:

 $ make install mica2
   compiling Bcast to a mica2 binary
ncc -o build/mica2/main.exe -Os -board=micasb -target=mica2 
-DCC1K_DEF_FREQ=9164
0 -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all 
-finline-limit=10 -f

nesc-cfile=build/mica2/app.c  Bcast.nc -lm
SimpleCmd.nc:56: cannot find `Sounder'
make: *** [build/mica2/main.exe] Error 1


  i'm trying to fix the bug. help me please.

_
Play Q6 for your chance to WIN great prizes.  
http://q6trivia.imagine-live.com/enca/landing

// $Id: SimpleCmdM.nc,v 1.4 2004/05/04 22:39:07 idgay Exp $

/*  tab:4
* Copyright (c) 2000-2003 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.
*
* Copyright (c) 2002-2003 Intel Corporation
* All rights reserved.
*
* This file is distributed under the terms in the attached INTEL-LICENSE
* file. If you do not find these files, copies can be found by writing to
* Intel Research Berkeley, 2150 Shattuck Avenue, Suite 1300, Berkeley, CA,
* 94704.  Attention:  Intel License Inquiry.
*/
/*
* Author:  Robert Szewczyk,  Su Ping
*
* $\Id$
*/

/**
* SimpleCmdM is a tiny OS application module.
* This module demonstrates a simple command interpreter for the TinyOS
* tutorial. The module receives a command message from the radio, which
* is passed to the ProcessCmd interface for processing. A task is posted
* to process the command. The command packet contains a one-byte
* 'action' field specifying which action to take; as a simple version,
* this module can only interpret the follwoing commands:
* Led_on (action = 1), Led_off (2), radio_quieter (3), and radio_louder (4).
*
* This module also implements the ProcessCmd interface.
* @author Robert Szewczyk
* @author Su Ping
**/
includes SimpleCmdMsg;

module SimpleCmdM {
 provides   {
   interface StdControl;
   interface ProcessCmd;
 }

 uses {
   interface Leds;
   interface Pot;
   interface ReceiveMsg as ReceiveCmdMsg;
   interface StdControl as CommControl;
interface StdControl as Sounder;
 }
}

/*
*  Module Implementation
*/


implementation
{

 // module scoped variables
 TOS_MsgPtr msg;
 int8_t pending;
 TOS_Msg buf;
 bool sound=TRUE;


 /**
  *
  * This task evaluates a command and execute it if it is a supported
  * command.The protocol for the command interpreter is that
  * it operates on the message and returns a (potentially modified)
  * message to the calling layer, as well a status word for whether
  * the message should be futher processed.
  *
  * @return Return: None
  **/

 task void cmdInterpret() {
   struct SimpleCmdMsg * cmd = (struct SimpleCmdMsg *) msg-data;
   // do local packet modifications: update the hop count and packet source
   cmd-hop_count++;
   cmd-source = TOS_LOCAL_ADDRESS;

   // Interpret the command: Display the level on red and green led
   if (cmd-hop_count  0x1)
 call Leds.greenOn();
   else
 call Leds.greenOff();
   if (cmd-hop_count  0x2)
 call Leds.redOn();
   else
 call Leds.redOff();

   // Execute the command
   switch (cmd-action) {
 case LED_ON:
call Leds.yellowOn();
break;
 case LED_OFF:
call Leds.yellowOff();
break;
 case RADIO_QUIETER:
call Pot.increase();
break;
 case RADIO_LOUDER:
call Pot.decrease();
break;
  case TOG_SOUNDER:
if (sound)
  call Sounder.start();
else
  call Sounder.stop();
  sound=!sound;
break;
   }

   pending =0;
   

[Tinyos-help] excute patch

2006-07-26 Thread jurin dan


  hi,

  i would like to excute MatlabControl-R13-R14.patch in cygwin.
  but i don't know the command syntax.

  could anybody give me a help?

  thx

_
Play Q6 for your chance to WIN great prizes.  
http://q6trivia.imagine-live.com/enca/landing


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


[Tinyos-help] setting node ID

2006-07-25 Thread jurin dan


hi,

i'm using tinyos v.1.1.10 and i want to set a node ID. i used this 
command:

make mica2 install,1 mib510,com1
message error was:
make:***No rule to make target '1'. Stop.

is somebody aware of the right syntax of the command?

thx

_
Play Q6 for your chance to WIN great prizes.  
http://q6trivia.imagine-live.com/enca/landing


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


[Tinyos-help] radio verification test

2006-07-23 Thread jurin dan


 hi,

i was using tinyos 1.1.10 and the radio verification test made with 
mica2 and mica2dot was succesfull. but after upgrading my tinyos version to 
1.1.15 with the same command i have node failure transmission. i tried one 
more time but still having node failure transmission failure.


are they any setting i have to made on tinyos 1.1.15 before ?

thx in advance.

_
Play Q6 for your chance to WIN great prizes.  
http://q6trivia.imagine-live.com/enca/landing


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


[Tinyos-help] radio verification test

2006-07-23 Thread jurin dan


 hi,

i was using tinyos 1.1.10 on my lapttop and the radio verification 
test made with mica2 and mica2dot was succesfull. but after upgrading my 
tinyos version to 1.1.15 (now i'am working on desktop) with the same command 
i have node failure transmission. i tried one more time but still having 
node failure transmission failure.


are they any setting i have to made on tinyos 1.1.15 before the 
radio verification work on when i'am using my desktop? of course i've set my 
COM port to 57600 bits/sec before starting the test.


thx in advance.

_
Play Q6 for your chance to WIN great prizes.  
http://q6trivia.imagine-live.com/enca/landing


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


Re: [Tinyos-help] testing mica2dot test

2006-07-20 Thread jurin dan


 Hi,

 i have for my sensor network apps, 2 motes: mica2 and mica2dot. (i'am 
using MIB510 station base). i've performed for both mote all hardware 
verification up to Radio Verification step.
 i've installled tosbase apps on my mica2 and using the mica2dot 
install with micahwverify as node. as result for this commande:


 make -f jmakefile
 [EMAIL PROTECTED]: mica2dot java hardware_check

 i've got this message:

 Hardware check started
 [EMAIL PROTECTED]:19200: resynchonising
 Node transmission failure

and this failure notice happened even when i configure radio frequency in  
C:\Program Files\UCB\cygwin\opt\tinyos-1.x\tos\platform\mica2 at file named 
CC1000Const.h


 did anyboy have idea to debug this. thx in advance

p.s: i've set my port to 57600 bits per second.

_
Play Q6 for your chance to WIN great prizes.  
http://q6trivia.imagine-live.com/enca/landing


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


Re: [Tinyos-help] testing mica2dot test

2006-07-20 Thread jurin dan

 Hi,

 i have for my sensor network apps, 2 motes: mica2 and mica2dot. (i'am
using MIB510 station base). i've performed for both mote all hardware
verification up to Radio Verification step.
 i've installled tosbase apps on my mica2 and using the mica2dot
install with micahwverify as node. as result for this commande:

 make -f jmakefile
 [EMAIL PROTECTED]: mica2dot java hardware_check

 i've got this message:

 Hardware check started
 [EMAIL PROTECTED]:19200: resynchonising
 Node transmission failure

and this failure notice happened even when i configure radio frequency in
C:\Program Files\UCB\cygwin\opt\tinyos-1.x\tos\platform\mica2 at file named
CC1000Const.h

but  i`ve done my research in deep and found that, serial to radio link 
is able but not radio to serial


 did anyboy still having idea to debug this. thx in advance

p.s: i've set my port to 57600 bits per second.

_
Play Q6 for your chance to WIN great prizes.  
http://q6trivia.imagine-live.com/enca/landing


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


Re: [Tinyos-help] Uploading apps on mica2

2006-07-19 Thread jurin dan


Hi,

i've tried your command.
i've got improvement but the compiling and uplaoding process just frozen.
the message was :

$ MIB510=COM2 make mica2 install mib510
mkdir -p build/mica2
   compiling MicaHWVerify to a mica2 binary
ncc -o build/mica2/main.exe -Os -finline-limit=10 -Wall -Wshadow 
-DDEF_TOS_A
M_GROUP=0x7d -Wnesc-all -target=mica2 -fnesc-cfile=build/mica2/app.c 
-board=mica
sb -I%T/lib/Deluge -DIDENT_PROGRAM_NAME=\MicaHWVerify\ 
-DIDENT_USER_ID=\netwo
rk2005\ -DIDENT_HOSTNAME=\essel\ -DIDENT_USER_HASH=0x7e9fb28fL 
-DIDENT_UNIX_T

IME=0x44be5becL -DIDENT_UID_HASH=0x0cdb6f89L MicaHWVerify.nc -lm
   compiled MicaHWVerify to build/mica2/main.exe
  11738 bytes in ROM
450 bytes in RAM
avr-objcopy --output-target=srec build/mica2/main.exe build/mica2/main.srec
avr-objcopy --output-target=ihex build/mica2/main.exe build/mica2/main.ihex
   writing TOS image
cp build/mica2/main.srec build/mica2/main.srec.out
   installing mica2 binary using mib510
uisp -dprog=mib510 -dserial=COM2 --wr_fuse_h=0xd8 -dpart=ATmega128 
--wr_fuse_e=f

f  --erase --upload if=build/mica2/main.srec.out

from here i wait till 2 minutes and nothing happened.

thx for your help



From: Krisakorn Rerkrai [EMAIL PROTECTED]
To: jurin dan [EMAIL PROTECTED]
CC: tinyos-help@millennium.berkeley.edu
Subject: Re: [Tinyos-help] Uploading apps on mica2
Date: Wed, 19 Jul 2006 09:38:53 +0200

Hi,

I got the same problem before. You can try this

$ MIB510=/dev/ttyS0 make mica2 install mib510

At least, it works so fine for me under WindowXP/Cgywin and TinyOS 1.1.15.

-Krisakorn

On 7/19/06, jurin dan [EMAIL PROTECTED] wrote:



Hi.

i'm working with MIB510 and mica2 and mica2dot.
presently i've some difficulties to upload an apps on my mote.
when
i make in micahwverify folder,make install mica2, i get flash error
message.
i've check the serial connection and setting which working well, the mote
hardware is not damaged also and well connected.

 please do u have some idea to solve this bug?

_
Play Q6 for your chance to WIN great prizes.
http://q6trivia.imagine-live.com/enca/landing

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



_
Play Q6 for your chance to WIN great prizes.  
http://q6trivia.imagine-live.com/enca/landing


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


Re: [Tinyos-help] Uploading apps on mica2

2006-07-19 Thread jurin dan


I've upgraded my tinyos to  tinyos-1.1.15 version today.
for cygwin version i don't know how to check.




From: Sankar Gorthi [EMAIL PROTECTED]
To: jurin dan [EMAIL PROTECTED], [EMAIL PROTECTED]
CC: tinyos-help@millennium.berkeley.edu
Subject: Re: [Tinyos-help] Uploading apps on mica2
Date: Wed, 19 Jul 2006 12:22:47 -0500

Oh snap! not you too! I suffered through all of that last week. What  
versions of cygwin, tinyos etc are you using?


I was trying out the new cygwin environment and the jan2005  
(tinyos-1.1.10) build.


Sankar.

On Wed, 19 Jul 2006 11:42:52 -0500, jurin dan [EMAIL PROTECTED] wrote:



Hi,

i've tried your command.
i've got improvement but the compiling and uplaoding process just frozen.
the message was :

$ MIB510=COM2 make mica2 install mib510
mkdir -p build/mica2
compiling MicaHWVerify to a mica2 binary
ncc -o build/mica2/main.exe -Os -finline-limit=10 -Wall -Wshadow  
-DDEF_TOS_A
M_GROUP=0x7d -Wnesc-all -target=mica2 -fnesc-cfile=build/mica2/app.c  
-board=mica
sb -I%T/lib/Deluge -DIDENT_PROGRAM_NAME=\MicaHWVerify\  
-DIDENT_USER_ID=\netwo
rk2005\ -DIDENT_HOSTNAME=\essel\ -DIDENT_USER_HASH=0x7e9fb28fL  
-DIDENT_UNIX_T

IME=0x44be5becL -DIDENT_UID_HASH=0x0cdb6f89L MicaHWVerify.nc -lm
compiled MicaHWVerify to build/mica2/main.exe
   11738 bytes in ROM
 450 bytes in RAM
avr-objcopy --output-target=srec build/mica2/main.exe  
build/mica2/main.srec
avr-objcopy --output-target=ihex build/mica2/main.exe  
build/mica2/main.ihex

writing TOS image
cp build/mica2/main.srec build/mica2/main.srec.out
installing mica2 binary using mib510
uisp -dprog=mib510 -dserial=COM2 --wr_fuse_h=0xd8 -dpart=ATmega128  
--wr_fuse_e=f

f  --erase --upload if=build/mica2/main.srec.out

from here i wait till 2 minutes and nothing happened.

thx for your help



From: Krisakorn Rerkrai [EMAIL PROTECTED]
To: jurin dan [EMAIL PROTECTED]
CC: tinyos-help@millennium.berkeley.edu
Subject: Re: [Tinyos-help] Uploading apps on mica2
Date: Wed, 19 Jul 2006 09:38:53 +0200

Hi,

I got the same problem before. You can try this

$ MIB510=/dev/ttyS0 make mica2 install mib510

At least, it works so fine for me under WindowXP/Cgywin and TinyOS  
1.1.15.


-Krisakorn

On 7/19/06, jurin dan [EMAIL PROTECTED] wrote:



Hi.

i'm working with MIB510 and mica2 and mica2dot.
presently i've some difficulties to upload an apps on my mote.
when
i make in micahwverify folder,make install mica2, i get flash error
message.
i've check the serial connection and setting which working well, the  
mote

hardware is not damaged also and well connected.

 please do u have some idea to solve this bug?

_
Play Q6 for your chance to WIN great prizes.
http://q6trivia.imagine-live.com/enca/landing

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



_
Play Q6 for your chance to WIN great prizes.   
http://q6trivia.imagine-live.com/enca/landing


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




--
No opera plot can be sensible, for people do not sing when they are  
feeling sensible. - W. H. Auden


_
Play Q6 for your chance to WIN great prizes.  
http://q6trivia.imagine-live.com/enca/landing


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


[Tinyos-help] testing mica2dot test.

2006-07-19 Thread jurin dan


   Hi,

  i have for my sensor network apps, 2 motes: mica2 and mica2dot. (i'am 
using MIB510 station base). i've performed for both mote all hardware 
verification up to Radio Verification step.
  i've installled tosbase apps on my mica2 and using the mica2dot 
install with micahwverify as node. as result for this commande:


  make -f jmakefile
  [EMAIL PROTECTED]: mica2dot java hardware_check

  i've got this message:

  Hardware check started
  [EMAIL PROTECTED]:19200: resynchonising
  Node transmission failure

  did anyboy have idea to debug this. thx in advance
p.s: i've set my port to 57600 bits per second.

_
Play Q6 for your chance to WIN great prizes.  
http://q6trivia.imagine-live.com/enca/landing


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


[Tinyos-help] Uploading apps on mica2

2006-07-18 Thread jurin dan


   Hi.

   i'm working with MIB510 and mica2 and mica2dot.
   presently i've some difficulties to upload an apps on my mote. when 
i make in micahwverify folder,make install mica2, i get flash error message. 
i've check the serial connection and setting which working well, the mote 
hardware is not damaged also and well connected.


please do u have some idea to solve this bug?

_
Play Q6 for your chance to WIN great prizes.  
http://q6trivia.imagine-live.com/enca/landing


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