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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cory Sharp Sent: Wednesday, January 31, 2007 4:49 PM To: yicheng Cc: [email protected] 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 <[EMAIL PROTECTED]> 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 [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
