Dear all,
I have a tinyOS 2.1.0 installed in my Ubuntu terminal. I have a problem when
trying to install the Blink application for telosb mote.
FYI, when I am installing on the MICAz it is working fine. I use this
command to install the app. into the MICAz mote: make micaz install,0
mib510,/dev/ttyUSB0
When I installed the telosb mote using the following command: "make telosb
install bsl,/dev/ttyUSB0"
I got the following error:
mkdir -p build/telosb
compiling BlinkAppC to a telosb binary
ncc -o build/telosb/main.exe -Os -O -mdisable-hwmul -Wall -Wshadow
-Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c -board=
-DDEFINED_TOS_AM_GROUP=0x22 -DIDENT_APPNAME=\"BlinkAppC\"
-DIDENT_USERNAME=\"root\" -DIDENT_HOSTNAME=\"wssn-laptop\"
-DIDENT_USERHASH=0x7345c109L -DIDENT_TIMESTAMP=0x48b282c9L
-DIDENT_UIDHASH=0x0bfe3c48L BlinkAppC.nc -lm
compiled BlinkAppC to build/telosb/main.exe
2650 bytes in ROM
55 bytes in RAM
msp430-objcopy --output-target=ihex build/telosb/main.exe
build/telosb/main.ihex
writing TOS image
cp build/telosb/main.ihex build/telosb/main.ihex.out
installing telosb binary using bsl
tos-bsl --telosb -c /dev/ttyUSB0 -r -e -I -p build/telosb/main.ihex.out
MSP430 Bootstrap Loader Version: 1.39-telos-8
An error occoured:
Could not open port: [Errno 2] No such file or directory: '/dev/ttyUSB0'
make: *** [program] Error 1
It said that "No such file of directory: '/dev/ttyUSB0'" I think this is
strange, as I used '/dev/ttyUSB0' also for the MICAz and it was working
fine.
Then I changed to use this command : "make telosb install bsl,/dev/ttyS0"
Again I got another error:
mkdir -p build/telosb
compiling BlinkAppC to a telosb binary
ncc -o build/telosb/main.exe -Os -O -mdisable-hwmul -Wall -Wshadow
-Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c -board=
-DDEFINED_TOS_AM_GROUP=0x22 -DIDENT_APPNAME=\"BlinkAppC\"
-DIDENT_USERNAME=\"root\" -DIDENT_HOSTNAME=\"wssn-laptop\"
-DIDENT_USERHASH=0x7345c109L -DIDENT_TIMESTAMP=0x48b2840aL
-DIDENT_UIDHASH=0xb024c92fL BlinkAppC.nc -lm
compiled BlinkAppC to build/telosb/main.exe
2650 bytes in ROM
55 bytes in RAM
msp430-objcopy --output-target=ihex build/telosb/main.exe
build/telosb/main.ihex
writing TOS image
cp build/telosb/main.ihex build/telosb/main.ihex.out
installing telosb binary using bsl
tos-bsl --telosb -c /dev/ttyS0 -r -e -I -p build/telosb/main.ihex.out
MSP430 Bootstrap Loader Version: 1.39-telos-8
Mass Erase...
An error occoured:
Bootstrap loader synchronization error
make: *** [program] Error 1
Does anybody know what went wrong here?
Regards,
Bayu
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help