Hi folks,
I have just joined the mailing list and this is my first email to the group.
I have searched the entire archive for a solution to the problem I have but
haven't found anything that has the specific configuration I have. Although,
I have implemented the debug techniques described for other configurations
but haven't been successful so far.
I face a common error - flash verification error.
The hardware configuration is crossbow MICA2 mote installed on a MIB520
programming board and connected to the PC using a USB wire. Apparently it
generates two virtual COM ports. The OS I have installed is TinyOS-2.x on
Windows using cygwin. I have tried implementing on a TinyOS-1.1 but faced
the same problem. The entire details are listed as follows:
(Trying to compile and install Blink)
$ make mica2 reinstall mib520,com1
cp build/mica2/main.srec build/mica2/main.srec.out
installing mica2 binary with dapa
uisp -dprog=dapa --wr_fuse_h=0xd9 -dpart=ATmega128 --wr_fuse_e=ff --erase
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 --upload
if=b
uild/mica2/main.srec.out
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 --verify
if=b
uild/mica2/main.srec.out
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 0x2: file=0x49, mem=0x00
flash error at address 0x4: file=0x0c, mem=0x00
flash error at address 0x5: file=0x94, mem=0x00
flash error at address 0x6: file=0x66, mem=0x00
......
....
flash error at address 0x933: file=0x95, mem=0x00
Fuse High Byte set to 0xd9
Fuse Extended Byte set to 0xff
rm -f build/mica2/main.exe.out build/mica2/main.srec.out
I have contacted Crossbow for the same and they have suggested the following
:
Looking at the output, the UISP is attempting to use parallel port to
program the Mote (-dprog=dapa ---wr_fuse_h=0xd9 -dpart=ATmega128
--wr_fuse_e=ff --verify if=b). May be MIB520 is not supported under TinyOS
2.x. You could try "make mica2 reinstall mib510,/dev/ttyS0" instead and if
that doesn't work contact TinyOS users group for help.
Any sort of help in this regard is greatly appreciated. Thanks.
Regards,
Hemanth
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help