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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/27/13 10:22
Read: times


 
#189803 - Absolutely!!
Responding to: ???'s previous message
This well-worn old chestnut again!

Michael Karas said:
Non working serial port interfaces in software that fails with USB to Serial Converter cables is often not the fault of the USB serial device or its OS drivers.

I would venture to suggest that this is "usually" the case - not just "often"...?

Many old time programs written for use with the serial ports in a PC were written with direct access to the COM port I/O addresses and interrupt vectors.

Not only that, but many (most?) were also abusing the RS232 control lines as GPIO.

This would generally fail even on a "real" serial port under modern Windows versions.

There are a slew of these old programs still in use even today and is one of the reasons that Microsoft in particular has mapped the COM port register addresses as still accessible from user program space!

But the timing is entirely different!

Newer and more smartly written software that uses the OS API to open and access serial port devices, whether they be the old legacy COM1 to COM4 hardware supported devices, virtual COM ports mapped through to USB serial cables or virtual ports offered by drivers ... stand a much better chance of working properly with non legacy hardware.

Absolutely.

Note also that some "USB-to-Serial" chips do have a "GPIO" mode (some of FTDI's certainly do); but this requires a special driver & API - not just the bog-standard COM port...

List of 31 messages in thread
TopicAuthorDate
At89s52 programming and interfacing            01/01/70 00:00      
   What development board?            01/01/70 00:00      
      link            01/01/70 00:00      
         don't know any, but ....            01/01/70 00:00      
   It is a well known fact ...            01/01/70 00:00      
      Drivers            01/01/70 00:00      
      that's one of the penatlies for using USB.            01/01/70 00:00      
         Caught up in......            01/01/70 00:00      
      CP2102            01/01/70 00:00      
         FTDI chip clock            01/01/70 00:00      
            FTDI            01/01/70 00:00      
               multi-port parts            01/01/70 00:00      
         FTDI Combined Driver            01/01/70 00:00      
            FTDI            01/01/70 00:00      
   USB advantages 100 penalties 2 ...            01/01/70 00:00      
      Do those work with the various ATMEL "programmers"?            01/01/70 00:00      
         Not Awways the USB Converter's Fault            01/01/70 00:00      
            Absolutely!!            01/01/70 00:00      
            I wouldn't argue with that for a minute            01/01/70 00:00      
               Board version             01/01/70 00:00      
                  The Board In Question            01/01/70 00:00      
         RE: "an old PC that has a real serial port"            01/01/70 00:00      
            Well .... actually ... no ...             01/01/70 00:00      
               Old apps on Windows 7 (or 8)            01/01/70 00:00      
                  don't know what "old apps" yo refer to, but ...            01/01/70 00:00      
                     That's what I've said about Vista and Win7            01/01/70 00:00      
                     OrCAD 9            01/01/70 00:00      
                        It's a windows version, and much less capable than v 1.0            01/01/70 00:00      
      RE: "decent USB equipment works very well"            01/01/70 00:00      
         this goes to the heart of the issue ...             01/01/70 00:00      
   Terminal emulator            01/01/70 00:00      

Back to Subject List