I don't know about the failure to enter programming mode, but if the
problem that is causing this error is not the same causing the others,
they could be due to not seating the motes properly on the board
(which caused me many problems in the past). Have you tried with other
motes (other micaz's and other types)?

2007/7/3, Mayur Maheshwari <[EMAIL PROTECTED]>:
All,
Has anyone tried installing apps on MicaZ using MIB520 in TOS2?
I tried installing the Blink app on MicaZ using MIB520 and ran into few
problems. I am using TOS2 and since MIB520 is not defined in the makerule I
am issuing 'MIB510' in the command. I have the ports COM7 and COM8.  Also,
the nature of the error keeps on changing.

Mayur [EMAIL PROTECTED] /opt/tinyos-2.x/apps/Blink
$ make micaz reinstall mib510,COM7
cp build/micaz/main.srec build/micaz/main.srec.out
    installing micaz binary using mib510
uisp -dprog=mib510 -dserial=COM7 --wr_fuse_h=0xd9 -dpart=ATmega128
--wr_fuse_e=f
f  --erase --upload if=build/micaz/main.srec.out
Please use /dev/ttyS6 rather than COM7 (the latter often doesn't work)
Firmware Version: 1.8
An error has occurred during the AVR initialization.
 * Target status:
   Vendor Code = 0xff, Part Family = 0xff, Part Number = 0xff

Probably the wiring is incorrect or target might be `damaged'.
make: *** [program] Error 2

Mayur [EMAIL PROTECTED] /opt/tinyos-2.x/apps/Blink
$ make micaz reinstall mib510,COM7
cp build/micaz/main.srec build/micaz/main.srec.out
    installing micaz binary using mib510
uisp -dprog=mib510 -dserial=COM7 --wr_fuse_h=0xd9 -dpart=ATmega128
--wr_fuse_e=f
f  --erase --upload if=build/micaz/main.srec.out
Please use /dev/ttyS6 rather than COM7 (the latter often doesn't work)
Firmware Version: ►.►
Failed to enter programming mode.
make: *** [program] Error 2

Mayur [EMAIL PROTECTED] /opt/tinyos-2.x/apps/Blink
$ make micaz reinstall mib510,/dev/ttyS6
cp build/micaz/main.srec build/micaz/main.srec.out
    installing micaz binary using mib510
uisp -dprog=mib510 -dserial=/dev/ttyS6 --wr_fuse_h=0xd9 -dpart=ATmega128
--wr_fu
se_e=ff  --erase --upload if=build/micaz/main.srec.out
Firmware Version: ►.►
Failed to enter programming mode.
make: *** [program] Error 2

Mayur [EMAIL PROTECTED] /opt/tinyos-2.x/apps/Blink
$ make micaz reinstall mib510,/dev/ttyS6
cp build/micaz/main.srec build/micaz/main.srec.out
    installing micaz binary using mib510
uisp -dprog=mib510 -dserial=/dev/ttyS6 --wr_fuse_h=0xd9 -dpart=ATmega128
--wr_fu
se_e=ff  --erase --upload if=build/micaz/main.srec.out
Firmware Version: 1.8
Probably the AVR MCU is not in the RESET state.
Check it out and run me again.
make: *** [program] Error 2

Mayur [EMAIL PROTECTED] /opt/tinyos-2.x/apps/Blink
$ make micaz reinstall mib510,/dev/ttyS6
cp build/micaz/main.srec build/micaz/main.srec.out
    installing micaz binary using mib510
uisp -dprog=mib510 -dserial=/dev/ttyS6 --wr_fuse_h=0xd9 -dpart=ATmega128
--wr_fu
se_e=ff  --erase --upload if=build/micaz/main.srec.out
Firmware Version: ►.►
Failed to enter programming mode.
make: *** [program] Error 2
Any suggestions?

Thanks for all your help!
Regards
--
Mayur Maheshwari([EMAIL PROTECTED] )

"Karmanye Vadhikaraste Ma Phaleshu Kadachana,
Ma Karma Phala Hetur Bhurmatey Sangostva Akarmani"
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



--
"The truth shall set you free"
<a href="http://www.nerdtests.com/nq_ref.html";>
<img src="http://www.nerdtests.com/images/badge/dc875a1ab1aff18f.gif";
alt="I am nerdier than 99% of all people. Are you a nerd? Click here
to find out!"></a>

_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to