Have you got the MIB plugged directly to a serial port
or are you using a USB adapter? In either case make sure
you have the cabling correct and the power on to the MIB.

If you are using windows...you can check the available port IDs
in the Device Manager. Note that the USB port ID changes when
you use a different hub so double check everything.

You also seem to have something overriding your explicit port selections
as it is always complaining about ttyS3 even when you try to spec
some other device on the command line. Under T1 I set the port in
the MakeLocal file like this:

    DEFAULT_PROGRAM=mib510
    MIB510=/dev/ttyS4

MS


Nicole Caruso wrote:
It seems like whatever I do,
Error: No such file or directory  -> /dev/ttyS3
appears, even if I try to use a different device, like /dev/ttyS0. The device name is not being updated. Do you know why? Am I missing a file, which I may have accidentally deleted?







Nicole [EMAIL PROTECTED] /opt/tinyos-2.x/apps/Nicole_Jan_31/Active
$ make mica2 reinstall mib510,/dev/tty0
cp build/mica2/main.srec build/mica2/main.srec.out
    installing mica2 binary using mib510
uisp -dprog=mib510 -dserial=/dev/ttyS3 --wr_fuse_h=0xd9 -dpart=ATmega128 --wr_fuse_e=ff --erase --upload if=build/mica2/main.srec.out
Error: No such file or directory
 -> /dev/ttyS3
make: *** [program] Error 1

Nicole [EMAIL PROTECTED] /opt/tinyos-2.x/apps/Nicole_Jan_31/Active
$ make mica2 reinstall mib510,/dev/ttyS0
cp build/mica2/main.srec build/mica2/main.srec.out
    installing mica2 binary using mib510
uisp -dprog=mib510 -dserial=/dev/ttyS3 --wr_fuse_h=0xd9 -dpart=ATmega128 --wr_fuse_e=ff --erase --upload if=build/mica2/main.srec.out
Error: No such file or directory
 -> /dev/ttyS3
make: *** [program] Error 1

Nicole [EMAIL PROTECTED] /opt/tinyos-2.x/apps/Nicole_Jan_31/Active
$ MIB510='/dev/ttys4' make mica2 install.0 mib510
mkdir -p build/mica2
    compiling ActiveAppC to a mica2 binary
ncc -o build/mica2/main.exe -Os -DCC1K_DEF_FREQ=916700000 -finline-limit=100000 -Wall -Wshadow -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 ActiveAppC.nc -lm
    compiled ActiveAppC to build/mica2/main.exe
           11380 bytes in ROM
             308 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
tos-set-symbols build/mica2/main.srec build/mica2/main.srec.out-0 TOS_NODE_ID=0 ActiveMessageAddressC$addr=0
    installing mica2 binary using mib510
uisp -dprog=mib510 -dserial=/dev/ttyS3 --wr_fuse_h=0xd9 -dpart=ATmega128 --wr_fuse_e=ff --erase --upload if=build/mica2/main.srec.out-0
Error: No such file or directory
 -> /dev/ttyS3
make: *** [program] Error 1

Nicole [EMAIL PROTECTED] /opt/tinyos-2.x/apps/Nicole_Jan_31/Active
$ make mica2 reinstall mib510,/dev/tty3
cp build/mica2/main.srec build/mica2/main.srec.out
    installing mica2 binary using mib510
uisp -dprog=mib510 -dserial=/dev/ttyS3 --wr_fuse_h=0xd9 -dpart=ATmega128 --wr_fuse_e=ff --erase --upload if=build/mica2/main.srec.out
Error: No such file or directory
 -> /dev/ttyS3
make: *** [program] Error 1

Nicole [EMAIL PROTECTED] /opt/tinyos-2.x/apps/Nicole_Jan_31/Active
$ make mica2 reinstall mib510,/dev/tty2
cp build/mica2/main.srec build/mica2/main.srec.out
    installing mica2 binary using mib510
uisp -dprog=mib510 -dserial=/dev/ttyS3 --wr_fuse_h=0xd9 -dpart=ATmega128 --wr_fuse_e=ff --erase --upload if=build/mica2/main.srec.out
Error: No such file or directory
 -> /dev/ttyS3
make: *** [program] Error 1

Nicole [EMAIL PROTECTED] /opt/tinyos-2.x/apps/Nicole_Jan_31/Active
$ make mica2 reinstall mib510,/dev/tty3
cp build/mica2/main.srec build/mica2/main.srec.out
    installing mica2 binary using mib510
uisp -dprog=mib510 -dserial=/dev/ttyS3 --wr_fuse_h=0xd9 -dpart=ATmega128 --wr_fuse_e=ff --erase --upload if=build/mica2/main.srec.out
Error: No such file or directory
 -> /dev/ttyS3
make: *** [program] Error 1

Nicole [EMAIL PROTECTED] /opt/tinyos-2.x/apps/Nicole_Jan_31/Active
$ make mica2 reinstall mib510,/dev/tty0
cp build/mica2/main.srec build/mica2/main.srec.out
    installing mica2 binary using mib510
uisp -dprog=mib510 -dserial=/dev/ttyS3 --wr_fuse_h=0xd9 -dpart=ATmega128 --wr_fuse_e=ff --erase --upload if=build/mica2/main.srec.out
Error: No such file or directory
 -> /dev/ttyS3
make: *** [program] Error 1


------------------------------------------------------------------------

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

--
Platform: WinXP/Cygwin
TinyOS version: 1.x, Boomerang
Programmer: MIB510
Device(s): Mica2, MicaZ, Tmote
Sensor board: homebrew

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to