We don't support hot swap in the PCI server, so you will have to remember the interrupt that you first got and use this same interrupt on subsequent power down/up events.


From: srilakshmi <community-noreply@qnx.com>
Reply-To: "general-community@community.qnx.com" <general-community@community.qnx.com>
Date: Saturday, 20 October, 2012 1:10 PM
To: "general-community@community.qnx.com" <general-community@community.qnx.com>
Cc: "amitn@vrindatech.com" <amitn@vrindatech.com>
Subject: RE: PCI express

I tried using PCI_RESCAN_BUS() function to detect the PCI, it says pci detected. BUt i have intr line vlaue getting changed.On intial start up value i got was 10 but latter when FPGA is switched ON&OFF the value is getting, 6 as per documnet 6 represent the floppy drive

ON reading info it gives information but codes behave improperly when we send data to the PCI

card

 

DOcument say it is used in HOT SWAP condition,Is this hot swap automatic,as we are not using any

QNX function for hot swap in our code.

From: Hugh Brown [mailto:community-noreply@qnx.com]
Sent: Friday, October 19, 2012 4:51 AM
To: general-community@community.qnx.com
Subject: Re: PCI express

 

You will have to use the pci_rescan_bus() function after you have powered the FPGA card to re-assign the memory and interrupts. There is no automatic detection after the PCI server has been started.

 

 

 

From: srilakshmi <community-noreply@qnx.com>
Reply-To: "general-community@community.qnx.com" <general-community@community.qnx.com>
Date: Friday, 19 October, 2012 3:38 PM
To: "general-community@community.qnx.com" <general-community@community.qnx.com>
Subject: PCI express

 

Hi,

 

From  AIMB580(Advantech Intel Mother Board) I am connecting PCIe to Master FPGA card(Xilinx).

When QNX system is booting up at that time PCIe detecting Master FPGA card with status as Address locations are enabled.

When I power off Master FPGA card at that time pcie is not detecting.

When I power ON again Master FPGA card PCIe was detecting but all Memory locations are disabled & Interrupt line also no connection.

 

Now I want solution for

Even when I Power off or Power ON for Master FPGA at that time also PCIe should detect with memory locations status as enabled.

Please send me solution as early as possible.

 

Thanks & Regards

  Srilakshmi