You can try this command: uisp -dprog=mib510 -dserial=/dev/ttyS6 -dpart=ATmega128 --wr_fuse_h=0x08 replace the red letter with you seiral comm port.
Best regards. Alex. 在 2014-07-31 09:40:48,"deepak khatri" <deepakkhatr...@gmail.com> 写道: Hello everyone, I am new to TinyOS. I am using micaz ( MPR2400) hardware board with programmer MIB520. When running simple blink application using command make "micaz install mib520,/dev/ttyUSB0", i got an error: mkdir -p build/micaz compiling BlinkAppC to a micaz binary ncc -o build/micaz/main.exe -Os -fnesc-separator=__ -Wall -Wshadow -Wnesc-all -target=micaz -fnesc-cfile=build/micaz/app.c -board=micasb -DDEFINED_TOS_AM_GROUP=0x22 --param max-inline-insns-single=100000 -DIDENT_APPNAME=\"BlinkAppC\" -DIDENT_USERNAME=\"iist\" -DIDENT_HOSTNAME=\"iist\" -DIDENT_USERHASH=0x6803a78cL -DIDENT_TIMESTAMP=0x53db968fL -DIDENT_UIDHASH=0x38879a0eL -fnesc-dump=wiring -fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs, components)' -fnesc-dumpfile=build/micaz/wiring-check.xml BlinkAppC.nc -lm compiled BlinkAppC to build/micaz/main.exe 2044 bytes in ROM 51 bytes in RAM avr-objcopy --output-target=srec build/micaz/main.exe build/micaz/main.srec avr-objcopy --output-target=ihex build/micaz/main.exe build/micaz/main.ihex writing TOS image cp build/micaz/main.srec build/micaz/main.srec.out installing micaz binary using mib510 uisp -dprog=mib510 -dserial=/dev/ttyUSB0 --wr_fuse_h=0xd9 -dpart=ATmega128 --wr_fuse_e=ff --erase --upload if=build/micaz/main.srec.out --verify Firmware Version: 1.8 Atmel AVR similar to the ATmega103 is found. Uploading: flash Verifying: flash Cannot write high fuse bits on this device. Fuse High Byte set to 0xd9 Cannot read extended fuse bits on this device. Fuse Extended Byte set to 0xff rm -f build/micaz/main.exe.out build/micaz/main.srec.out The above says it is detecting atmel 128 in the board but i think there is some fuse problems. Please help!
_______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help