Mohammad,

> java TestSerial -comm /dev/tty.usbserial-XBQQV3HRB:iris
This is wrong. The proper comm string is
serial@/dev/tty.usbserial-XBQQV3HRB:iris, that is, your command line
should be

java TestSerial -comm serial@/dev/tty.usbserial-XBQQV3HRB:iris

The error message of avrdude appears to be a bug. The sources of the
particular avrdude version we support are at
http://w3.isis.vanderbilt.edu/projects/NEST/tinyos-2.x-iris/tools/release/external-tools/

Janos

On Wed, Mar 11, 2009 at 10:26 AM, Mohammad Sajjad Hossain
<[email protected]> wrote:
> Hi,
> I am trying to run TestSerial in an iris mote and getting into the following
> situation:
> 1. motelist gives me the following info:
> Reference  Device                      Description
> ---------- ---------------------------
> ---------------------------------------
> XBQQV3HRA  /dev/tty.usbserial-XBQQV3HRA (none)
> XBQQV3HRB  /dev/tty.usbserial-XBQQV3HRB (none)
> 2. So, I did a make install like this:
> make iris install.0 mib510,/dev/tty.usbserial-XBQQV3HRA
> This seems to be successful even though avrdude issued a message:
> avrdude: stk500_paged_load(): (a) protocol error, expect=0x14, resp=0x14
> Other that this, everything seemed to run 100%
> 2. Now I was trying to run TestSerial in my desktop:
> java TestSerial -comm /dev/tty.usbserial-XBQQV3HRB:iris
> But got the following:
> Exception in thread "main" java.lang.NullPointerException
> at net.tinyos.message.MoteIF.init(MoteIF.java:119)
> at net.tinyos.message.MoteIF.<init>(MoteIF.java:110)
> at TestSerial.main(TestSerial.java:100)
> I also tried: java TestSerial -comm /dev/tty.usbserial-XBQQV3HRA:iris, but
> the same thing happened.
> Anybody has any idea?
> Thanks,
> --sajjad
> _______________________________________________
> 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

Reply via email to