I faced the same problem with my micaz motes. replacing 520 by 510 solved the problem try the command: make mica2 reinstall mib510,com3
Regards, Abhishek IIT Guwahati On Sun, Jul 13, 2008 at 1:30 PM, xuanwang150 <[EMAIL PROTECTED]> wrote: > > Dear sir or madam, > Now, I have only a MIB520 programming board, and I can't understand how > to properly program it. In the Blink directory, I use: > make mica2 reinstall mib520,com3 > The output of this command is usually: > mkdir -p build/mica2 > compiling Blink to a mica2 binary > ncc -o build/mica2/main.exe -Os -finline-limit=100000 -Wall -Wshadow > -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=mica2 -fnesc-cfile=build/mica2/a > pp.c -board=micasb -I%T/lib/Deluge -DIDENT_PROGRAM_NAME=\"Blink\" > -DIDENT_USER_ID=\"root\" -DIDENT_HOSTNAME=\"localhost.local\" > -DIDENT_USER_HAS > H=0x53b81074L -DIDENT_UNIX_TIME=0x485afa8cL -DIDENT_UID_HASH=0xf93fe13aL > Blink.nc -lm > compiled Blink to build/mica2/main.exe > 1502 bytes in ROM > 49 bytes in RAM > avr-objcopy --output-target=srec build/mica2/main.exe build/mica2/main.srec > avr-objcopy --output-target=ihex build/mica2/main.exe build/mica2/main.ihex > writing TOS image > cp build/mica2/main.srec build/mica2/main.srec.out > installing mica2 binary with dapa > uisp -dprog=dapa --wr_fuse_h=0xd8 -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 0xd8 Fuse Extended Byte set to 0xff > sleep 1 > uisp -dprog=dapa --wr_fuse_h=0xd8 -dpart=ATmega128 --wr_fuse_e=ff --upload > if=build/mica2/main.srec.out > pulse > Atmel AVR ATmega128 is found. > Uploading: flash > Fuse High Byte set to 0xd8 > Fuse Extended Byte set to 0xff > sleep 1 > uisp -dprog=dapa --wr_fuse_h=0xd8 -dpart=ATmega128 --wr_fuse_e=ff --verify > if=build/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=0x46, 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=0x63, mem=0x00 > flash error at address 0x8: file=0x0c, mem=0x00 > flash error at address 0x9: file=0x94, mem=0x00 > flash error at address 0xa: file=0x63, mem=0x00 > flash error at address 0xc: file=0x0c, mem=0x00 > flash error at address 0xd: file=0x94, mem=0x00 > flash error at address 0xe: file=0x63, mem=0x00 > flash error at address 0x10: file=0x0c, mem=0x00 > flash error at address 0x11: file=0x94, mem=0x00 > flash error at address 0x12: file=0x63, mem=0x00 > flash error at address 0x14: file=0x0c, mem=0x00 > flash error at address 0x15: file=0x94, mem=0x00 > flash error at address 0x16: file=0x63, mem=0x00 > flash error at address 0x18: file=0x0c, mem=0x00 > > > ............ > And at last: > > flash error at address 0x1f92f: file=0x24, mem=0xff > flash error at address 0x1f930: file=0x08, mem=0xff > flash error at address 0x1f931: file=0x95, mem=0xff > flash error at address 0x1f933: file=0xcf, mem=0xff > > > Fuse High Byte set to 0xd8 > Fuse Extended Byte set to 0xff > > Can you tell me why these mistakes happen and how to properly program a > mica2 using the MIB 520? > Thank you very much! > yours > xuanwang Liu > > > > > > ------------------------------ > 渊波阔宅 湖景人生 <http://popme.163.com/link/003984_0707_2982.html> > _______________________________________________ > Tinyos-help mailing list > Tinyos-help@millennium.berkeley.edu > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >
_______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help