Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - PCI Express: Page 1 of 5 (102 Items)
   
PCI Express  
we are using QNX 6.5.0.Is it support for PCI Express.If supports we need sample application code for PCI Express data 
transfer between applications.
Re: PCI Express  
Please can you be a bit more specific. What device are you trying to
access and what information do you need about data transfer? Are you
trying to access configuration space or device I/O space?

-- 
Hugh Brown
QNX Software Systems Limited
1001 Farrar Rd.,
Ottawa. ON. K2K 0B3.
Telephone: 613-591-0931







On 12-05-29 5:49 AM, "sri lakshmi" <community-noreply@qnx.com> wrote:

>we are using QNX 6.5.0.Is it support for PCI Express.If supports we need
>sample application code for PCI Express data transfer between
>applications.
>
>
>
>_______________________________________________
>
>General
>http://community.qnx.com/sf/go/post93328
>To cancel your subscription to this discussion, please e-mail
>general-community-unsubscribe@community.qnx.com

RE: PCI Express  
Actually in my project I need to transfer data from Intel Advantech board to
FPGA board through PCI Express. from FPGA board it transfers data to
different cards like card c, card D like that. Here I need to access
configuration space.

-----Original Message-----
From: Hugh Brown [mailto:community-noreply@qnx.com] 
Sent: Wednesday, May 30, 2012 6:07 PM
To: general-community@community.qnx.com
Subject: Re: PCI Express

Please can you be a bit more specific. What device are you trying to
access and what information do you need about data transfer? Are you
trying to access configuration space or device I/O space?

-- 
Hugh Brown
QNX Software Systems Limited
1001 Farrar Rd.,
Ottawa. ON. K2K 0B3.
Telephone: 613-591-0931







On 12-05-29 5:49 AM, "sri lakshmi" <community-noreply@qnx.com> wrote:

>we are using QNX 6.5.0.Is it support for PCI Express.If supports we need
>sample application code for PCI Express data transfer between
>applications.
>
>
>
>_______________________________________________
>
>General
>http://community.qnx.com/sf/go/post93328
>To cancel your subscription to this discussion, please e-mail
>general-community-unsubscribe@community.qnx.com





_______________________________________________

General
http://community.qnx.com/sf/go/post93370
To cancel your subscription to this discussion, please e-mail
general-community-unsubscribe@community.qnx.com


-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.2176 / Virus Database: 2425/5033 - Release Date: 05/30/12


Re: PCI Express  
Take a look at the pci_attach* and pci_read_config() functions in the help
files to see how to read configuration space and attach your application
to a device.

-- 
Hugh Brown
QNX Software Systems Limited
1001 Farrar Rd.,
Ottawa. ON. K2K 0B3.
Telephone: 613-591-0931







On 12-05-30 8:56 AM, "srilakshmi" <community-noreply@qnx.com> wrote:

>Actually in my project I need to transfer data from Intel Advantech board
>to
>FPGA board through PCI Express. from FPGA board it transfers data to
>different cards like card c, card D like that. Here I need to access
>configuration space.
>
>-----Original Message-----
>From: Hugh Brown [mailto:community-noreply@qnx.com]
>Sent: Wednesday, May 30, 2012 6:07 PM
>To: general-community@community.qnx.com
>Subject: Re: PCI Express
>
>Please can you be a bit more specific. What device are you trying to
>access and what information do you need about data transfer? Are you
>trying to access configuration space or device I/O space?
>
>-- 
>Hugh Brown
>QNX Software Systems Limited
>1001 Farrar Rd.,
>Ottawa. ON. K2K 0B3.
>Telephone: 613-591-0931
>
>
>
>
>
>
>
>On 12-05-29 5:49 AM, "sri lakshmi" <community-noreply@qnx.com> wrote:
>
>>we are using QNX 6.5.0.Is it support for PCI Express.If supports we need
>>sample application code for PCI Express data transfer between
>>applications.
>>
>>
>>
>>_______________________________________________
>>
>>General
>>http://community.qnx.com/sf/go/post93328
>>To cancel your subscription to this discussion, please e-mail
>>general-community-unsubscribe@community.qnx.com
>
>
>
>
>
>_______________________________________________
>
>General
>http://community.qnx.com/sf/go/post93370
>To cancel your subscription to this discussion, please e-mail
>general-community-unsubscribe@community.qnx.com
>
>
>-----
>No virus found in this message.
>Checked by AVG - www.avg.com
>Version: 2012.0.2176 / Virus Database: 2425/5033 - Release Date: 05/30/12
>
>
>
>
>
>
>_______________________________________________
>
>General
>http://community.qnx.com/sf/go/post93371
>To cancel your subscription to this discussion, please e-mail
>general-community-unsubscribe@community.qnx.com

RE: PCI Express  
I need sample c code for PCIe data transfer in QNX.

-----Original Message-----
From: Hugh Brown [mailto:community-noreply@qnx.com] 
Sent: Wednesday, May 30, 2012 6:38 PM
To: general-community@community.qnx.com
Subject: Re: PCI Express

Take a look at the pci_attach* and pci_read_config() functions in the help
files to see how to read configuration space and attach your application
to a device.

-- 
Hugh Brown
QNX Software Systems Limited
1001 Farrar Rd.,
Ottawa. ON. K2K 0B3.
Telephone: 613-591-0931







On 12-05-30 8:56 AM, "srilakshmi" <community-noreply@qnx.com> wrote:

>Actually in my project I need to transfer data from Intel Advantech board
>to
>FPGA board through PCI Express. from FPGA board it transfers data to
>different cards like card c, card D like that. Here I need to access
>configuration space.
>
>-----Original Message-----
>From: Hugh Brown [mailto:community-noreply@qnx.com]
>Sent: Wednesday, May 30, 2012 6:07 PM
>To: general-community@community.qnx.com
>Subject: Re: PCI Express
>
>Please can you be a bit more specific. What device are you trying to
>access and what information do you need about data transfer? Are you
>trying to access configuration space or device I/O space?
>
>-- 
>Hugh Brown
>QNX Software Systems Limited
>1001 Farrar Rd.,
>Ottawa. ON. K2K 0B3.
>Telephone: 613-591-0931
>
>
>
>
>
>
>
>On 12-05-29 5:49 AM, "sri lakshmi" <community-noreply@qnx.com> wrote:
>
>>we are using QNX 6.5.0.Is it support for PCI Express.If supports we need
>>sample application code for PCI Express data transfer between
>>applications.
>>
>>
>>
>>_______________________________________________
>>
>>General
>>http://community.qnx.com/sf/go/post93328
>>To cancel your subscription to this discussion, please e-mail
>>general-community-unsubscribe@community.qnx.com
>
>
>
>
>
>_______________________________________________
>
>General
>http://community.qnx.com/sf/go/post93370
>To cancel your subscription to this discussion, please e-mail
>general-community-unsubscribe@community.qnx.com
>
>
>-----
>No virus found in this message.
>Checked by AVG - www.avg.com
>Version: 2012.0.2176 / Virus Database: 2425/5033 - Release Date: 05/30/12
>
>
>
>
>
>
>_______________________________________________
>
>General
>http://community.qnx.com/sf/go/post93371
>To cancel your subscription to this discussion, please e-mail
>general-community-unsubscribe@community.qnx.com





_______________________________________________

General
http://community.qnx.com/sf/go/post93373
To cancel your subscription to this discussion, please e-mail
general-community-unsubscribe@community.qnx.com

-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.2176 / Virus Database: 2425/5034 - Release Date: 05/30/12

Re: PCI Express  
Here is some sample code to allow you to attach to a PCI device and read
the configuration space. You run the program as 'pci_att 0xVendor
0xDevice' where Vendor and Device are the vendor and device Ids of the
device you are concerned about.

-- 
Hugh Brown
QNX Software Systems Limited
1001 Farrar Rd.,
Ottawa. ON. K2K 0B3.
Telephone: 613-591-0931







On 12-06-01 2:07 AM, "srilakshmi" <community-noreply@qnx.com> wrote:

>I need sample c code for PCIe data transfer in QNX.
>
>-----Original Message-----
>From: Hugh Brown [mailto:community-noreply@qnx.com]
>Sent: Wednesday, May 30, 2012 6:38 PM
>To: general-community@community.qnx.com
>Subject: Re: PCI Express
>
>Take a look at the pci_attach* and pci_read_config() functions in the help
>files to see how to read configuration space and attach your application
>to a device.
>
>-- 
>Hugh Brown
>QNX Software Systems Limited
>1001 Farrar Rd.,
>Ottawa. ON. K2K 0B3.
>Telephone: 613-591-0931
>
>
>
>
>
>
>
>On 12-05-30 8:56 AM, "srilakshmi" <community-noreply@qnx.com> wrote:
>
>>Actually in my project I need to transfer data from Intel Advantech board
>>to
>>FPGA board through PCI Express. from FPGA board it transfers data to
>>different cards like card c, card D like that. Here I need to access
>>configuration space.
>>
>>-----Original Message-----
>>From: Hugh Brown [mailto:community-noreply@qnx.com]
>>Sent: Wednesday, May 30, 2012 6:07 PM
>>To: general-community@community.qnx.com
>>Subject: Re: PCI Express
>>
>>Please can you be a bit more specific. What device are you trying to
>>access and what information do you need about data transfer? Are you
>>trying to access configuration space or device I/O space?
>>
>>-- 
>>Hugh Brown
>>QNX Software Systems Limited
>>1001 Farrar Rd.,
>>Ottawa. ON. K2K 0B3.
>>Telephone: 613-591-0931
>>
>>
>>
>>
>>
>>
>>
>>On 12-05-29 5:49 AM, "sri lakshmi" <community-noreply@qnx.com> wrote:
>>
>>>we are using QNX 6.5.0.Is it support for PCI Express.If supports we need
>>>sample application code for PCI Express data transfer between
>>>applications.
>>>
>>>
>>>
>>>_______________________________________________
>>>
>>>General
>>>http://community.qnx.com/sf/go/post93328
>>>To cancel your subscription to this discussion, please e-mail
>>>general-community-unsubscribe@community.qnx.com
>>
>>
>>
>>
>>
>>_______________________________________________
>>
>>General
>>http://community.qnx.com/sf/go/post93370
>>To cancel your subscription to this discussion, please e-mail
>>general-community-unsubscribe@community.qnx.com
>>
>>
>>-----
>>No virus found in this message.
>>Checked by AVG - www.avg.com
>>Version: 2012.0.2176 / Virus Database: 2425/5033 - Release Date: 05/30/12
>>
>>
>>
>>
>>
>>
>>_______________________________________________
>>
>>General
>>http://community.qnx.com/sf/go/post93371
>>To cancel your subscription to this discussion, please e-mail
>>general-community-unsubscribe@community.qnx.com
>
>
>
>
>
>_______________________________________________
>
>General
>http://community.qnx.com/sf/go/post93373
>To cancel your subscription to this discussion, please e-mail
>general-community-unsubscribe@community.qnx.com
>
>-----
>No virus found in this message.
>Checked by AVG - www.avg.com
>Version: 2012.0.2176 / Virus...
Attachment: Text pci_att.c 3.02 KB
Re: PCI Express  
Hugh,

the flags PCI_USE_MSI and PCI_USE_MSIX are not documented.

What are their semantic?  Does it work with the current version of 
pci-bois-v2 ?

Best Regards

--Armin



Hugh Brown wrote:
> Here is some sample code to allow you to attach to a PCI device and read
> the configuration space. You run the program as 'pci_att 0xVendor
> 0xDevice' where Vendor and Device are the vendor and device Ids of the
> device you are concerned about.
>
Attachment: HTML sf-attachment-mime1942 892 bytes
Re: PCI Express  
These flags are to inform the pci-bios-v2 server to either use MSI or MSI-X interrupts rather than the default irqs. If 
a device can use both MSI and MSI-X interrupts and the MSI flag is specified, then only MSI interrupts will be allocated
.

Sent from Blackberry

From: Armin Steinhoff [mailto:community-noreply@qnx.com]
Sent: Friday, June 01, 2012 12:00 PM
To: general-community@community.qnx.com <general-community@community.qnx.com>
Cc: Info System - IS Notifications; Info System - IS Notifications
Subject: Re: PCI Express

Hugh,

the flags PCI_USE_MSI and PCI_USE_MSIX are not documented.

What are their semantic?  Does it work with the current version of pci-bois-v2 ?

Best Regards

--Armin



Hugh Brown wrote:

Here is some sample code to allow you to attach to a PCI device and read
the configuration space. You run the program as 'pci_att 0xVendor
0xDevice' where Vendor and Device are the vendor and device Ids of the
device you are concerned about.


Attachment: HTML sf-attachment-mime1947 1.73 KB
Re: PCI Express  
Hugh,

many thanks for the info. is there a way to use this flags for e.g. 
pci_find_device?

Regards

Armin


Hugh Brown wrote:
> These flags are to inform the pci-bios-v2 server to either use MSI or 
> MSI-X interrupts rather than the default irqs. If a device can use 
> both MSI and MSI-X interrupts and the MSI flag is specified, then only 
> MSI interrupts will be allocated.
>
> Sent from Blackberry
>
> *From*: Armin Steinhoff [mailto:community-noreply@qnx.com]
> *Sent*: Friday, June 01, 2012 12:00 PM
> *To*: general-community@community.qnx.com 
> <general-community@community.qnx.com>
> *Cc*: Info System - IS Notifications; Info System - IS Notifications
> *Subject*: Re: PCI Express
>
> Hugh,
>
> the flags PCI_USE_MSI and PCI_USE_MSIX are not documented.
>
> What are their semantic?  Does it work with the current version of 
> pci-bois-v2 ?
>
> Best Regards
>
> --Armin
>
>
>
> Hugh Brown wrote:
>> Here is some sample code to allow you to attach to a PCI device and read
>> the configuration space. You run the program as 'pci_att 0xVendor
>> 0xDevice' where Vendor and Device are the vendor and device Ids of the
>> device you are concerned about.
>>

Attachment: HTML sf-attachment-mime1963 2.71 KB
Re: PCI Express  
Armin,

No, the flags are only used in the pci_attach_device() function.

Hugh.

--
Hugh Brown
QNX Software Systems Limited
1001 Farrar Rd.,
Ottawa. ON. K2K 0B3.
Telephone: 613-591-0931



From: Armin Steinhoff <community-noreply@qnx.com<mailto:community-noreply@qnx.com>>;
Reply-To: "general-community@community.qnx.com<mailto:general-community@community.qnx.com>;" <general-community@
community.qnx.com<mailto:general-community@community.qnx.com>>;
Date: Saturday, 2 June, 2012 6:33 PM
To: "general-community@community.qnx.com<mailto:general-community@community.qnx.com>;" <general-community@community.
qnx.com<mailto:general-community@community.qnx.com>>;
Cc: Info System - IS Notifications <is-notifications@qnx.com<mailto:is-notifications@qnx.com>>, Info System - IS 
Notifications <is-notifications@qnx.com<mailto:is-notifications@qnx.com>>;
Subject: Re: PCI Express


Hugh,

many thanks for the info. is there a way to use this flags for e.g. pci_find_device?

Regards

Armin


Hugh Brown wrote:
These flags are to inform the pci-bios-v2 server to either use MSI or MSI-X interrupts rather than the default irqs. If 
a device can use both MSI and MSI-X interrupts and the MSI flag is specified, then only MSI interrupts will be allocated
.

Sent from Blackberry

From: Armin Steinhoff [mailto:community-noreply@qnx.com]
Sent: Friday, June 01, 2012 12:00 PM
To: general-community@community.qnx.com<mailto:general-community@community.qnx.com>; <general-community@community.qnx.
com><mailto:general-community@community.qnx.com>;
Cc: Info System - IS Notifications; Info System - IS Notifications
Subject: Re: PCI Express

Hugh,

the flags PCI_USE_MSI and PCI_USE_MSIX are not documented.

What are their semantic?  Does it work with the current version of pci-bois-v2 ?

Best Regards

--Armin



Hugh Brown wrote:

Here is some sample code to allow you to attach to a PCI device and read
the configuration space. You run the program as 'pci_att 0xVendor
0xDevice' where Vendor and Device are the vendor and device Ids of the
device you are concerned about.



Attachment: HTML sf-attachment-mime1966 4.43 KB
RE: PCI Express  
We are able to detect the device and read configuration space. when we are
sending data from Intel to FPGA board it is able to read 1 byte of data only
that means sending only one request. But in my project I need to transfer
some bytes of data from Intel board to FPGA board and able to receive data
from FPGA board to Intel board.

-----Original Message-----
From: Hugh Brown [mailto:community-noreply@qnx.com] 
Sent: Friday, June 01, 2012 6:22 PM
To: general-community@community.qnx.com
Subject: Re: PCI Express

Here is some sample code to allow you to attach to a PCI device and read the
configuration space. You run the program as 'pci_att 0xVendor 0xDevice'
where Vendor and Device are the vendor and device Ids of the device you are
concerned about.

--
Hugh Brown
QNX Software Systems Limited
1001 Farrar Rd.,
Ottawa. ON. K2K 0B3.
Telephone: 613-591-0931







On 12-06-01 2:07 AM, "srilakshmi" <community-noreply@qnx.com> wrote:

>I need sample c code for PCIe data transfer in QNX.
>
>-----Original Message-----
>From: Hugh Brown [mailto:community-noreply@qnx.com]
>Sent: Wednesday, May 30, 2012 6:38 PM
>To: general-community@community.qnx.com
>Subject: Re: PCI Express
>
>Take a look at the pci_attach* and pci_read_config() functions in the help
>files to see how to read configuration space and attach your application
>to a device.
>
>-- 
>Hugh Brown
>QNX Software Systems Limited
>1001 Farrar Rd.,
>Ottawa. ON. K2K 0B3.
>Telephone: 613-591-0931
>
>
>
>
>
>
>
>On 12-05-30 8:56 AM, "srilakshmi" <community-noreply@qnx.com> wrote:
>
>>Actually in my project I need to transfer data from Intel Advantech board
>>to
>>FPGA board through PCI Express. from FPGA board it transfers data to
>>different cards like card c, card D like that. Here I need to access
>>configuration space.
>>
>>-----Original Message-----
>>From: Hugh Brown [mailto:community-noreply@qnx.com]
>>Sent: Wednesday, May 30, 2012 6:07 PM
>>To: general-community@community.qnx.com
>>Subject: Re: PCI Express
>>
>>Please can you be a bit more specific. What device are you trying to
>>access and what information do you need about data transfer? Are you
>>trying to access configuration space or device I/O space?
>>
>>-- 
>>Hugh Brown
>>QNX Software Systems Limited
>>1001 Farrar Rd.,
>>Ottawa. ON. K2K 0B3.
>>Telephone: 613-591-0931
>>
>>
>>
>>
>>
>>
>>
>>On 12-05-29 5:49 AM, "sri lakshmi" <community-noreply@qnx.com> wrote:
>>
>>>we are using QNX 6.5.0.Is it support for PCI Express.If supports we need
>>>sample application code for PCI Express data transfer between
>>>applications.
>>>
>>>
>>>
>>>_______________________________________________
>>>
>>>General
>>>http://community.qnx.com/sf/go/post93328
>>>To cancel your subscription to this discussion, please e-mail
>>>general-community-unsubscribe@community.qnx.com
>>
>>
>>
>>
>>
>>_______________________________________________
>>
>>General
>>http://community.qnx.com/sf/go/post93370
>>To cancel your subscription to this discussion, please e-mail
>>general-community-unsubscribe@community.qnx.com
>>
>>
>>-----
>>No virus found in this message.
>>Checked by AVG - www.avg.com
>>Version: 2012.0.2176 / Virus Database: 2425/5033 - Release Date:...
View Full Message
Re: PCI Express  
I have no idea how your FPGA works, so am unable to help you with data
transfer.

-- 
Hugh Brown
QNX Software Systems Limited
1001 Farrar Rd.,
Ottawa. ON. K2K 0B3.
Telephone: 613-591-0931







On 12-06-02 1:19 AM, "srilakshmi" <community-noreply@qnx.com> wrote:

>We are able to detect the device and read configuration space. when we are
>sending data from Intel to FPGA board it is able to read 1 byte of data
>only
>that means sending only one request. But in my project I need to transfer
>some bytes of data from Intel board to FPGA board and able to receive data
>from FPGA board to Intel board.
>
>-----Original Message-----
>From: Hugh Brown [mailto:community-noreply@qnx.com]
>Sent: Friday, June 01, 2012 6:22 PM
>To: general-community@community.qnx.com
>Subject: Re: PCI Express
>
>Here is some sample code to allow you to attach to a PCI device and read
>the
>configuration space. You run the program as 'pci_att 0xVendor 0xDevice'
>where Vendor and Device are the vendor and device Ids of the device you
>are
>concerned about.
>
>--
>Hugh Brown
>QNX Software Systems Limited
>1001 Farrar Rd.,
>Ottawa. ON. K2K 0B3.
>Telephone: 613-591-0931
>
>
>
>
>
>
>
>On 12-06-01 2:07 AM, "srilakshmi" <community-noreply@qnx.com> wrote:
>
>>I need sample c code for PCIe data transfer in QNX.
>>
>>-----Original Message-----
>>From: Hugh Brown [mailto:community-noreply@qnx.com]
>>Sent: Wednesday, May 30, 2012 6:38 PM
>>To: general-community@community.qnx.com
>>Subject: Re: PCI Express
>>
>>Take a look at the pci_attach* and pci_read_config() functions in the
>>help
>>files to see how to read configuration space and attach your application
>>to a device.
>>
>>-- 
>>Hugh Brown
>>QNX Software Systems Limited
>>1001 Farrar Rd.,
>>Ottawa. ON. K2K 0B3.
>>Telephone: 613-591-0931
>>
>>
>>
>>
>>
>>
>>
>>On 12-05-30 8:56 AM, "srilakshmi" <community-noreply@qnx.com> wrote:
>>
>>>Actually in my project I need to transfer data from Intel Advantech
>>>board
>>>to
>>>FPGA board through PCI Express. from FPGA board it transfers data to
>>>different cards like card c, card D like that. Here I need to access
>>>configuration space.
>>>
>>>-----Original Message-----
>>>From: Hugh Brown [mailto:community-noreply@qnx.com]
>>>Sent: Wednesday, May 30, 2012 6:07 PM
>>>To: general-community@community.qnx.com
>>>Subject: Re: PCI Express
>>>
>>>Please can you be a bit more specific. What device are you trying to
>>>access and what information do you need about data transfer? Are you
>>>trying to access configuration space or device I/O space?
>>>
>>>-- 
>>>Hugh Brown
>>>QNX Software Systems Limited
>>>1001 Farrar Rd.,
>>>Ottawa. ON. K2K 0B3.
>>>Telephone: 613-591-0931
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>On 12-05-29 5:49 AM, "sri lakshmi" <community-noreply@qnx.com> wrote:
>>>
>>>>we are using QNX 6.5.0.Is it support for PCI Express.If supports we
>>>>need
>>>>sample application code for PCI Express data transfer between
>>>>applications.
>>>>
>>>>
>>>>
>>>>_______________________________________________
>>>>
>>>>General
>>>>http://community.qnx.com/sf/go/post93328
>>>>To cancel your subscription to this discussion, please...
View Full Message
RE: PCI Express  
Hugh Brown,
  I need help regarding when request is sending from FPGA to INTEL board how
INTEL Board recognize that Request? Is their any functions and commands in
QNX?


Srilakshmi

-----Original Message-----
From: Hugh Brown [mailto:community-noreply@qnx.com] 
Sent: Sunday, June 03, 2012 5:21 PM
To: general-community@community.qnx.com
Subject: Re: PCI Express

I have no idea how your FPGA works, so am unable to help you with data
transfer.

-- 
Hugh Brown
QNX Software Systems Limited
1001 Farrar Rd.,
Ottawa. ON. K2K 0B3.
Telephone: 613-591-0931







On 12-06-02 1:19 AM, "srilakshmi" <community-noreply@qnx.com> wrote:

>We are able to detect the device and read configuration space. when we are
>sending data from Intel to FPGA board it is able to read 1 byte of data
>only
>that means sending only one request. But in my project I need to transfer
>some bytes of data from Intel board to FPGA board and able to receive data
>from FPGA board to Intel board.
>
>-----Original Message-----
>From: Hugh Brown [mailto:community-noreply@qnx.com]
>Sent: Friday, June 01, 2012 6:22 PM
>To: general-community@community.qnx.com
>Subject: Re: PCI Express
>
>Here is some sample code to allow you to attach to a PCI device and read
>the
>configuration space. You run the program as 'pci_att 0xVendor 0xDevice'
>where Vendor and Device are the vendor and device Ids of the device you
>are
>concerned about.
>
>--
>Hugh Brown
>QNX Software Systems Limited
>1001 Farrar Rd.,
>Ottawa. ON. K2K 0B3.
>Telephone: 613-591-0931
>
>
>
>
>
>
>
>On 12-06-01 2:07 AM, "srilakshmi" <community-noreply@qnx.com> wrote:
>
>>I need sample c code for PCIe data transfer in QNX.
>>
>>-----Original Message-----
>>From: Hugh Brown [mailto:community-noreply@qnx.com]
>>Sent: Wednesday, May 30, 2012 6:38 PM
>>To: general-community@community.qnx.com
>>Subject: Re: PCI Express
>>
>>Take a look at the pci_attach* and pci_read_config() functions in the
>>help
>>files to see how to read configuration space and attach your application
>>to a device.
>>
>>-- 
>>Hugh Brown
>>QNX Software Systems Limited
>>1001 Farrar Rd.,
>>Ottawa. ON. K2K 0B3.
>>Telephone: 613-591-0931
>>
>>
>>
>>
>>
>>
>>
>>On 12-05-30 8:56 AM, "srilakshmi" <community-noreply@qnx.com> wrote:
>>
>>>Actually in my project I need to transfer data from Intel Advantech
>>>board
>>>to
>>>FPGA board through PCI Express. from FPGA board it transfers data to
>>>different cards like card c, card D like that. Here I need to access
>>>configuration space.
>>>
>>>-----Original Message-----
>>>From: Hugh Brown [mailto:community-noreply@qnx.com]
>>>Sent: Wednesday, May 30, 2012 6:07 PM
>>>To: general-community@community.qnx.com
>>>Subject: Re: PCI Express
>>>
>>>Please can you be a bit more specific. What device are you trying to
>>>access and what information do you need about data transfer? Are you
>>>trying to access configuration space or device I/O space?
>>>
>>>-- 
>>>Hugh Brown
>>>QNX Software Systems Limited
>>>1001 Farrar Rd.,
>>>Ottawa. ON. K2K 0B3.
>>>Telephone: 613-591-0931
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>On 12-05-29 5:49 AM, "sri lakshmi" <community-noreply@qnx.com> wrote:
>>>
>>>>we are using QNX 6.5.0.Is it support for PCI Express.If supports we
>>>>need
>>>>sample application code...
View Full Message
Re: PCI Express  
If your FPGA supports bus mastering, then all you need to do is setup the
physical address of the memory buffer in the FPGA and the FPGA will bus
master to/from this address.

-- 
Hugh Brown
QNX Software Systems Limited
1001 Farrar Rd.,
Ottawa. ON. K2K 0B3.
Telephone: 613-591-0931







On 12-06-04 12:17 AM, "srilakshmi" <community-noreply@qnx.com> wrote:

>Hugh Brown,
>  I need help regarding when request is sending from FPGA to INTEL board
>how
>INTEL Board recognize that Request? Is their any functions and commands in
>QNX?
>
>
>Srilakshmi
>
>-----Original Message-----
>From: Hugh Brown [mailto:community-noreply@qnx.com]
>Sent: Sunday, June 03, 2012 5:21 PM
>To: general-community@community.qnx.com
>Subject: Re: PCI Express
>
>I have no idea how your FPGA works, so am unable to help you with data
>transfer.
>
>-- 
>Hugh Brown
>QNX Software Systems Limited
>1001 Farrar Rd.,
>Ottawa. ON. K2K 0B3.
>Telephone: 613-591-0931
>
>
>
>
>
>
>
>On 12-06-02 1:19 AM, "srilakshmi" <community-noreply@qnx.com> wrote:
>
>>We are able to detect the device and read configuration space. when we
>>are
>>sending data from Intel to FPGA board it is able to read 1 byte of data
>>only
>>that means sending only one request. But in my project I need to transfer
>>some bytes of data from Intel board to FPGA board and able to receive
>>data
>>from FPGA board to Intel board.
>>
>>-----Original Message-----
>>From: Hugh Brown [mailto:community-noreply@qnx.com]
>>Sent: Friday, June 01, 2012 6:22 PM
>>To: general-community@community.qnx.com
>>Subject: Re: PCI Express
>>
>>Here is some sample code to allow you to attach to a PCI device and read
>>the
>>configuration space. You run the program as 'pci_att 0xVendor 0xDevice'
>>where Vendor and Device are the vendor and device Ids of the device you
>>are
>>concerned about.
>>
>>--
>>Hugh Brown
>>QNX Software Systems Limited
>>1001 Farrar Rd.,
>>Ottawa. ON. K2K 0B3.
>>Telephone: 613-591-0931
>>
>>
>>
>>
>>
>>
>>
>>On 12-06-01 2:07 AM, "srilakshmi" <community-noreply@qnx.com> wrote:
>>
>>>I need sample c code for PCIe data transfer in QNX.
>>>
>>>-----Original Message-----
>>>From: Hugh Brown [mailto:community-noreply@qnx.com]
>>>Sent: Wednesday, May 30, 2012 6:38 PM
>>>To: general-community@community.qnx.com
>>>Subject: Re: PCI Express
>>>
>>>Take a look at the pci_attach* and pci_read_config() functions in the
>>>help
>>>files to see how to read configuration space and attach your application
>>>to a device.
>>>
>>>-- 
>>>Hugh Brown
>>>QNX Software Systems Limited
>>>1001 Farrar Rd.,
>>>Ottawa. ON. K2K 0B3.
>>>Telephone: 613-591-0931
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>On 12-05-30 8:56 AM, "srilakshmi" <community-noreply@qnx.com> wrote:
>>>
>>>>Actually in my project I need to transfer data from Intel Advantech
>>>>board
>>>>to
>>>>FPGA board through PCI Express. from FPGA board it transfers data to
>>>>different cards like card c, card D like that. Here I need to access
>>>>configuration space.
>>>>
>>>>-----Original Message-----
>>>>From: Hugh Brown [mailto:community-noreply@qnx.com]
>>>>Sent: Wednesday, May 30, 2012 6:07 PM
>>>>To:...
View Full Message
RE: PCI Express  
Hi Hugh Brown,
  we are able to read 1byte of data at FPGA side. now We need to transfer
bulk of data from INTEL board to FPGA through PCI Express.

Thanks & Regards
  Srilakshmi

-----Original Message-----
From: Hugh Brown [mailto:community-noreply@qnx.com] 
Sent: Sunday, June 03, 2012 5:21 PM
To: general-community@community.qnx.com
Subject: Re: PCI Express

I have no idea how your FPGA works, so am unable to help you with data
transfer.

-- 
Hugh Brown
QNX Software Systems Limited
1001 Farrar Rd.,
Ottawa. ON. K2K 0B3.
Telephone: 613-591-0931







On 12-06-02 1:19 AM, "srilakshmi" <community-noreply@qnx.com> wrote:

>We are able to detect the device and read configuration space. when we are
>sending data from Intel to FPGA board it is able to read 1 byte of data
>only
>that means sending only one request. But in my project I need to transfer
>some bytes of data from Intel board to FPGA board and able to receive data
>from FPGA board to Intel board.
>
>-----Original Message-----
>From: Hugh Brown [mailto:community-noreply@qnx.com]
>Sent: Friday, June 01, 2012 6:22 PM
>To: general-community@community.qnx.com
>Subject: Re: PCI Express
>
>Here is some sample code to allow you to attach to a PCI device and read
>the
>configuration space. You run the program as 'pci_att 0xVendor 0xDevice'
>where Vendor and Device are the vendor and device Ids of the device you
>are
>concerned about.
>
>--
>Hugh Brown
>QNX Software Systems Limited
>1001 Farrar Rd.,
>Ottawa. ON. K2K 0B3.
>Telephone: 613-591-0931
>
>
>
>
>
>
>
>On 12-06-01 2:07 AM, "srilakshmi" <community-noreply@qnx.com> wrote:
>
>>I need sample c code for PCIe data transfer in QNX.
>>
>>-----Original Message-----
>>From: Hugh Brown [mailto:community-noreply@qnx.com]
>>Sent: Wednesday, May 30, 2012 6:38 PM
>>To: general-community@community.qnx.com
>>Subject: Re: PCI Express
>>
>>Take a look at the pci_attach* and pci_read_config() functions in the
>>help
>>files to see how to read configuration space and attach your application
>>to a device.
>>
>>-- 
>>Hugh Brown
>>QNX Software Systems Limited
>>1001 Farrar Rd.,
>>Ottawa. ON. K2K 0B3.
>>Telephone: 613-591-0931
>>
>>
>>
>>
>>
>>
>>
>>On 12-05-30 8:56 AM, "srilakshmi" <community-noreply@qnx.com> wrote:
>>
>>>Actually in my project I need to transfer data from Intel Advantech
>>>board
>>>to
>>>FPGA board through PCI Express. from FPGA board it transfers data to
>>>different cards like card c, card D like that. Here I need to access
>>>configuration space.
>>>
>>>-----Original Message-----
>>>From: Hugh Brown [mailto:community-noreply@qnx.com]
>>>Sent: Wednesday, May 30, 2012 6:07 PM
>>>To: general-community@community.qnx.com
>>>Subject: Re: PCI Express
>>>
>>>Please can you be a bit more specific. What device are you trying to
>>>access and what information do you need about data transfer? Are you
>>>trying to access configuration space or device I/O space?
>>>
>>>-- 
>>>Hugh Brown
>>>QNX Software Systems Limited
>>>1001 Farrar Rd.,
>>>Ottawa. ON. K2K 0B3.
>>>Telephone: 613-591-0931
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>On 12-05-29 5:49 AM, "sri lakshmi" <community-noreply@qnx.com> wrote:
>>>
>>>>we are using QNX 6.5.0.Is it support for PCI Express.If supports we
>>>>need
>>>>sample application code for...
View Full Message
Re: PCI Express  
As I have said before, I don't know how your FPGA works, so you will have
to contact whoever designed your FPGA.

-- 
Hugh Brown
QNX Software Systems Limited
1001 Farrar Rd.,
Ottawa. ON. K2K 0B3.
Telephone: 613-591-0931







On 12-06-05 6:44 AM, "srilakshmi" <community-noreply@qnx.com> wrote:

>Hi Hugh Brown,
>  we are able to read 1byte of data at FPGA side. now We need to transfer
>bulk of data from INTEL board to FPGA through PCI Express.
>
>Thanks & Regards
>  Srilakshmi
>
>-----Original Message-----
>From: Hugh Brown [mailto:community-noreply@qnx.com]
>Sent: Sunday, June 03, 2012 5:21 PM
>To: general-community@community.qnx.com
>Subject: Re: PCI Express
>
>I have no idea how your FPGA works, so am unable to help you with data
>transfer.
>
>-- 
>Hugh Brown
>QNX Software Systems Limited
>1001 Farrar Rd.,
>Ottawa. ON. K2K 0B3.
>Telephone: 613-591-0931
>
>
>
>
>
>
>
>On 12-06-02 1:19 AM, "srilakshmi" <community-noreply@qnx.com> wrote:
>
>>We are able to detect the device and read configuration space. when we
>>are
>>sending data from Intel to FPGA board it is able to read 1 byte of data
>>only
>>that means sending only one request. But in my project I need to transfer
>>some bytes of data from Intel board to FPGA board and able to receive
>>data
>>from FPGA board to Intel board.
>>
>>-----Original Message-----
>>From: Hugh Brown [mailto:community-noreply@qnx.com]
>>Sent: Friday, June 01, 2012 6:22 PM
>>To: general-community@community.qnx.com
>>Subject: Re: PCI Express
>>
>>Here is some sample code to allow you to attach to a PCI device and read
>>the
>>configuration space. You run the program as 'pci_att 0xVendor 0xDevice'
>>where Vendor and Device are the vendor and device Ids of the device you
>>are
>>concerned about.
>>
>>--
>>Hugh Brown
>>QNX Software Systems Limited
>>1001 Farrar Rd.,
>>Ottawa. ON. K2K 0B3.
>>Telephone: 613-591-0931
>>
>>
>>
>>
>>
>>
>>
>>On 12-06-01 2:07 AM, "srilakshmi" <community-noreply@qnx.com> wrote:
>>
>>>I need sample c code for PCIe data transfer in QNX.
>>>
>>>-----Original Message-----
>>>From: Hugh Brown [mailto:community-noreply@qnx.com]
>>>Sent: Wednesday, May 30, 2012 6:38 PM
>>>To: general-community@community.qnx.com
>>>Subject: Re: PCI Express
>>>
>>>Take a look at the pci_attach* and pci_read_config() functions in the
>>>help
>>>files to see how to read configuration space and attach your application
>>>to a device.
>>>
>>>-- 
>>>Hugh Brown
>>>QNX Software Systems Limited
>>>1001 Farrar Rd.,
>>>Ottawa. ON. K2K 0B3.
>>>Telephone: 613-591-0931
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>On 12-05-30 8:56 AM, "srilakshmi" <community-noreply@qnx.com> wrote:
>>>
>>>>Actually in my project I need to transfer data from Intel Advantech
>>>>board
>>>>to
>>>>FPGA board through PCI Express. from FPGA board it transfers data to
>>>>different cards like card c, card D like that. Here I need to access
>>>>configuration space.
>>>>
>>>>-----Original Message-----
>>>>From: Hugh Brown [mailto:community-noreply@qnx.com]
>>>>Sent: Wednesday, May 30, 2012 6:07 PM
>>>>To: general-community@community.qnx.com
>>>>Subject: Re: PCI...
View Full Message
RE: PCI Express  
We are able to transfer TLP with 1byte of data for Memory write transaction.
You please help me to send more bytes of data through PCI express from Intel
to FPGA.

Thanks & Regards
  Srilakshmi

-----Original Message-----
From: Hugh Brown [mailto:community-noreply@qnx.com] 
Sent: Tuesday, June 05, 2012 5:06 PM
To: general-community@community.qnx.com
Subject: Re: PCI Express

As I have said before, I don't know how your FPGA works, so you will have
to contact whoever designed your FPGA.

-- 
Hugh Brown
QNX Software Systems Limited
1001 Farrar Rd.,
Ottawa. ON. K2K 0B3.
Telephone: 613-591-0931







On 12-06-05 6:44 AM, "srilakshmi" <community-noreply@qnx.com> wrote:

>Hi Hugh Brown,
>  we are able to read 1byte of data at FPGA side. now We need to transfer
>bulk of data from INTEL board to FPGA through PCI Express.
>
>Thanks & Regards
>  Srilakshmi
>
>-----Original Message-----
>From: Hugh Brown [mailto:community-noreply@qnx.com]
>Sent: Sunday, June 03, 2012 5:21 PM
>To: general-community@community.qnx.com
>Subject: Re: PCI Express
>
>I have no idea how your FPGA works, so am unable to help you with data
>transfer.
>
>-- 
>Hugh Brown
>QNX Software Systems Limited
>1001 Farrar Rd.,
>Ottawa. ON. K2K 0B3.
>Telephone: 613-591-0931
>
>
>
>
>
>
>
>On 12-06-02 1:19 AM, "srilakshmi" <community-noreply@qnx.com> wrote:
>
>>We are able to detect the device and read configuration space. when we
>>are
>>sending data from Intel to FPGA board it is able to read 1 byte of data
>>only
>>that means sending only one request. But in my project I need to transfer
>>some bytes of data from Intel board to FPGA board and able to receive
>>data
>>from FPGA board to Intel board.
>>
>>-----Original Message-----
>>From: Hugh Brown [mailto:community-noreply@qnx.com]
>>Sent: Friday, June 01, 2012 6:22 PM
>>To: general-community@community.qnx.com
>>Subject: Re: PCI Express
>>
>>Here is some sample code to allow you to attach to a PCI device and read
>>the
>>configuration space. You run the program as 'pci_att 0xVendor 0xDevice'
>>where Vendor and Device are the vendor and device Ids of the device you
>>are
>>concerned about.
>>
>>--
>>Hugh Brown
>>QNX Software Systems Limited
>>1001 Farrar Rd.,
>>Ottawa. ON. K2K 0B3.
>>Telephone: 613-591-0931
>>
>>
>>
>>
>>
>>
>>
>>On 12-06-01 2:07 AM, "srilakshmi" <community-noreply@qnx.com> wrote:
>>
>>>I need sample c code for PCIe data transfer in QNX.
>>>
>>>-----Original Message-----
>>>From: Hugh Brown [mailto:community-noreply@qnx.com]
>>>Sent: Wednesday, May 30, 2012 6:38 PM
>>>To: general-community@community.qnx.com
>>>Subject: Re: PCI Express
>>>
>>>Take a look at the pci_attach* and pci_read_config() functions in the
>>>help
>>>files to see how to read configuration space and attach your application
>>>to a device.
>>>
>>>-- 
>>>Hugh Brown
>>>QNX Software Systems Limited
>>>1001 Farrar Rd.,
>>>Ottawa. ON. K2K 0B3.
>>>Telephone: 613-591-0931
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>On 12-05-30 8:56 AM, "srilakshmi" <community-noreply@qnx.com> wrote:
>>>
>>>>Actually in my project I need to transfer data from Intel Advantech
>>>>board
>>>>to
>>>>FPGA board through PCI Express. from FPGA board it transfers data to
>>>>different cards like card c, card D like...
View Full Message
Re: PCI Express  
How can we help you when we don't even know how your FPGA works?

-- 
Hugh Brown
QNX Software Systems Limited
1001 Farrar Rd.,
Ottawa. ON. K2K 0B3.
Telephone: 613-591-0931







On 12-06-14 2:13 AM, "srilakshmi" <community-noreply@qnx.com> wrote:

>We are able to transfer TLP with 1byte of data for Memory write
>transaction.
>You please help me to send more bytes of data through PCI express from
>Intel
>to FPGA.
>
>Thanks & Regards
>  Srilakshmi
>
>-----Original Message-----
>From: Hugh Brown [mailto:community-noreply@qnx.com]
>Sent: Tuesday, June 05, 2012 5:06 PM
>To: general-community@community.qnx.com
>Subject: Re: PCI Express
>
>As I have said before, I don't know how your FPGA works, so you will have
>to contact whoever designed your FPGA.
>
>-- 
>Hugh Brown
>QNX Software Systems Limited
>1001 Farrar Rd.,
>Ottawa. ON. K2K 0B3.
>Telephone: 613-591-0931
>
>
>
>
>
>
>
>On 12-06-05 6:44 AM, "srilakshmi" <community-noreply@qnx.com> wrote:
>
>>Hi Hugh Brown,
>>  we are able to read 1byte of data at FPGA side. now We need to transfer
>>bulk of data from INTEL board to FPGA through PCI Express.
>>
>>Thanks & Regards
>>  Srilakshmi
>>
>>-----Original Message-----
>>From: Hugh Brown [mailto:community-noreply@qnx.com]
>>Sent: Sunday, June 03, 2012 5:21 PM
>>To: general-community@community.qnx.com
>>Subject: Re: PCI Express
>>
>>I have no idea how your FPGA works, so am unable to help you with data
>>transfer.
>>
>>-- 
>>Hugh Brown
>>QNX Software Systems Limited
>>1001 Farrar Rd.,
>>Ottawa. ON. K2K 0B3.
>>Telephone: 613-591-0931
>>
>>
>>
>>
>>
>>
>>
>>On 12-06-02 1:19 AM, "srilakshmi" <community-noreply@qnx.com> wrote:
>>
>>>We are able to detect the device and read configuration space. when we
>>>are
>>>sending data from Intel to FPGA board it is able to read 1 byte of data
>>>only
>>>that means sending only one request. But in my project I need to
>>>transfer
>>>some bytes of data from Intel board to FPGA board and able to receive
>>>data
>>>from FPGA board to Intel board.
>>>
>>>-----Original Message-----
>>>From: Hugh Brown [mailto:community-noreply@qnx.com]
>>>Sent: Friday, June 01, 2012 6:22 PM
>>>To: general-community@community.qnx.com
>>>Subject: Re: PCI Express
>>>
>>>Here is some sample code to allow you to attach to a PCI device and read
>>>the
>>>configuration space. You run the program as 'pci_att 0xVendor 0xDevice'
>>>where Vendor and Device are the vendor and device Ids of the device you
>>>are
>>>concerned about.
>>>
>>>--
>>>Hugh Brown
>>>QNX Software Systems Limited
>>>1001 Farrar Rd.,
>>>Ottawa. ON. K2K 0B3.
>>>Telephone: 613-591-0931
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>On 12-06-01 2:07 AM, "srilakshmi" <community-noreply@qnx.com> wrote:
>>>
>>>>I need sample c code for PCIe data transfer in QNX.
>>>>
>>>>-----Original Message-----
>>>>From: Hugh Brown [mailto:community-noreply@qnx.com]
>>>>Sent: Wednesday, May 30, 2012 6:38 PM
>>>>To: general-community@community.qnx.com
>>>>Subject: Re: PCI Express
>>>>
>>>>Take a look at the pci_attach* and pci_read_config() functions in the
>>>>help
>>>>files to see how to read...
View Full Message
RE: PCI Express  
Hi,
 I need to send 4kbytes of data with single packet. On FPGA side we checking
packets and data length through Chip scope. Now we are able to send 1byte of
data with each packet.
To send 4k bytes of data with one packet I need to know DMA transaction for
pci in QNX.
Please provide me any document regarding this.

Thanks & Regards
 Srilakshmi

-----Original Message-----
From: Hugh Brown [mailto:community-noreply@qnx.com] 
Sent: Thursday, June 14, 2012 6:45 PM
To: general-community@community.qnx.com
Subject: Re: PCI Express

How can we help you when we don't even know how your FPGA works?

-- 
Hugh Brown
QNX Software Systems Limited
1001 Farrar Rd.,
Ottawa. ON. K2K 0B3.
Telephone: 613-591-0931







On 12-06-14 2:13 AM, "srilakshmi" <community-noreply@qnx.com> wrote:

>We are able to transfer TLP with 1byte of data for Memory write
>transaction.
>You please help me to send more bytes of data through PCI express from
>Intel
>to FPGA.
>
>Thanks & Regards
>  Srilakshmi
>
>-----Original Message-----
>From: Hugh Brown [mailto:community-noreply@qnx.com]
>Sent: Tuesday, June 05, 2012 5:06 PM
>To: general-community@community.qnx.com
>Subject: Re: PCI Express
>
>As I have said before, I don't know how your FPGA works, so you will have
>to contact whoever designed your FPGA.
>
>-- 
>Hugh Brown
>QNX Software Systems Limited
>1001 Farrar Rd.,
>Ottawa. ON. K2K 0B3.
>Telephone: 613-591-0931
>
>
>
>
>
>
>
>On 12-06-05 6:44 AM, "srilakshmi" <community-noreply@qnx.com> wrote:
>
>>Hi Hugh Brown,
>>  we are able to read 1byte of data at FPGA side. now We need to transfer
>>bulk of data from INTEL board to FPGA through PCI Express.
>>
>>Thanks & Regards
>>  Srilakshmi
>>
>>-----Original Message-----
>>From: Hugh Brown [mailto:community-noreply@qnx.com]
>>Sent: Sunday, June 03, 2012 5:21 PM
>>To: general-community@community.qnx.com
>>Subject: Re: PCI Express
>>
>>I have no idea how your FPGA works, so am unable to help you with data
>>transfer.
>>
>>-- 
>>Hugh Brown
>>QNX Software Systems Limited
>>1001 Farrar Rd.,
>>Ottawa. ON. K2K 0B3.
>>Telephone: 613-591-0931
>>
>>
>>
>>
>>
>>
>>
>>On 12-06-02 1:19 AM, "srilakshmi" <community-noreply@qnx.com> wrote:
>>
>>>We are able to detect the device and read configuration space. when we
>>>are
>>>sending data from Intel to FPGA board it is able to read 1 byte of data
>>>only
>>>that means sending only one request. But in my project I need to
>>>transfer
>>>some bytes of data from Intel board to FPGA board and able to receive
>>>data
>>>from FPGA board to Intel board.
>>>
>>>-----Original Message-----
>>>From: Hugh Brown [mailto:community-noreply@qnx.com]
>>>Sent: Friday, June 01, 2012 6:22 PM
>>>To: general-community@community.qnx.com
>>>Subject: Re: PCI Express
>>>
>>>Here is some sample code to allow you to attach to a PCI device and read
>>>the
>>>configuration space. You run the program as 'pci_att 0xVendor 0xDevice'
>>>where Vendor and Device are the vendor and device Ids of the device you
>>>are
>>>concerned about.
>>>
>>>--
>>>Hugh Brown
>>>QNX Software Systems Limited
>>>1001 Farrar Rd.,
>>>Ottawa. ON. K2K 0B3.
>>>Telephone: 613-591-0931
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>On 12-06-01 2:07 AM, "srilakshmi" <community-noreply@qnx.com>...
View Full Message
Re: PCI Express  
Srilakshmi,

is the PCIexpress interface realized as a core of the FPGA ?
If yes, do you have the VHDL code of that core?
Or is the PCI interface based on one of these standard chips ? (PLX xxx 
a.s.o)
Could you post the output of "pci -vvv" ?

What is the functionalty of your board ?

--Armin

http://www.steinhoff-automation.com


srilakshmi wrote:
> Hi,
>   I need to send 4kbytes of data with single packet. On FPGA side we checking
> packets and data length through Chip scope. Now we are able to send 1byte of
> data with each packet.
> To send 4k bytes of data with one packet I need to know DMA transaction for
> pci in QNX.
> Please provide me any document regarding this.
>
> Thanks&  Regards
>   Srilakshmi
>
> -----Original Message-----
> From: Hugh Brown [mailto:community-noreply@qnx.com]
> Sent: Thursday, June 14, 2012 6:45 PM
> To: general-community@community.qnx.com
> Subject: Re: PCI Express
>
> How can we help you when we don't even know how your FPGA works?
>

RE: PCI Express  
Hi Hugh Brown,
  I don't know FPGA side work. Another person is doing that part.
When I am executing PCI code on QNX RTOS they checking at FPGA chip scope
how many packets they are getting and each packet carrying how much of data
all those things they are checking. Is their any document regarding this
please send me.

Thanks & Regards
 Srilakshmi
-----Original Message-----
From: Hugh Brown [mailto:community-noreply@qnx.com] 
Sent: Thursday, June 14, 2012 6:45 PM
To: general-community@community.qnx.com
Subject: Re: PCI Express

How can we help you when we don't even know how your FPGA works?

-- 
Hugh Brown
QNX Software Systems Limited
1001 Farrar Rd.,
Ottawa. ON. K2K 0B3.
Telephone: 613-591-0931







On 12-06-14 2:13 AM, "srilakshmi" <community-noreply@qnx.com> wrote:

>We are able to transfer TLP with 1byte of data for Memory write
>transaction.
>You please help me to send more bytes of data through PCI express from
>Intel
>to FPGA.
>
>Thanks & Regards
>  Srilakshmi
>
>-----Original Message-----
>From: Hugh Brown [mailto:community-noreply@qnx.com]
>Sent: Tuesday, June 05, 2012 5:06 PM
>To: general-community@community.qnx.com
>Subject: Re: PCI Express
>
>As I have said before, I don't know how your FPGA works, so you will have
>to contact whoever designed your FPGA.
>
>-- 
>Hugh Brown
>QNX Software Systems Limited
>1001 Farrar Rd.,
>Ottawa. ON. K2K 0B3.
>Telephone: 613-591-0931
>
>
>
>
>
>
>
>On 12-06-05 6:44 AM, "srilakshmi" <community-noreply@qnx.com> wrote:
>
>>Hi Hugh Brown,
>>  we are able to read 1byte of data at FPGA side. now We need to transfer
>>bulk of data from INTEL board to FPGA through PCI Express.
>>
>>Thanks & Regards
>>  Srilakshmi
>>
>>-----Original Message-----
>>From: Hugh Brown [mailto:community-noreply@qnx.com]
>>Sent: Sunday, June 03, 2012 5:21 PM
>>To: general-community@community.qnx.com
>>Subject: Re: PCI Express
>>
>>I have no idea how your FPGA works, so am unable to help you with data
>>transfer.
>>
>>-- 
>>Hugh Brown
>>QNX Software Systems Limited
>>1001 Farrar Rd.,
>>Ottawa. ON. K2K 0B3.
>>Telephone: 613-591-0931
>>
>>
>>
>>
>>
>>
>>
>>On 12-06-02 1:19 AM, "srilakshmi" <community-noreply@qnx.com> wrote:
>>
>>>We are able to detect the device and read configuration space. when we
>>>are
>>>sending data from Intel to FPGA board it is able to read 1 byte of data
>>>only
>>>that means sending only one request. But in my project I need to
>>>transfer
>>>some bytes of data from Intel board to FPGA board and able to receive
>>>data
>>>from FPGA board to Intel board.
>>>
>>>-----Original Message-----
>>>From: Hugh Brown [mailto:community-noreply@qnx.com]
>>>Sent: Friday, June 01, 2012 6:22 PM
>>>To: general-community@community.qnx.com
>>>Subject: Re: PCI Express
>>>
>>>Here is some sample code to allow you to attach to a PCI device and read
>>>the
>>>configuration space. You run the program as 'pci_att 0xVendor 0xDevice'
>>>where Vendor and Device are the vendor and device Ids of the device you
>>>are
>>>concerned about.
>>>
>>>--
>>>Hugh Brown
>>>QNX Software Systems Limited
>>>1001 Farrar Rd.,
>>>Ottawa. ON. K2K 0B3.
>>>Telephone: 613-591-0931
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>On 12-06-01 2:07 AM, "srilakshmi" <community-noreply@qnx.com>...
View Full Message
Re: PCI Express  
srilakshmi wrote:
> Hi Hugh Brown,
>    I don't know FPGA side work. Another person is doing that part.
> When I am executing PCI code on QNX RTOS they checking at FPGA chip scope
> how many packets they are getting and each packet carrying how much of data
> all those things they are checking.

These data are related to the bus traffic of the PCI-E bus. It has 
nothing to do with QNX.
The PCI-E core of the FPGA seems not working correctly ...

>   Is their any document regarding this
> please send me.

Please read the PCI-E standard

--Armin


Re: PCI Express  
No, there is no document explaining this. The only QNX documentation is
for the pci* functions. You will have to contact the FPGA designer to
rectify this problem.

-- 
Hugh Brown
QNX Software Systems Limited
1001 Farrar Rd.,
Ottawa. ON. K2K 0B3.
Telephone: 613-591-0931







On 12-06-19 4:47 AM, "srilakshmi" <community-noreply@qnx.com> wrote:

>Hi Hugh Brown,
>  I don't know FPGA side work. Another person is doing that part.
>When I am executing PCI code on QNX RTOS they checking at FPGA chip scope
>how many packets they are getting and each packet carrying how much of
>data
>all those things they are checking. Is their any document regarding this
>please send me.
>
>Thanks & Regards
> Srilakshmi
>-----Original Message-----
>From: Hugh Brown [mailto:community-noreply@qnx.com]
>Sent: Thursday, June 14, 2012 6:45 PM
>To: general-community@community.qnx.com
>Subject: Re: PCI Express
>
>How can we help you when we don't even know how your FPGA works?
>
>-- 
>Hugh Brown
>QNX Software Systems Limited
>1001 Farrar Rd.,
>Ottawa. ON. K2K 0B3.
>Telephone: 613-591-0931
>
>
>
>
>
>
>
>On 12-06-14 2:13 AM, "srilakshmi" <community-noreply@qnx.com> wrote:
>
>>We are able to transfer TLP with 1byte of data for Memory write
>>transaction.
>>You please help me to send more bytes of data through PCI express from
>>Intel
>>to FPGA.
>>
>>Thanks & Regards
>>  Srilakshmi
>>
>>-----Original Message-----
>>From: Hugh Brown [mailto:community-noreply@qnx.com]
>>Sent: Tuesday, June 05, 2012 5:06 PM
>>To: general-community@community.qnx.com
>>Subject: Re: PCI Express
>>
>>As I have said before, I don't know how your FPGA works, so you will have
>>to contact whoever designed your FPGA.
>>
>>-- 
>>Hugh Brown
>>QNX Software Systems Limited
>>1001 Farrar Rd.,
>>Ottawa. ON. K2K 0B3.
>>Telephone: 613-591-0931
>>
>>
>>
>>
>>
>>
>>
>>On 12-06-05 6:44 AM, "srilakshmi" <community-noreply@qnx.com> wrote:
>>
>>>Hi Hugh Brown,
>>>  we are able to read 1byte of data at FPGA side. now We need to
>>>transfer
>>>bulk of data from INTEL board to FPGA through PCI Express.
>>>
>>>Thanks & Regards
>>>  Srilakshmi
>>>
>>>-----Original Message-----
>>>From: Hugh Brown [mailto:community-noreply@qnx.com]
>>>Sent: Sunday, June 03, 2012 5:21 PM
>>>To: general-community@community.qnx.com
>>>Subject: Re: PCI Express
>>>
>>>I have no idea how your FPGA works, so am unable to help you with data
>>>transfer.
>>>
>>>-- 
>>>Hugh Brown
>>>QNX Software Systems Limited
>>>1001 Farrar Rd.,
>>>Ottawa. ON. K2K 0B3.
>>>Telephone: 613-591-0931
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>On 12-06-02 1:19 AM, "srilakshmi" <community-noreply@qnx.com> wrote:
>>>
>>>>We are able to detect the device and read configuration space. when we
>>>>are
>>>>sending data from Intel to FPGA board it is able to read 1 byte of data
>>>>only
>>>>that means sending only one request. But in my project I need to
>>>>transfer
>>>>some bytes of data from Intel board to FPGA board and able to receive
>>>>data
>>>>from FPGA board to Intel board.
>>>>
>>>>-----Original Message-----
>>>>From: Hugh Brown [mailto:community-noreply@qnx.com]
>>>>Sent: Friday,...
View Full Message
RE: PCI Express  
How to recognize interrupts coming from FPGA through PCI? Please provide me
document or code regarding this.

-- 
Srilakshmi

-----Original Message-----
From: Hugh Brown [mailto:community-noreply@qnx.com] 
Sent: Tuesday, June 19, 2012 5:23 PM
To: general-community@community.qnx.com
Subject: Re: PCI Express

No, there is no document explaining this. The only QNX documentation is
for the pci* functions. You will have to contact the FPGA designer to
rectify this problem.

-- 
Hugh Brown
QNX Software Systems Limited
1001 Farrar Rd.,
Ottawa. ON. K2K 0B3.
Telephone: 613-591-0931







On 12-06-19 4:47 AM, "srilakshmi" <community-noreply@qnx.com> wrote:

>Hi Hugh Brown,
>  I don't know FPGA side work. Another person is doing that part.
>When I am executing PCI code on QNX RTOS they checking at FPGA chip scope
>how many packets they are getting and each packet carrying how much of
>data
>all those things they are checking. Is their any document regarding this
>please send me.
>
>Thanks & Regards
> Srilakshmi
>-----Original Message-----
>From: Hugh Brown [mailto:community-noreply@qnx.com]
>Sent: Thursday, June 14, 2012 6:45 PM
>To: general-community@community.qnx.com
>Subject: Re: PCI Express
>
>How can we help you when we don't even know how your FPGA works?
>
>-- 
>Hugh Brown
>QNX Software Systems Limited
>1001 Farrar Rd.,
>Ottawa. ON. K2K 0B3.
>Telephone: 613-591-0931
>
>
>
>
>
>
>
>On 12-06-14 2:13 AM, "srilakshmi" <community-noreply@qnx.com> wrote:
>
>>We are able to transfer TLP with 1byte of data for Memory write
>>transaction.
>>You please help me to send more bytes of data through PCI express from
>>Intel
>>to FPGA.
>>
>>Thanks & Regards
>>  Srilakshmi
>>
>>-----Original Message-----
>>From: Hugh Brown [mailto:community-noreply@qnx.com]
>>Sent: Tuesday, June 05, 2012 5:06 PM
>>To: general-community@community.qnx.com
>>Subject: Re: PCI Express
>>
>>As I have said before, I don't know how your FPGA works, so you will have
>>to contact whoever designed your FPGA.
>>
>>-- 
>>Hugh Brown
>>QNX Software Systems Limited
>>1001 Farrar Rd.,
>>Ottawa. ON. K2K 0B3.
>>Telephone: 613-591-0931
>>
>>
>>
>>
>>
>>
>>
>>On 12-06-05 6:44 AM, "srilakshmi" <community-noreply@qnx.com> wrote:
>>
>>>Hi Hugh Brown,
>>>  we are able to read 1byte of data at FPGA side. now We need to
>>>transfer
>>>bulk of data from INTEL board to FPGA through PCI Express.
>>>
>>>Thanks & Regards
>>>  Srilakshmi
>>>
>>>-----Original Message-----
>>>From: Hugh Brown [mailto:community-noreply@qnx.com]
>>>Sent: Sunday, June 03, 2012 5:21 PM
>>>To: general-community@community.qnx.com
>>>Subject: Re: PCI Express
>>>
>>>I have no idea how your FPGA works, so am unable to help you with data
>>>transfer.
>>>
>>>-- 
>>>Hugh Brown
>>>QNX Software Systems Limited
>>>1001 Farrar Rd.,
>>>Ottawa. ON. K2K 0B3.
>>>Telephone: 613-591-0931
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>On 12-06-02 1:19 AM, "srilakshmi" <community-noreply@qnx.com> wrote:
>>>
>>>>We are able to detect the device and read configuration space. when we
>>>>are
>>>>sending data from Intel to FPGA board it is able to read 1 byte of data
>>>>only
>>>>that means sending only one request. But in my project I need...
View Full Message
Re: PCI Express  
Has allready been done by Hugh ... see the attachment !!

--Armin

srilakshmi wrote:
> How to recognize interrupts coming from FPGA through PCI? Please provide me
> document or code regarding this.
>

Attachment: Text pci_att.c 3.11 KB