Re: [Tinyos-help] Efficient ways to dump LogStorage

2014-09-04 Thread Ugo Maria Colesanti
Wow, I was not aware that uart could handle that kind of speeds, I tried even 1Mbps and still works... that's cool :) On that point I have one question: I just installed the more recent tinyos-main and compiled the tools folder, but the java PrintfClient still doesn't support speeds over 230400bps

Re: [Tinyos-help] Efficient ways to dump LogStorage

2014-09-04 Thread András Bíró
You're on a good track, but you deleted the wrong file. You should replace libtoscomm.so. If you compiled and installed tinyos-tools from source, just run sudo tos-install-jni. Or you can do it by hand: Search the compiled file and copy it to tos-locate-jre --jni Another trick I usually use is the

Re: [Tinyos-help] Efficient ways to dump LogStorage

2014-09-04 Thread Alessandro Sivieri
On Thu, Sep 4, 2014 at 12:48 PM, András Bíró andras.b...@ucmote.com wrote: But still, if you have a bit of time, use serialactivemessage I completely agree: it greatly improved my downloading speed! Thanks for the advice :) -- Sivieri Alessandro alessandro.sivi...@gmail.com

Re: [Tinyos-help] Efficient ways to dump LogStorage

2014-09-04 Thread Ugo Maria Colesanti
Hmm... still having issues: - I did the tos-install-jni and it no longer says that it does not find toscomm, but the baud error is still there. - I made a make clean and make again inside the jni folder and it created new libtoscomm.so - I manually copied libtoscomm.so inside the jre path (and

Re: [Tinyos-help] Efficient ways to dump LogStorage

2014-09-04 Thread Ugo Maria Colesanti
Sorry, my mistake! I put 5Mbps instead of 500kbps. With tos-install-jre it works now. Thanks! Ugo 2014-09-04 13:23 GMT+02:00 Ugo Maria Colesanti colesa...@dis.uniroma1.it: Hmm... still having issues: - I did the tos-install-jni and it no longer says that it does not find toscomm, but the

Re: [Tinyos-help] Efficient ways to dump LogStorage

2014-09-04 Thread András Bíró
Keep in mind that 500kbaud is a good value for atmel based motes with round numbered oscillator, like the rfa1 and it's internal 16MHz RC oscillator. The iris main clock is designed for traditional clockrates, so you might want to use 460800 (I'm not sure if it works or not on linux, but the mote

[Tinyos-help] Efficient ways to dump LogStorage

2014-09-01 Thread Alessandro Sivieri
Hi all, I'm quite effectively using the LogStorage to store sample data in a deployment. As of today, whenever I have to extract the data from the storage, I simply seek to the beginning and then read each entry, printing it out in a CSV-like format and collecting the printouts from a terminal.

Re: [Tinyos-help] Efficient ways to dump LogStorage

2014-09-01 Thread Alessandro Sivieri
On Mon, Sep 1, 2014 at 11:08 AM, Ugo Maria Colesanti colesa...@dis.uniroma1.it wrote: How big is your flash? What hardware are you using? I'm using the telosb and the ucmini, the former with 1MB flash and the latter with 2MB. I think I will try the active message this week and see how it

Re: [Tinyos-help] Efficient ways to dump LogStorage

2014-09-01 Thread Ugo Maria Colesanti
I think you will manage to do everything with the standard serialAM stack, but just in case, have a look to tos/lib/fastserial which should be a more efficient serial interface than the standard one (i never used it). It should support both, ucmini and telosb. I think it can be re-wired to

Re: [Tinyos-help] Efficient ways to dump LogStorage

2014-09-01 Thread András Bíró
Hi Guys, Fastserial doesn't provide faster communication, it's just using much less blocking (atomic) segments, so it doesn't mess up important interrupts. This is very useful when you want to use it as a really fast basestation. You can turn it on with the fastserial extra (e.g. make iris

Re: [Tinyos-help] Efficient ways to dump LogStorage

2014-09-01 Thread Davide Molteni
Hi, I use the approach suggested by Ugo. I can dump the entire tmote memory with no problem using SerialActiveMessage, following this loop: 1) read from flash in a buffer (size of buffer is a for a log record) 2) send usign SerialAMSender 3) on sendDone event call again number 1, On pc side I