I put together an app to test the Log storage stuff and everything seems to be working perfectly fine for me........... Here is a link to the test app.
http://sing.stanford.edu/klueska/StorageTest.tar.gz There is one producer (PeriodicDataLoggerP) and one consumer (DataLogReaderP) who share access to the flash. Sensor readings from a software-based sensor (SineSensorC) are taken periodically (every 300ms) and logged to the flash. At another period (every 5s), all new readings that have not yet been read from flash since the last time it was read are pulled from the flash and written out over the serial line using printf. Kevin On 8/29/07, Bernardo Avila Pires <[EMAIL PROTECTED]> wrote: > Pires, you mean =) > > Since you are dealing with tutorial and I don't quite have the time > right now, could you do me a favor, please? > > I am almost 100% sure that something in the OS X installation goes > wrong, because volumes (persistent storage) do not work. They're > either not allocated or not recognized. I don't know how it works, but > it seems to me that Java is involved. I installed the volume-using > apps under Fedora and they worked perfectly. > The favor is: would you discover the reason for this problem and fix it? > Thank you > > (sorry for double e-mail) > > 2007/8/29, Kevin Klues <[EMAIL PROTECTED]>: > > The tutorial wasn't quite complete. There was a problem with setting > > the AM address correctly that would break performing collection > > correctly. The problem was pointed out in another thread on the > > mailing list eariler today by Bernardo Avila Peres. I have updated > > the tutorial to address this needed change. Its in the section on > > setting the nesc separator correctly. > > > > Kevin > > > > On 8/29/07, Risto Hietala <[EMAIL PROTECTED]> wrote: > > > Hi Kevin, > > > > > > Indeed I followed your instructions on getting the environment > > > to work at the first place. I also have to thank Chien-Liang Fok > > > for his additional notes at: > > > http://www.cse.wustl.edu/~liang/tinyos-install/ > > > > > > However, my problem with the collection still exists (previous > > > mail to the list on 28.8.) and I wouldn't like to do everything all > > > over again if there was some solution. And as the other > > > programs work, I'm a little bit sceptical that this would be > > > a problem of my development environment. > > > > > > But if there are no other solutions, I guess I have no other choice > > > than to go through your tutorial again. > > > > > > Thanks and best regards, > > > > > > Risto Hietala > > > > > > > > > On 28.8.2007, at 17.45, Kevin Klues wrote: > > > > > > > Some people have been expressing concerns recently on not getting > > > > tinyos to work properly under Mac OS. I wanted to point them all > > > > again to a tutorial I wrote about a year ago. Everyone I've heard > > > > from has had success with using it, so hopefully you will too. I > > > > updated and tested it again last night so it should be good to go. > > > > > > > > http://www.stanford.edu/~klueska/installing_tinyos2.html > > > > > > _______________________________________________ > > > Tinyos-help mailing list > > > [email protected] > > > https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > > > > > > > > -- > > ~Kevin > > _______________________________________________ > > Tinyos-help mailing list > > [email protected] > > https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > > > > -- > "The truth shall set you free" > -- ~Kevin _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
