I am using the Programming Port on the Due as a Serial device.
I'd like to use the USB Host for another task.
I get decent throughput while transmitting, but while receiving things get pretty rough.
Looking through some code for various parts, including the 16u2 and HardwareSerial.h, I believe this to be a limitation of the RX buffer, 128 bytes.
Am I correct in assuming that given this limitation and the USB poll rate of 1 second it is only possible to receive 128 bytes or serial data per second on the Due through the programming port?
I'd really like to transfer to the device at bossac speeds as seen when programming the device, but I assume this is some sort of special mode. I am seeing stuff like 20kb, 85 blocks, in a few seconds.
Any thoughts on this are welcome, I would be awesomely pleased to find out I was doing something incorrectly.