Looks like you have a space between bsl, and the com port identifier
<mote target="telosb"
motecom="serial@/dev/tty.usbserial-M4AJRG09:telosb" installextras="bsl,
133"/>
You can see from the tos-bsl line TUnit is trying to execute that it doesn't
know what's going on:
tos-bsl --telosb -c ?-r -e -I -p build/telosb/main.ihex.out-0
Note the ? in that line is supposed to be the BSL com port identifier, 133.
Correct this by modifying your tunit.xml to remove the space:
<mote target="telosb"
motecom="serial@/dev/tty.usbserial-M4AJRG09:telosb"
installextras="bsl,133"/>
-David
_____
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Matthias
Woehrle
Sent: Monday, December 10, 2007 9:19 AM
To: [email protected]
Subject: [Tinyos-help] Tunit setup on osx: serial port in tos-bsl problem
Hi,
I got a problem concerning setting up Tunit on my macbook (osx-tiger). I run
Kevin Klues' setup (
<http://docs.google.com/View?docid=ajjph9mvqk3z_bchp66xkmgk6n&pli=1>
http://docs.google.com/View?docid=ajjph9mvqk3z_bchp66xkmgk6n&pli=1).
The specific problem is that when the bootstraploader is executed, the
serial port is not set (in my case:/dev/tty.usbserial-M4AJRG09, a tmote).
[java] installing telosb binary using bsl
[java] tos-bsl --telosb -c -r -e -I -p build/telosb/main.ihex.out-0
...
[java] MSP430 Bootstrap Loader Version: 1.39-telos-8
[java] An error occoured:
[java] could not open port: [Errno 2] No such file or directory: '-r'
[java] make: *** [program] Error 1
However, serial forwarder initialization works before that:
[java] 160 [main] DEBUG com.rincon.tunit.run.TestRunManager - Creating
serial forwarder serial@/dev/tty.usbserial-M4AJRG09:telosb
[java] 205 [Thread-1] DEBUG com.rincon.tunit.sf.Sf -
serial@/dev/tty.usbserial-M4AJRG09:telosb.9100:
serial@/dev/tty.usbserial-M4AJRG09:115200: resynchronising
[java] 205 [Thread-1] DEBUG com.rincon.tunit.run.TestRunManager -
serial@/dev/tty.usbserial-M4AJRG09:115200: resynchronising
[java] 208 [main] DEBUG com.rincon.tunit.run.TestRunManager - Disconnecting
all serial forwarders
[java] 2220 [Thread-0] DEBUG com.rincon.tunit.sf.Sf -
serial@/dev/tty.usbserial-M4AJRG09:telosb.9100: server stopped
[java] 3221 [main] DEBUG com.rincon.tunit.run.TestRunManager - Serial
forwarders initialized successfully
Some output from the ant execution is attached for debug as well as my
build.xml and the tunit.xml.
Note that the build.xml is patched with a fork in order toaccommodatefor a
problem with osx'sAquaLookAndFeel.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help