[Tinyos-help] MIB520 Micaz Install problem

Mayur Maheshwari mayur.maheshwari at gmail.com
Tue Jul 3 12:14:37 PDT 2007


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 Maheshwari at workstation /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 Maheshwari at workstation /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 Maheshwari at workstation /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 Maheshwari at workstation /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 Maheshwari at workstation /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(mayur.maheshwari at ieee.org )

"Karmanye Vadhikaraste Ma Phaleshu Kadachana,
Ma Karma Phala Hetur Bhurmatey Sangostva Akarmani"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20070704/7dcb1028/attachment.htm


More information about the Tinyos-help mailing list