PORTS Forum

Ports and Interfaces => Serial Ports => Topic started by: GlennP on January 09, 2012, 05:25:35 am

Title: Not sure if this should be in USB or here, but....
Post by: GlennP on January 09, 2012, 05:25:35 am
Hi All,
I am writing a Windows program to interface with a board and have noticed a an oddity. The com port is now being done using a USB emmulation of a serial port. At times the serial port interrupt handler picks up the data fine ie 'RSN=12345678'<cr><lf>'>' at other times half of the data is missing so the reply is read as '5678<cr><lf>'>' but using a third party monitor the reply is  'RSN=12345678'<cr><lf>'>'  I am wondering if this due to the interrupt handler being a bit slow or could it be to be with serial port emmulation in the USB being split over multiple frames and that causes the problem ?

Glenn
Title: Re: Not sure if this should be in USB or here, but....
Post by: GlennP on January 09, 2012, 11:27:38 am
I have remembered how to get around the problem I was having, that caused to post (always check the boards you nick for experimentation over the weekend work!!!!!) :P