Fyi, I uploaded a FlashViewer nesC and Java application to /contrib/rincon/.
It lets the user control the flash on the mote through the BlockStorage interface. This allows you to experiment with flash behavior and double check that your flash programs are working correctly. Here are some example commands from the readme: see if the FlashViewer is installed on the mote: flashviewer -ping reading flash, from address 0x0 to address 0x1200: flashviewer -read 0x0 0x1200 reading flash, from address, 0x10000 to address 0x200: flashviewer -read 0x10000 0x200 writing characters to flash starting at 0x0: flashviewer -write 0x0 HelloWorld! mounting to a volume in flash: flashviewer -mount 0 Commit to flash (at45db only): flashviewer -commit erasing a volume in flash: flashviewer -erase -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of L Tony Sent: Monday, March 06, 2006 3:20 PM To: [email protected] Subject: [Tinyos-help] write/read from flash on telosb mote Hi, I use telosb mote. In my project, I use a t-mote to receive a sequence of packets. For every received packet, the mote writes some value (like RSSI) to the mote's flash. Then I connect the mote to laptop and read all the bytes from flash. I searched the archive and found I should use the updated BlockStorage instead of ByteEEPROM. But I don't know how the BlockStorage works. Are there any example application using BlockStorage? Thanks. Best regards, Tony _________________________________________________________________ 享用世界上最大的电子邮件系统― MSN Hotmail。 http://www.hotmail.com _______________________________________________ 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
