home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.m68k
- Path: sparky!uunet!sun-barr!cs.utexas.edu!oakhill!floydg
- From: floydg@oakhill.sps.mot.com (Floyd Goodrich)
- Subject: Re: problems with m68882
- Message-ID: <1992Sep9.132855.18608@oakhill.sps.mot.com>
- Keywords: m68882
- Organization: Motorola Inc., Austin Tx.
- References: <219@F_HOME.ahwau.ahold.nl> <92Sep08.184615.11893@acs.ucalgary.ca>
- Date: Wed, 9 Sep 1992 13:28:55 GMT
- Lines: 32
-
- norm@enel.ucalgary.ca (Norm Bartley) writes:
- >leo@ontnix2.ahwau.ahold.nl (Leo Weppelman) writes:
- >>I am working on an multi-tasking kernel on my Atari-TT. It contains an
- >>68030 main processor and an 68882 coprocessor on 33Mhz.
- >>
- >>I am getting coprocessor protocol violations at random but especially
- >>when a lot of interrupts occur (i.e. during disk accesses).
- >
- >I have had similar problems on my Amiga while trying to add 68882
- >support to Amiga Minix. I followed the exact same procedure as you for
- >saving/restoring/initializing the 68882 context. I would get coprocessor
- >protocol violations at random -- a process might bomb immediately, or it
- >might run for a few seconds and then bomb.
- >
- >I was never been able to resolve this problem. I, too, suspected
- >interrupts from various things, but I added code to the kernel to
- >catalogue and report all interrupts -- nothing had anything to do
- >with the 68882.
-
- I don't know if this is your problem or not, but a poorly designed
- hardware handshake between the 68882 and 68030 can cause spurious
- PV. To determine if it's a HW or SW problem, you may be able to
- slow down the clock and see if it goes away (==> HW problem). It
- sounds like you're doing the right thing in software. It is important
- to do an FSAVE in your ISR prior to executing any F-line instructions.
-
-
- ---
- Floyd Goodrich
- Motorola 68K Applications
- floydg@oakhill.sps.mot.com
-
-