"uisp -dprog=dapa" indicates that you are not getting the programmer type set correctly, so it's defaulting to the old parallel port device. The syntax you use in the make command seems to be problematic and I don't remember exactly what it's supposed to be. Instead I set these two variables in my Makelocal file under T1, but you may be able to set them in the environment as well:
DEFAULT_PROGRAM=mib510 MIB510=/dev/ttyS0 Assuming your programmer is plugged into COM1... MS Clinton, David D wrote: > Ladies and Gents, > > Could someone give me some advice or a solution to a problem I am having > writing to the sensor nodes?? I have tried two commands:make mica2 install > and make mica2 install mib510,/dev/ttyS0.. The two errors I am receiving is > located below... If you guys have experience this before please give feedback > as I am need of help... > > Thanks, > > 1st Scenario > > [EMAIL PROTECTED] Blink]$ make mica2 install > mkdir -p build/mica2 > compiling BlinkAppC 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/app.c -board=micasb -fnesc-dump=wiring > -fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs, > components)' -fnesc-dumpfile=build/mica2/wiring-check.xml BlinkAppC.nc -lm > compiled BlinkAppC to build/mica2/main.exe > 2688 bytes in ROM > 57 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=0xd9 -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 0xd9 > > Fuse Extended Byte set to 0xff > sleep 1 > uisp -dprog=dapa --wr_fuse_h=0xd9 -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 0xd9 > > Fuse Extended Byte set to 0xff > sleep 1 > uisp -dprog=dapa --wr_fuse_h=0xd9 -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=0xff > flash error at address 0x1: file=0x94, mem=0xff > flash error at address 0x2: file=0x49, mem=0xff > flash error at address 0x3: file=0x00, mem=0xff > flash error at address 0x4: file=0x0c, mem=0xff > flash error at address 0x5: file=0x94, mem=0xff > flash error at address 0x6: file=0x66, mem=0xff > flash error at address 0x7: file=0x00, mem=0xff > flash error at address 0x8: file=0x0c, mem=0xff > flash error at address 0x9: file=0x94, mem=0xff > > 2nd Scenario > > [EMAIL PROTECTED] Blink]$ make mica2 install mib510,/dev/ttyS0 > mkdir -p build/mica2 > compiling BlinkAppC 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/app.c -board=micasb -fnesc-dump=wiring > -fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs, > components)' -fnesc-dumpfile=build/mica2/wiring-check.xml BlinkAppC.nc -lm > compiled BlinkAppC to build/mica2/main.exe > 2688 bytes in ROM > 57 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 using mib510 > uisp -dprog=mib510 -dserial=/dev/ttyS0 --wr_fuse_h=0xd9 -dpart=ATmega128 > --wr_fuse_e=ff --erase --upload if=build/mica2/main.srec.out > Programmer is not responding. > make: *** [program] Error 2 > > > > > > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
