[Tinyos-help] BlockWrite BlockRead(telosb)
giorgio
giorgio.galassi at unimi.it
Wed Apr 8 05:40:57 PDT 2009
I'am new of tinyos and I'am writing a program test to write and read on memory
flash of telosb(msp430).I have understand the general idea of volume and so I
have create a xml file for the volume and I use printf to see what I write and
what I read .I use kubuntu 8.10 with eclipse with plugin yeti 2 .My problem is
that I have alway writeDone and readDone success but when show what I read
doesn't match with I would write.
I must use a minum packet size ? for address I start from 0 and for each write
I add addr with addr = addr + len with len the number of byte write.
I write an array of uint16_t [480] and I populate this with numbers
11111..first write then for the second write I populate with 2222...:I can
write with BlockWrite number on the flash or I must use esadecimal format or
other ?When I write I must before erase the block where I want to write or not
?As you see I have many questions :I have try on the forum but for the moment
I haven't found .
Every information is appreciate.
Thanks a lot
Giorgio
More information about the Tinyos-help
mailing list