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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/04/09 08:29
Read: times


 
#168125 - USB, COM, LPT - Use and abuse
Responding to: ???'s previous message
David Prentice said:
In my experience all of these cables will work with any programmers that make regular use of the RS232 e.g. send and receive ASCII strings. After all this is what RS232 as designed for.

Absolutely; but not restricted to ASCII strings - normal binary comms should also work.

Those programmers that bit-bang the RS232 control signals like DTR, RTS, CTS, DCD etc may not work.

Exactly; this was always an abuse of the COM port!

I said:
it's often not the USB-to-Serial that's to blame; it's the fault of poor application software that is making unwarranted assumptions about the device - such as trying to directly access hardware registers and/or bit-bang timing on the modem-control lines...
http://www.8052.com/forum/read/168090



David Prentice said:
Those "parallel port" programmers that bit-bang the control lines will probably never work with USB->LPT cables.

Almost certainly: the USB->LPT cables you buy from "computer" stores are really just USB-to-Printer adaptors - they do not even claim to emulate the extra features required to use the LPT port as a general IO port.

There are a few specialist adaptors that do claim to provide full (or, at least, fuller) LPT support; eg, see http://www.8052.com/forum/read/118809 - but, as you say, the cost may well not be worth it!

And, of course, any PC application software that tries to hack the hardware registers directly is unlikely to work properly - if at all - on recent Windows version (ie, NT and later?)

List of 36 messages in thread
TopicAuthorDate
USB Programmer            01/01/70 00:00      
   VISTA OS 32bit isnt useful for USB to serial / parallel            01/01/70 00:00      
   FTDI again            01/01/70 00:00      
   Cheap USB Programmer            01/01/70 00:00      
      MIKRO USB programmer            01/01/70 00:00      
   Vista & USB Serial Cables            01/01/70 00:00      
      Are You sure?            01/01/70 00:00      
         not necessarily Hasta la Vista            01/01/70 00:00      
         No driver needed?            01/01/70 00:00      
      whatever you look at/ want to buy            01/01/70 00:00      
   Which 80c5/52 mfg and series are you programming            01/01/70 00:00      
      I am using for Atmel 89C51,89cX051            01/01/70 00:00      
         BAFO            01/01/70 00:00      
            Yes it was BAFO!            01/01/70 00:00      
               BAFO is bad design            01/01/70 00:00      
                  non-sequitur            01/01/70 00:00      
                     other problems            01/01/70 00:00      
                        My point is...            01/01/70 00:00      
                           no guarantee, yes            01/01/70 00:00      
                  My BAFO looks OK (but is stupid)            01/01/70 00:00      
                     The photo looks clear.            01/01/70 00:00      
                        Not really            01/01/70 00:00      
                        USB, COM, LPT - Use and abuse            01/01/70 00:00      
                           I have given up hope.........            01/01/70 00:00      
                              You can't blame Bill for that one!            01/01/70 00:00      
                                 HW builder?            01/01/70 00:00      
                                    It is easier to develop with ISP or IAP            01/01/70 00:00      
                              COM port still alive!            01/01/70 00:00      
                                 No "improvement"            01/01/70 00:00      
                                    Desktops with COM ports            01/01/70 00:00      
                                       Thread is for problem with Notebooks            01/01/70 00:00      
                                          Surely a USB->RS232 cable is simpler            01/01/70 00:00      
                                             You can sell ice to Eskimos but not me!            01/01/70 00:00      
                                                Have you checked Aten?            01/01/70 00:00      
                                                   Sorry I didnt but I have found this !!!!!            01/01/70 00:00      
                                          Stalwarts pl respond!            01/01/70 00:00      

Back to Subject List