Content originally posted in LPCWare by tgiacomelli on Fri Oct 14 02:26:42 MST 2011
Hello,
I have used the sample application RDB1768cmsis2_usbstack and RDB1768cmsis2_usb_serial to send 20000 bytes, however the data transfert fails, I only get part of the data. If add a tempo after each character sent, the transfert works but the speed is very low.
I have attached the file main_serial.c and a small python script used as hyperterminal. I have only replaced in the example the echo function with my function to send 20000 bytes.
I think there is something wrong in the communication protocol. I have also seen time to time that the transfert is almost completed only some chunk of 64byte are missing, then these missing bytes are send with the next data transfert.
Thank you for your help