Ports
May 19, 2013, 01:36:15 am *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: SMF - Just Installed!
 
   Home   Help Search Login Register  
Welcome to the PORTS Forum. Please post your questions, answers, and comments relating to USB and other hardware interfaces in the appropriate forums below. - Jan
Pages: [1]
  Print  
Author Topic: Not sure if this should be in USB or here, but....  (Read 824 times)
GlennP
Frequent Contributor
****
Posts: 126


« 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
Logged
GlennP
Frequent Contributor
****
Posts: 126


« Reply #1 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!!!!!) Tongue
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!