home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!cs.utexas.edu!torn!news.ccs.queensu.ca!qucdn!leek
- Organization: Queen's University at Kingston
- Date: Sun, 3 Jan 1993 14:46:51 EST
- From: <LEEK@QUCDN.QueensU.CA>
- Message-ID: <93003.144651LEEK@QUCDN.QueensU.CA>
- Newsgroups: comp.sys.amiga.hardware
- Subject: 2.0 UNIT_MICROHZ timer questions...
- Lines: 40
-
- I have just installed the 2.04 ROM into my A1000. I have read that 2.04
- "fixes" some of the timer problems - namely the time delays are more
- accurate than the 1.3, right ?
-
- I am having some timing problems with the GAL programmer I designed and
- built. The programmer works fine under 1.3 and only 25% of the chips get
- programmed properly under 2.04. I can only assume that timing problems
- are ones to blame.
-
- For timing that are less than 100uS, I am using a CPU timing loop that
- reads off a memory location in the peripheral chip area. Since these
- delays are for minimum time delays for some of the signals, the actual
- delay time does not matter as long as the minimum delay criteria is
- met. The 8250 peripheral chip are clocked to 716KHz E clock and read
- cycles are at least 1.4uS long reguardless of CPU speed. I have
- previously checked the timing of 100uS delay and it came out to be
- 100.5uS on my 18MHz 68020 system. The speed of this routine is
- independent of OS version.
-
- For the more critical programming pulses, I am using the UNIT_MICROHZ
- timer for time delays from 10mS to 100mS. The actual programming
- routine runs at priority of 10. To verify that the OS overhead wasn't
- the problem, I have just tried setting all the system tasks to 9 and it
- doesn't help.
-
- Are the timing accurately enough to +/- 10% ? ie +/- 1mS for 10mS delays
- and +/- 10mS for 100mS. BTW I do have the full programming specs from
- the manufacturer.
-
- The hardware runs on the parallel port. I opened the parallel.device
- from the OS before poking the 8250 registers.
-
- Are there anythings I have overlooked ? Anything that might affect the
- parallel port or the time delays ? For now I guess I'll program
- stuff under 1.3.
-
- Thanks in advance.
-
- K. C. Lee
- Elec. Eng. Grad. Student
-