Thanks Kasper, 

I uploaded the change to the FlashViewerSender.java file to CVS.  

Glad you got it working,
-David



-----Original Message-----
From: Kasper Bonne [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 14, 2006 8:59 AM
To: David Moss
Cc: Raja Jurdak; tinyos-help@millennium.berkeley.edu
Subject: Re: [Tinyos-help] write/read from flash on telosb mote


On 3/13/06, David Moss <[EMAIL PROTECTED]> wrote:
> Looks like you two might be experiencing the same problem in some way.
Raja
> - were you able to download files in the /contrib/rincon/tools/java
> directory?  It shows on my CVS these files were uploaded to HEAD, so they
> should exist for everybody to download just like the other directories on
> there.  If they're not there, then obviously something went wrong on my
end.

It works now! I did a

cvs upd -AdC contrib/rincon
(A: clear all flags, d: create new dirs, C: overwrite files with clean
copy's)

and I got all the code, including the java, so it looks like
everything is there. (Maybe it was there before, I didn't try the
d-switch until today)

The apps/FlashViewer program compiled without any problems, but I had
to comment out line 11 in
com/rincon/flashviewer/send/FlashViewerSender.java (import
com.rincon.transfer.TransferCommands;) because the transfer package
did not exist. After that it compiled fine.

> The DataOutput.java file contains two imports that shouldn't be there and
> are not referenced, from the net.tinyos.flashimage.messages directory.  It
> is possible to remove these two import lines from the top of the
> DataOutput.java file to get the file to compile.  Since the
> net.tinyos.flashimage directory existed on my system, I didn't get this
> error before uploading.
>
> I have uploaded the changes to CVS.  Thanks for the catch, Kasper, and
sorry
> for the issues in getting this going on your system,

No problem. :) There is still one small issue though. It looks like
there is still a problem with the message size. Here is the result of
a run:

$ java com/rincon/flashviewer/FlashViewer -ping
receive error for com.rincon.flashviewer.messages.ViewerMsg (AM type
161): invalid length message received (too short)

I tried changing DEFAULT_MESSAGE_SIZE from 30 to 28 in ViewerMsg.java
but that did not help. Any suggestions?

/Kasper


_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to