[Tinyos-help]
Micaz: flash error at address 0x0: file=0x0c, mem=0x00
hippo
hippo12 at gmail.com
Wed Dec 27 14:49:34 PST 2006
Hi
I have installed TOS 1.1.11-3is version. When i try to download Blink into
my Micaz, I will get the following error.(extracted)
***************
$ make micaz install,1 mib520,com3
mkdir -p build/micaz
compiling Blink to a micaz binary
ncc -o build/micaz/main.exe -Os -finline-limit=100000 -Wall -Wshad
M_GROUP=0x7d -Wnesc-all -target=micaz -fnesc-cfile=build/micaz/app
sb -DIDENT_PROGRAM_NAME="Blink" -DIDENT_PROGRAM_NAME_BYTES="66,108
" -DIDENT_USER_ID="localadmin" -DIDENT_USER_ID_BYTES="108,111,99,9
09,105,110,0" -DIDENT_HOSTNAME="netsim01" -DIDENT_HOSTNAME_BYTES="
5,105,109,48,49,0" -DIDENT_USER_HASH=0x05269087L -DIDENT_UNIX_TIME
I/opt/tinyos-1.x/tos/lib/CC2420Radio Blink.nc -lm
compiled Blink to build/micaz/main.exe
1674 bytes in ROM
48 bytes in RAM
avr-objcopy --output-target=srec build/micaz/main.exe build/micaz/
avr-objcopy --output-target=ihex build/micaz/main.exe build/micaz/
writing TOS image
set-mote-id build/micaz/main.srec build/micaz/main.srec.out-1 1
Could not find symbol TOS_LOCAL_ADDRESS in build/micaz/main.exe, i
.
installing micaz binary with dapa
uisp -dprog=dapa --wr_fuse_h=0xd9 -dpart=ATmega128 --wr_fuse_e=ff
pulse
Atmel AVR ATmega128 is found.
Erasing device ...
pulse
Reinitializing device
Atmel AVR ATmega128 is found.
Fuse High Byte set to 0xd9
Fuse Extended Byte set to 0xff
sleep 1
uisp -dprog=dapa --wr_fuse_h=0xd9 -dpart=ATmega128 --wr_fuse_e=ff
uild/micaz/main.srec.out-1
pulse
Atmel AVR ATmega128 is found.
Uploading: flash
Fuse High Byte set to 0xd9
Fuse Extended Byte set to 0xff
sleep 1
uisp -dprog=dapa --wr_fuse_h=0xd9 -dpart=ATmega128 --wr_fuse_e=ff
uild/micaz/main.srec.out-1
pulse
Atmel AVR ATmega128 is found.
Verifying: flash
flash error at address 0x0: file=0x0c, mem=0x00
flash error at address 0x1: file=0x94, mem=0x00
,,,,,
flash error at address 0x687: file=0x95, mem=0x00
flash error at address 0x688: file=0x01, mem=0x00
Fuse High Byte set to 0xd9
Fuse Extended Byte set to 0xff
rm -f build/micaz/main.exe.out build/micaz/main.srec.out
*************************
A check on the mailing list shows this thread but it doesnt seem to work for
me.
http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2002-November/000693.html
There's another one in
http://www.tinyos.net/faq.html#SEC-54
but it seems both are talking about mem=0xFF instead of 0x00.
Does anyone knows how to solve this?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20061227/c8158277/attachment.html
More information about the Tinyos-help
mailing list