Hi,
I have the following set up:
A MIB600 in the same subnet and I can ping it,but when I program the Blink app
to micaz mote via MIB600,there are the following information:
$ make micaz install eprb,10.10.10.31
mkdir -p build/micaz
compiling Blink to a micaz binary
ncc -o build/micaz/main.exe -Os -finline-limit=100000 -Wall -Wshadow -DDEF_TOS_A
M_GROUP=0x7d -Wnesc-all -target=micaz -fnesc-cfile=build/micaz/app.c -board=mica
sb -I%T/lib/Deluge -DIDENT_PROGRAM_NAME=\"Blink\" -DIDENT_USER_ID=\"AndyTau\" -D
IDENT_HOSTNAME=\"AndyTau\" -DIDENT_USER_HASH=0x20220667L -DIDENT_UNIX_TIME=0x436
4f071L -DIDENT_UID_HASH=0x18476261L -I/opt/tinyos-1.x/tos/lib/CC2420Radio Blink.
nc -lm
compiled Blink to build/micaz/main.exe
1658 bytes in ROM
48 bytes in RAM
avr-objcopy --output-target=srec build/micaz/main.exe build/micaz/main.srec
avr-objcopy --output-target=ihex build/micaz/main.exe build/micaz/main.ihex
writing TOS image
cp build/micaz/main.srec build/micaz/main.srec.out
installing micaz binary using eprb
uisp -dprog=stk500 -dhost=10.10.10.31 --wr_fuse_h=0xd8 -dpart=ATmega128 --wr_fus
e_e=ff --erase --upload if=build/micaz/main.srec.out
Programmer is not responding.: 10.10.10.31
make: *** [program] Error 2
Also I try the following uisp command:
$ uisp -dprog=stk500 -dhost=10.10.10.31 -dpart=ATmega128 --rd_fuses
Programmer is not responding.: 10.10.10.31
The responding information is the same with above.
In addition,I install the same mote to a MIB510 and try the similar uisp
command to read fuses,following is the result:
$ uisp -dprog=mib510 -dserial=/dev/ttyS0 -dpart=ATmega128 --rd_fuses
Firmware Version: 2.1
Atmel AVR ATmega128 is found.
Fuse Low Byte = 0xff
Fuse High Byte = 0xd9
Fuse Extended Byte = 0xff
Calibration Byte = 0x00 -- Read Only
Lock Bits = 0xff
BLB12 -> 1
BLB11 -> 1
BLB02 -> 1
BLB01 -> 1
LB2 -> 1
LB1 -> 1
Can I say that there is no problem about the micaz mote? And is it the wrong of
MIB600 and what's wrong? What can I do?
In addition,maybe you have discovered,in the compile information
"uisp -dprog=stk500 -dhost=10.10.10.31 --wr_fuse_h=0xd8 -dpart=ATmega128
--wr_fus
e_e=ff --erase --upload if=build/micaz/main.srec.out"
"fuse_h=0xd8" is not the same as "Fuse High Byte = 0xd9". Dose the value of
fuse_h have any thing with the error of "Programmer is not responding"?
I really has be confused!!! Any help will be appreciated.
Best wishes!
Andy
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help