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 [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
