Hmmm... I actually got tunit set up and running on my macbook a while back. I'll look into putting some docuementation together on what I had to do to get it working sometime later this week. Maybe I'll come across a solution to your problem in the meantime. Off the top of my head I don't know what the problem is though.
Kevin On Dec 10, 2007 8:18 AM, Matthias Woehrle <[EMAIL PROTECTED]> wrote: > > 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). > > 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 to accommodate for a > problem with osx's AquaLookAndFeel. > > > > > > > > > Note that when I would do this manually, everything works just fine, so I > guess it might be something in the parser. > Anybody has this running on osx? > > > > Regards, > > Matthias > _______________________________________________ > Tinyos-help mailing list > Tinyos-help@Millennium.Berkeley.EDU > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > -- ~Kevin _______________________________________________ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help