Why do I get CharadeOutputStream timeouts?
When I run my program I get:
vm.0 breakpoint: [CharadeOutputStream timeout]
Pressing backtrace shows the following method as the one that caused the exception:
com\ajile\jem\CharadeOutputStream.write(I)V
A: Once the CharadeOutputStream's buffer fills up on the target, the thread sending data is blocked waiting for Charade to get around to emptying the data from the OutputStream. If Charade does not service the buffer within 5 seconds, an IOException is thrown.
Sending System.out & System.err to Charade is done at a fairly low rate. Often limited to 512 characters per second. This depends on many variables including speed of the receiving PC. If you run into charadeOutputStream timeouts do one of the following:
* Redirect System.out to the serial port. This is easily done by adding the serial driver. And checking the redirect checkbox in the serial driver page.
* Reduce the amount of data you are sending out system.out.