|
-
September 5th, 2007, 05:24 AM
#1
Com port framming error
I am using a hardware which has UART pin shared with some other serial protocol pin. So when the hardware is handling data with the other protocol, I get garbage on the UART.
Now I have written an application in VB 6.0, which reads this data from the hardware. But I never get the data reliably with the application. Sometimes the application stops getting any data from UART. Whereas if I kill my application and connect the same port using HyperTerminal, I still get the data with some garbage in between.
I feel that when the hardware sends some garbage, which is due to the other protocol, there some framing error occurs and I am unable to handle that error properly(may be resetting that error). So the MSCOM stops getting further data.
Can anybody tell me anythig about it?
Thanks for the help.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|