Closed danbim closed 12 years ago
Searched long for this issue today but couldn't find the root cause yet. It seems that somehow the connection between the driver streams and the channel sink of Netty is broken so that no messages are being read from the streams. But this seems to be just an effect of the root cause. When trying to flash the "waiting for boot loader" process times out which indicates that some other Thread is reading from the device stream.
Base line: we should make a code review of the thread synchronization logic that works its magic between the application thread and rxtx threads.
Maybe even a rewrite using simple message queues inside the driver would do the job less error-prone.
When flashing nodes the second time after IWSN restart the following error message is logged:
This happens e.g., if I flash the node with the uart_test program of wiselib twice consecutively.