[Tinyos-help] Flash Error with Make Mica

Kristin Wright l.kristin.wright at gmail.com
Fri Sep 9 08:56:32 PDT 2005


Hi --

Please see the tinyos faq on this (faq is linked from the tinyos home
page in the site menu).

-kw

On 9/9/05, Gina Upperman <upperman at rice.edu> wrote:
>  
>  
> 
> 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 
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> 
> 
>



More information about the Tinyos-help mailing list