DEFAULT_LOCAL_GROUP=0x33
PFLAGS += -DCC1K_DEF_FREQ=433002000
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 0x1752: file=0x07, mem=0x04
flash error at address 0x17d2: file=0x44, mem=0xff
flash error at address 0x17d3: file=0x32, mem=0xff
Fuse Extended Byte set to 0xff
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
Fuse Extended Byte set to 0xff
To verify the Mica2 is actually installed with the blinking binary counting program. We detach the Mica2 from MIB500 by holding the mica2 and slow wiggle it out from the expansion connector.
Turn on the little power switch on the oppositie side of the antenna. The on/off label is on the circuit board at either side of theh switch.
You should see the binary counting pattern on the LEDs (D2-D3-D4). That is an indication that the blinking program was successfully uploaded and executed by the mica2.
Turn off the power to save the battery.
Fuse Extended Byte set to 0xff
sleep 1
uisp -dprog=dapa -dpart=ATmega128 --wr_fuse_e=ff --upload if=build/mica2dot/mai
n.srec
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/mica2dot/mai
n.srec
pulse
Atmel AVR ATmega128 is found.
Verifying: flash
Fuse Extended Byte set to 0xff
Edward Chow@scold /opt/tinyos-1.x/apps/MicaHWVerify