Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/11/09 17:45
Read: times


 
#170698 - Eh??
Responding to: ???'s previous message
Joseph Hebert said:
If you are trying to program to communicate through a com port, you will need to search for, and read up on, using DCBs (Data Control Blocks).

There are plenty of "wrappers" that let you do serial comms in Windows without having to worry about DCBs.

I suggest abandoning the COM port in favor of the USB. If you interface through a USB port, you can use a USB to UART bridge chip, any of which will come with a full compliment of drivers and libraries that will make your programming as nearly as simple as the puts you're trying to use as is possible.

No - disagree entirely!

As far as the PC is concerned, the USB-to-UART adaptor looks exactly like any other COM port!

Yes, custom libraries are usually available - but I don't think that's any easier than COM port programming, and it ties you to the particular vendor


List of 10 messages in thread
TopicAuthorDate
8051 communication using stdio.h            01/01/70 00:00      
   RTFM            01/01/70 00:00      
   com ports            01/01/70 00:00      
      Eh??            01/01/70 00:00      
         So your advise is ...            01/01/70 00:00      
            where will that leave Maninder ?            01/01/70 00:00      
               Best option            01/01/70 00:00      
               MSDN article on Serial Comms with the Win32 API            01/01/70 00:00      
                  Should be            01/01/70 00:00      
      It's not clear            01/01/70 00:00      

Back to Subject List