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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/07/06 10:23
Read: times


 
#111488 - Seems a mite slow!
Responding to: ???'s previous message
I've fiddled with various ways of getting data in and out of PC's for some time, and, using EPP protocol, which does require a little external hardware (one nand gate, and, if you're conservative, a flipflop), I've routinely gotten 2 MB/sec and not just in bursts, out of various PC's, notably my old 233 MHz Winbook, which I use for lots of things.

EPP allows you to write a long word to 0x37C and have the four bytes shuffled out of the port with automatic handshaking. Likewise, it can be read in the same way. I only measured the rate one time, but was, indeed getting 2 M transfers per second.

Some folks have claimed that their PCI parallel port could do up to 16 MBps on a sustained basis, and SMC claimed, of their parallel port "target" chip, (SMC34C80?) which was intended to serve as the outside-world "target" interface to a notebook or other PC on which the box didn't have to be opened, would allow real-time emulation of a PC/AT. They even provided ISA bus schematics that attached via their interface chip, doing everything a PC did, including automatic memory refresh. Now, I didn't build that hardware just to see if it was true, but that's a claim I wouldn't make unless I had considerable confidence.

I've seen some EPP channels that took 2 microseconds per byte, and others that took much less. Most of the stuff I've done with EPP has not been rate critical, and often worked in bursts, so I don't have a good handle on the numbers, particularly since they vary considerably.

I'd suggest you give it a try sometime, though, because I believe you'll be pleasantly surprised at how quick and convenient it is, not to mention flexible.

EPP is a standard 1284 mode of operation so it's included in every PC since about 1990. It has two addresses, one at the base port address + 4 and one at the same base address +3. The latter is an 8-bit address/command channel on write and provides status, if you want, on read. The upper address, at the base address+4, is the data port, quite bidirectional, which reads or writes bytes, words, or long words, though you have to be sure about the multiplexing capability before you proceed, if your hardware is pre-version 1.9. Some of the older v1.7 hardware didn't do that multiplexing.

RE


List of 77 messages in thread
TopicAuthorDate
Parallel port Logic Analyser            01/01/70 00:00      
   Maybe I can help ...            01/01/70 00:00      
      Details            01/01/70 00:00      
         Well ... YES!            01/01/70 00:00      
            Oops!            01/01/70 00:00      
               another option            01/01/70 00:00      
               ideas            01/01/70 00:00      
               Try a DOS box            01/01/70 00:00      
                  When things are not going on my way..            01/01/70 00:00      
                     well            01/01/70 00:00      
                        Cost?            01/01/70 00:00      
                        cost            01/01/70 00:00      
                           Options            01/01/70 00:00      
                              ok well            01/01/70 00:00      
                              miniLA            01/01/70 00:00      
                                 Sorry!            01/01/70 00:00      
                                    I don't sell            01/01/70 00:00      
                                    If you want something you can build ...            01/01/70 00:00      
                                 MiniLA?            01/01/70 00:00      
                                    Buying, building and Writing..            01/01/70 00:00      
                                       You've got to decide ...            01/01/70 00:00      
                                       great start!            01/01/70 00:00      
                                          AVR!            01/01/70 00:00      
                                             realterm            01/01/70 00:00      
                                          But they're not reall fast enough            01/01/70 00:00      
                                             Cheat!            01/01/70 00:00      
                                                only if it gains you something            01/01/70 00:00      
                                                   to LA or not to LA            01/01/70 00:00      
                                                      I once made one            01/01/70 00:00      
                                                         cost of time... and price of learning...            01/01/70 00:00      
                                                            there is no such thing            01/01/70 00:00      
                                                               1MHz sampling            01/01/70 00:00      
                                                                  it's not that simple            01/01/70 00:00      
                                                                     architecture            01/01/70 00:00      
   Not sure how it compares            01/01/70 00:00      
      not very useful            01/01/70 00:00      
   there is no way in hades that a "paralle            01/01/70 00:00      
      how fast?            01/01/70 00:00      
      not so fast there, Erik            01/01/70 00:00      
         PCI LPT vs. onboard            01/01/70 00:00      
            Seems a mite slow!            01/01/70 00:00      
         yes, but part of the "software" is Windo            01/01/70 00:00      
            You're right, of course,            01/01/70 00:00      
               all good and well            01/01/70 00:00      
                  wotizit            01/01/70 00:00      
                  That's it, exactly!            01/01/70 00:00      
                     Won't work either            01/01/70 00:00      
                        will work            01/01/70 00:00      
                           yes, but not the way you think            01/01/70 00:00      
                              re FIFO use            01/01/70 00:00      
                              USB+FIFO: the simplest way            01/01/70 00:00      
                                 Have you considered this?            01/01/70 00:00      
                                    simplicity            01/01/70 00:00      
                                       yes, but it's not deterministic            01/01/70 00:00      
                                          YES YES YES            01/01/70 00:00      
                                             What do you mean "forget about..."            01/01/70 00:00      
                                                quick'n'dirty            01/01/70 00:00      
                                                   there are countries with low labor cost            01/01/70 00:00      
                                                      labour cost?            01/01/70 00:00      
                                                   Even if it's 768 TB, it's too small            01/01/70 00:00      
                        think about it some more            01/01/70 00:00      
                     10MHz?            01/01/70 00:00      
                        Not the USB, the FIFO!            01/01/70 00:00      
                           USB logic analyzer            01/01/70 00:00      
                              It's just a transfer mechanism            01/01/70 00:00      
            Zigbee timing            01/01/70 00:00      
               if a byte is 32 then a bit is 4 and you            01/01/70 00:00      
               arrrrrrrrrrrrgh and stuff,just use pci            01/01/70 00:00      
                  Yes, well, what did you expect?            01/01/70 00:00      
                     better mousetrap            01/01/70 00:00      
               I must have been more precise            01/01/70 00:00      
                  but WHEN?            01/01/70 00:00      
                     2420 interface details            01/01/70 00:00      
                        Focus on your current needs            01/01/70 00:00      
                           Thank you            01/01/70 00:00      
   reconstructed website            01/01/70 00:00      
   Update            01/01/70 00:00      

Back to Subject List