Re: Floating Point Exception

From: Steve (steve_at_steve.com)
Date: 10/11/04


Date: Mon, 11 Oct 2004 22:47:23 +0100

Thanks for all the replies. I wasn't expecting so many.

I made a typo in my message. The source code has the correct values of
0xAAAAAAAA and 0x55555555. I'm not compiling with any sort of optimization
as this is just a test. None the less, I have now made the pointer
volatile. When I do:

*p = 0x12345678;
printf("*p : %X", *p);

It communicates with the PCI card correctly and the PCI card displays /
returns the correct values.

I was wandering if some sort of buffer exists for the PCI bus. When I write
my values in a loop :

while(1)
{
  *p = 0xAAAAAAAA;
  *p = 0x55555555;
}

maybe the buffer is receiving data faster than it's sending data.
Therefore, generating some sort of buffer overrun. Is this plausable?
Would it generate a floating point exception? Any ideas on what I can about
it?

Is using a pointer to the memory mapped PCI space the problem? Should I be
using some specific functions?

Thanks again,



Relevant Pages

  • Re: Floating Point Exception
    ... On 2004-10-11, Steve wrote: ... > maybe the buffer is receiving data faster than it's sending ... generating some sort of buffer overrun. ...
    (comp.os.linux.development.system)
  • PCI card transfer with DMA/ busmastering
    ... I have a custom PCI card that I intend on using as a coprocessor to ... I've read a lot regarding DMA transfer, I assume this is the way to go. ... When I create my driver for my PCI card does the DMA stuff need to go ... DoMatrixMultiplication(buffer A, buffer B, buffer C), where buffer C ...
    (microsoft.public.development.device.drivers)
  • Re: TV CARD
    ... >So I cannot connect the RF of the digibox to the pci card? ... What sort of connector does it have? ... That might give you a clue. ...
    (uk.media.tv.sky)
  • Re: Receiving broadband signal within same house
    ... 3m pigtail/extension cable between the antenna and the PCI card. ... That's the sort of thing I was wondering about! ... Thanks, Bill. ... Only on eBay? ...
    (uk.telecom.broadband)
  • Re: Windows XP and USB problems
    ... In answer to your questions yes I do have SP1a, ... In other news it isn't just the PCI card that ... The PCI card is a Belkin and it is USB1.1, ... any sort of USB device enabled. ...
    (microsoft.public.windowsxp.hardware)