[Tinyos-help] Problem with xmeshbase

Giri Baleri mbaleri at xbow.com
Tue May 6 08:18:30 PDT 2008


Your compile output looks good (assuming that you have 433 MHz version of MICA2).
Could you also send me the output from your install/reinstall command?
 
Also, please make sure that the SW2 switch on the MIB510 is set to OFF position before trying to read data using XServe/MoteView.

Giri

________________________________

From: 刘勇 [mailto:dudu2077 at hotmail.com] 
Sent: Monday, May 05, 2008 6:31 PM
To: Giri Baleri
Subject: RE: [Tinyos-help] Problem with xmeshbase


I am using MIB510. The base node id is assigned as 0. The code is successfully compiled, the output is copied at the end. The exe file is uploaded by moteconfig, but it doesn't work. I do not change any code after motworks installation. So I am quite confused what I do wrong.
 
Thanks!
 
LIU Yong
 
PN compile output:

> "d:\Crossbow\PN\IDE.bat" "D:\Crossbow\cygwin\opt\MoteWorks\apps\xmesh\XMeshBase\" "d:\Crossbow\cygwin\bin" "make mica2"
#############################
Command:   make mica2
Cygwin:    d:\Crossbow\cygwin\bin
Directory: D:\Crossbow\cygwin\opt\MoteWorks\apps\xmesh\XMeshBase\
"/opt/MoteWorks/tools/bin/ide.pl 'make mica2' 'D:\Crossbow\cygwin\opt\MoteWorks\apps\xmesh\XMeshBase\'"
#############################
ide.pl Ver:$Id: ide.pl,v 1.1.2.1 2006/05/29 07:22:52 lwei Exp $
Executing: /opt/MoteWorks/apps/xmesh/XMeshBase/ bash -c "make mica2"
mkdir -p build/mica2
    compiling XMeshBase to a mica2 binary, using binary components
ncc -o build/mica2/main.exe -Os -finline-limit=100000 -DBASE_STATION -I%T/platform/mica2 -I%T/lib/Queue -I%T/sensorboards/micasb  -I%T/lib/Broadcast -I%T/lib/XLib  -I/opt/MoteWorks/tos/lib/XHeartbeat -DMHOP_QUEUE_SIZE=12 -DFREQ_433_MHZ  -DFREQ_433_MHZ  -DROUTE_PROTOCOL=0x90 -I%T/radio/cc1000hp -I%T/lib/XMeshBin -DMULTIHOPROUTER=XMeshBinaryRouter -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7D -Wnesc-all -target=mica2 -fnesc-cfile=build/mica2/app.c -board=micasb -DTOSH_DATA_LENGTH=55 -DIDENT_PROGRAM_NAME="XMeshBase" -DIDENT_PROGRAM_NAME_BYTES="88,77,101,115,104,66,97,115,101,0" -DIDENT_USER_ID="Administrator" -DIDENT_USER_ID_BYTES="65,100,109,105,110,105,115,116,114,97,116,111,114,0" -DIDENT_HOSTNAME="0189d93e95db41e" -DIDENT_HOSTNAME_BYTES="48,49,56,57,100,57,51,101,57,53,100,98,52,49,101,0" -DIDENT_USER_HASH=0x093658a4L -DIDENT_UNIX_TIME=0x481fb37dL -DCC1K_DEFAULT_FREQ=RADIO_433BAND_CHANNEL_00 -DRADIO_XMIT_POWER=0xFF  XMeshBase.nc -L/opt/MoteWorks/tos/lib/XMeshBin /opt/MoteWorks/tos/lib/XMeshBin/XMesh_mica2.o -lm 
    BUILD from object file, compiled XMeshBase to build/mica2/main.exe
           47924 bytes in ROM
            3666 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
> Process Exit Code: 0
> Time Taken: 01:07


 



________________________________

	Subject: RE: [Tinyos-help] Problem with xmeshbase
	Date: Mon, 5 May 2008 09:21:38 -0700
	From: mbaleri at xbow.com
	To: dudu2077 at hotmail.com
	CC: tinyos-help at millennium.berkeley.edu
	
	
	Few questions:
	- Which PC interface board board do you have? (MIB510, MIB520, MIB600 etc).
	- What node ID did you assign the base station Mote with?
	- When you issued the "make mica2 install....." command, what was the output?
	 
	Regards,
	Giri

________________________________

	From: tinyos-help-bounces at millennium.berkeley.edu [mailto:tinyos-help-bounces at millennium.berkeley.edu] On Behalf Of ??
	Sent: Sunday, May 04, 2008 6:53 PM
	To: tinyos-help at millennium.berkeley.edu
	Subject: [Tinyos-help] Problem with xmeshbase
	
	
	Hi, I am trying to compile xmeshbase in the directory of "<moteworks>/apps/xmesh/xmeshbase" for mica2, but it doesn't work on the mote. There are no heartbeats and mote data sent to com port. I followed the instructions of xmesh user manual. Moteworks 2.0f is installed and mib 510 is used as the programmer board.
	Did I do something wrong? Or the code isn't correct?
	 
	Thanks!
	 
	LIU Yong
	
	
________________________________

	轻松把Hotmail下载到本地,试试 Windows Live Mail。 立即尝试! <http://get.live.com/wl/all>  


________________________________

轻松把Hotmail下载到本地,试试 Windows Live Mail。 立即尝试! <http://get.live.com/wl/all>  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20080506/76735cdd/attachment.htm 


More information about the Tinyos-help mailing list