I'm trying to stream a large amount of data to an Arduino Diecimila (USB), and I need at least 100,000 baud (i think this would be at least 11KB/sec).
Using Processing, if I transmit a block of around 256 bytes of data every 1 second at 115200 baud, I'm seeing a lot of byte drop-out when using the Serial (or direct to wiring_serial) library.
57600 seems to be the fastest rate that I can reliably stream data to the Arduino without corruption. This is strange, because the ATMega168 data sheet claims that the chip's serial interface can support much greater than that speed at 16Mhz.
I thought maybe the interrupt-driven routine is too slow and is somehow missing bytes. Maybe I need to write a more dedicated serial processing loop?
Has anyone else tried to send data quickly to the arduino, and if so, did you see this sort of corruption?