[Tinyos-help] can spram be used on tmote sky platform?
yicheng
y-jie at northwestern.edu
Thu Feb 1 16:49:50 PST 2007
Hi Cory,
Thanks! The uploading process can continue now. But the new problem is it
never ends. I declare a 8000 bytes memory as SpramC(8000). The size of
upload data is 7015 bytes. I got the following message when I run Ditto
program with "put" command:
imageSize=7015, datamsg.length=220 //this line is my debug output
//the following are outputs by Ditto program
Requesting version.
Uploading 7015 bytes.
Requesting version.
Uploading 6983 bytes.
Requesting version.
Uploading 6983 bytes.
Requesting version.
Uploading 6983 bytes.
Requesting version.
Uploading 6983 bytes.
Requesting version.
Uploading 6983 bytes.
Requesting version.
Uploading 6983 bytes.
Requesting version.
Uploading 6983 bytes.
Requesting version.
Uploading 6983 bytes.
Requesting version.
Uploading 6919 bytes.
Uploading 6919 bytes.
Requesting version.
Uploading 6887 bytes.
Requesting version.
Uploading 6823 bytes.
Requesting version.
Uploading 6727 bytes.
Requesting version.
Uploading 2599 bytes.
Requesting version.
Uploading 2599 bytes.
Requesting version.
Uploading 2535 bytes.
Requesting version.
Uploading 2503 bytes.
Requesting version.
Uploading 2471 bytes.
Requesting version.
Uploading 2407 bytes.
Uploading 2375 bytes.
.
The problem is I never get "Upload complete" message. Any suggestion?
Best Regards!
Yicheng
_____
From: cory.sharp at gmail.com [mailto:cory.sharp at gmail.com] On Behalf Of Cory
Sharp
Sent: Wednesday, January 31, 2007 4:49 PM
To: yicheng
Cc: tinyos-help at millennium.berkeley.edu
Subject: Re: [Tinyos-help] can spram be used on tmote sky platform?
Hi Yicheng,
In the Makefile in the lib/Spram directory, note this line in the Makefile
MSG_SIZE = 48
which increases the data payload for TOSMsg's. Add that line to your
application Makefile.
Cory
On 1/31/07, yicheng <y-jie at northwestern.edu> wrote:
Hi,
I need to upload a chunk of data from PC to tmote sky, so I use SpramC
component. After days of trying, I finally found that the length of TOS data
message that SpramC uses is much longer than the one defined in Tmote Sky
platform. So I'm wondering if there's any way of using SpramC on Tmote sky?
If not, how can I update a big block of data from PC to Tmote Sky?
Thanks!
Yicheng
_______________________________________________
Tinyos-help mailing list
Tinyos-help at Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20070201/f3f0ed1f/attachment-0001.html
More information about the Tinyos-help
mailing list