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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/02/07 19:22
Read: times


 
#147744 - that's not quite the case
Responding to: ???'s previous message
Windows has a funny way of putting certain things ahead of others. Synchonicity is normally maintained under Windows in short bursts, but if you have a long process, e.g. a byte that has to be monitored and recorded at regular intervals, you have to provide a FIFO for it that's deep enough to get around the several seconds of "jitter" that Windows' prioritization imposes.

This showed up recently in an implementation using a USB-FIFO (FT-245M ?)setup. I was forced to put a large (64 MB) DRAM buffer memory between the synchronous hardware and the fifo because the FIFO depth was inadequate to "keep up" with the hardware, thanks to the occasional 3-4 second pause in Windows' processing of this link.

Now, I chose 64 MB not because every transfer is 64 MB, but because (a) I had supply of old SIMMs that served the purpose, and (b) I didn't want to revisit the problem due to inadequate buffer depth. I've never measured the depth of memory that's actually used, but I have observed multi-second lack of service from Windows. I've even seen circumstances wherein it fails to process keystrokes for upward of 5 minutes, while doing things unrelated to any active user task.

RE


List of 30 messages in thread
TopicAuthorDate
... ahem .... Has anyone used EPP mode lately?            01/01/70 00:00      
   EPP for what ? programming 8051            01/01/70 00:00      
      for ANYTHING at all            01/01/70 00:00      
         Its fast            01/01/70 00:00      
            Maybe, but ...            01/01/70 00:00      
   Scanners?            01/01/70 00:00      
      did you build the scanner?            01/01/70 00:00      
         Oh, I see            01/01/70 00:00      
   we've used it in the miniLA project            01/01/70 00:00      
      perhaps you've underestimated it            01/01/70 00:00      
         What's your PC programming environment?            01/01/70 00:00      
            I don't trust Windows ...            01/01/70 00:00      
               good idea - if ...            01/01/70 00:00      
                  With LPT in EPP mode ...            01/01/70 00:00      
                     that's not quite the case            01/01/70 00:00      
                  Windows doesn't like direct I/O            01/01/70 00:00      
                     there are ways...            01/01/70 00:00      
                        That's one of many pages ...            01/01/70 00:00      
                        inpout32.dll            01/01/70 00:00      
                           Really?            01/01/70 00:00      
                              It\'s moot, since I don\'t use Windows for that            01/01/70 00:00      
            Too much hassle            01/01/70 00:00      
               If only USB were fast enough ...            01/01/70 00:00      
               the workhorse            01/01/70 00:00      
   Only I can tell is, ...            01/01/70 00:00      
      Interesting ...            01/01/70 00:00      
         Believe me, I was also surprised!            01/01/70 00:00      
            '245's are schmidt triggered, aren't they?            01/01/70 00:00      
               schmitt trigger on '245?            01/01/70 00:00      
                  There must be room for doubt ...            01/01/70 00:00      

Back to Subject List