With my simple tests, I'm able to successfully read out the full
contents of the log with >4096 append bytes after a reset.

Can you clarify what you mean by "stops reading"? Does LogRead.read
return an error? If SUCCESS, does LogRead.readDone fail to get
signalled?

Is it possible for you to send out minimal code that reproduces the
problem? It will make it much easier to see what's going on.

--
Jonathan W. Hui
[EMAIL PROTECTED]
http://www.cs.berkeley.edu/~jwhui/

On 11/12/06, Urs Hunkeler <[EMAIL PROTECTED]> wrote:
Hi,

I'm using TinyOS 2 Release on Tmote Sky nodes (with the stm25p flash
chip). When writing a lot of data (more than two blocks in the flash
chip, ie. more than 4096 Bytes), and then performing a reset, LogReader
stops reading data after roughly 4096 Bytes (probably two blocks). This
error occurs independent on whether a synch was performed at the end,
several times in between or not at all. It does not occure if the mote
hasn't been reset between reading and writing.

Does anybody have a solution for this problem? Any ideas  on how to
debug this? (I don't have a JTAG interface)

Thanks,
Urs
_______________________________________________
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

Reply via email to