Thanks...but here are still other questions:
I run "./burn /dev/ttyS0 micaz" and it didn't work when installing
bootloader:

************************************************************
installing micaz bootloader using mib510
uisp -dprog=mib510 -dserial=/dev/ttyS0 --wr_fuse_h=0xd9 -dpart=ATmega128
--wr_fuse_e=ff  --upload if=
Firmware Version: 2.1
Atmel AVR ATmega128 is found.
Error: No such file or directory
->
make: *** [program_bl] Error 1
**************************************************************
I was adding "BOOTLOADER ?= $(TOSDIR)/lib/TOSBoot/build/micaz/main.srec"
into micaz.target,
then there was no complaint about installing bootloader.
However, I still couldn't retrieve any image information.

I was guessing it's because I couldn't install GoldenImage, then I tried
install it.
Now the compiler complains the component DelugeC cannot be found:

*****************************************************************
$ CFLAGS=-DDELUGE_BASESTATION make micaz install mib510,/dev/ttyS0
mkdir -p build/micaz
   compiling GoldenImageC to a micaz binary
ncc -o build/micaz/main.exe -Os -finline-limit=100000 -Wall -Wshadow
-Wnesc-all
-target=micaz -fnesc-cfile=build/micaz/app.c -board=micasb -Ibuild/micaz
-DDELUG
E_BASESTATION -DDELUGE_BASESTATION -fnesc-dump=wiring
-fnesc-dump='interfaces(!a
bstract())' -fnesc-dump='referenced(interfacedefs, components)'
-fnesc-dumpfile=
build/micaz/wiring-check.xml GoldenImageC.nc -lm
In component `GoldenImageC':
GoldenImageC.nc:31: component DelugeC not found
make: *** [exe0] Error 1
****************************************************************

Is there some problem about Makefile?
How can I modify it?

Thanks!!!
Yu-En

On 6/16/07, Chieh-Jan (Mike) Liang <[EMAIL PROTECTED]> wrote:

Hi Yu-En,

It seems that you don't have pySerial installed, which allows Python to
do serial communication. pySerial is available at
http://pyserial.sourceforge.net/

Mike

Yu-En Tsai wrote:
> Hi,
> I was trying to use Deluge T2. I followed the programming manual by JHU.
> I have done the first 2 steps: ./Bootstrap and ./configure, but I have
> no idea
> about how to install it: "make" and "make install" don't work.
>
> Moreover, when I tried to run the script, there is an import error:
> (./tos-deluge /dev/ttyS0 micaz -p 0)
>
> Traceback (most recent call last):
>   File "./tos-deluge", line 35, in <module>
>     import tinyos
>   File "/opt/tinyos-2.x/tools/tinyos/misc/tinyos.py", line 1, in
<module>
>     import struct, time, serial, socket
> ImportError: No module named serial
>
> Anyone has idea?
>
> Thanks a lot
> Yu-En Tsai
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
>
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to