[Tinyos-help] Flash Error with Make Mica

Gina Upperman upperman at rice.edu
Fri Sep 9 06:10:32 PDT 2005


When we run the command:

$ make mica2 reinstall mib510,/dev/ttyS4

 

We get a long error with the flash address (attached below).  Any ideas on
what's causing it?

 

Thank you,

Gina

 

 

-----------------------------------------------------

 

compiling Blink to a mica2 binary

ncc -o build/mica2/main.exe -Os -board=micasb -target=mica2  -Wall -Wshadow
-

DDE

F_TOS_AM_GROUP=0x7d -Wnesc-all -finline-limit=100000 -fnesc-

cfile=build/mica2/ap

p.c  Blink.nc -lm

    compiled Blink to build/mica2/main.exe

            1632 bytes in ROM

              49 bytes in RAM

avr-objcopy --output-target=srec build/mica2/main.exe build/mica2/main.srec

    installing mica2 binary

uisp -dprog=dapa -dpart=ATmega128 --wr_fuse_e=ff  --erase

pulse

Atmel AVR ATmega128 is found.

Erasing device ...

pulse

Reinitializing device

Atmel AVR ATmega128 is found.

 

Fuse Extended Byte set to 0xff

sleep 1

uisp -dprog=dapa -dpart=ATmega128 --wr_fuse_e=ff  --upload 

if=build/mica2/main.s

rec

pulse

Atmel AVR ATmega128 is found.

Uploading: flash

 

Fuse Extended Byte set to 0xff

sleep 1

uisp -dprog=dapa -dpart=ATmega128 --wr_fuse_e=ff  --verify 

if=build/mica2/main.s

rec

pulse

Atmel AVR ATmega128 is found.

Verifying: flash

flash error at address 0x0: file=0x0c, mem=0xff

flash error at address 0x1: file=0x94, mem=0xff

flash error at address 0x2: file=0x46, mem=0xff

flash error at address 0x3: file=0x00, mem=0xff

flash error at address 0x4: file=0x0c, mem=0xff

flash error at address 0x5: file=0x94, mem=0xff

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20050909/6fb39396/attachment.htm


More information about the Tinyos-help mailing list