Driver Problems? Questions? Issues?
Put OSR's experience to work for you! Contact us for assistance with:
  • Creating the right design for your requirements
  • Reviewing your existing driver code
  • Analyzing driver reliability/performance issues
  • Custom training mixed with consulting and focused directly on your specific areas of interest/concern.
Check us out. OSR, the Windows driver experts.

Upcoming OSR Seminars:

Writing WDF Drivers I: Core Concepts, Nashua, NH 15-19 May, 2017
Writing WDF Drivers II: Advanced Implementation Tech., Nashua, NH 23-26 May, 2017
Kernel Debugging and Crash Analysis, Dulles, VA 26-30 June, 2017
Windows Internals & Software Driver Development, Nashua, NH 24-28 July, 2017


Go Back   OSR Online Lists > ntdev
Welcome, Guest
You must login to post to this list
  Message 1 of 4  
20 Apr 17 02:06
mahnaz rasty
xxxxxx@yahoo.com
Join Date: 17 Apr 2017
Posts To This List: 2
UART in PCIE card

I'm writing device driver for PCIE and it works fine so far, but now we are about to implement another capability n a new pcie card. the new project is about designing and implementing a pcie FPGA-based card which can expose to windows as Serial COM port. for example for an 8 Tx/Rx line(pcie-x8), i want to expose to windows as COM0,COM1,...,COM8. What is the best way to go about doing this? In this project I'm a device driver developer, so please guide me in driver point of view. Many thanks in advance,
  Message 2 of 4  
20 Apr 17 06:32
Don Burn
xxxxxx@windrvr.com
Join Date: 23 Feb 2011
Posts To This List: 1300
UART in PCIE card

The best way to do this is to make these separate functions on PCIe. Unfortunately, ASIC suppliers such as Altera create a single BAR containing all eight COM ports. If you do this you need a bus driver, and then a modified version of the serial port driver (available from the WDK). The BUS driver will split the BAR into pieces and through a device interface offer them to the modified serial port driver. The BUS driver will also own the interrupt, and call the appropriate service routine, that the serial driver offered through the device interface. Finally the bus driver will provide the equivalent of KeSynchronizeExecution for the serial ports since again it owns the interrupt. I've done this project for a number of clients, and license off the shelf source to them if you device fits the Altera model. Don Burn Windows Driver Consulting Website: http://www.windrvr.com -----Original Message----- From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@yahoo.com Sent: Thursday, April 20, 2017 2:05 AM To: Windows System Software Devs Interest List <xxxxx@lists.osr.com> Subject: [ntdev] UART in PCIE card I'm writing device driver for PCIE and it works fine so far, but now we are about to implement another capability n a new pcie card. the new project is about designing and implementing a pcie FPGA-based card which can expose to windows as Serial COM port. for example for an 8 Tx/Rx line(pcie-x8), i want to expose to windows as COM0,COM1,...,COM8. What is the best way to go about doing this? In this project I'm a device driver developer, so please guide me in driver point of view. Many thanks in advance, --- NTDEV is sponsored by OSR Visit the list online at: <http://www.osronline.com/showlists.cfm?list=ntdev> MONTHLY seminars on crash dump analysis, WDF, Windows internals and software drivers! Details at <http://www.osr.com/seminars> To unsubscribe, visit the List Server section of OSR Online at <http://www.osronline.com/page.cfm?name=ListServer>
  Message 3 of 4  
26 Apr 17 08:10
mahnaz rasty
xxxxxx@yahoo.com
Join Date: 17 Apr 2017
Posts To This List: 2
UART in PCIE card

thank you for your general answer. i started to learn about bus driver(i didn't have any experience on that and it seems quite complicated). but as much as i find in this documentation we can have multiple BARs in our xilinx-virtex6-FPGA card (page 74) https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&cad=rja&uact=8&ve d=0ahUKEwj9parJicLTAhUBPxQKHUzQAiUQFggqMAE&url=https%3A%2F%2Fwww.xilinx.com%2Fsup port%2Fdocumentation%2Fuser_guides%2Fv6_pcie_ug517.pdf&usg=AFQjCNHdRFVO5Us8BF48Lg Hn_qbE3vIn9A&sig2=54Zq4u71pyIPDVy-iOhKmg what does it mean? does it mean i don't need bus driver anymore? thx alot for your help
  Message 4 of 4  
26 Apr 17 08:27
Don Burn
xxxxxx@windrvr.com
Join Date: 23 Feb 2011
Posts To This List: 1300
UART in PCIE card

Take a look at https://msdn.microsoft.com/windows/hardware/drivers/multifunction/index Don Burn Windows Driver Consulting Website: http://www.windrvr.com -----Original Message----- From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@yahoo.com Sent: Wednesday, April 26, 2017 8:08 AM To: Windows System Software Devs Interest List <xxxxx@lists.osr.com> Subject: RE:[ntdev] UART in PCIE card thank you for your general answer. i started to learn about bus driver(i didn't have any experience on that and it seems quite complicated). but as much as i find in this documentation we can have multiple BARs in our xilinx-virtex6-FPGA card (page 74) https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&cad=rja&uact =8&ved=0ahUKEwj9parJicLTAhUBPxQKHUzQAiUQFggqMAE&url=https%3A%2F%2Fwww.xilinx .com%2Fsupport%2Fdocumentation%2Fuser_guides%2Fv6_pcie_ug517.pdf&usg=AFQjCNH dRFVO5Us8BF48LgHn_qbE3vIn9A&sig2=54Zq4u71pyIPDVy-iOhKmg what does it mean? does it mean i don't need bus driver anymore? thx alot for your help --- NTDEV is sponsored by OSR Visit the list online at: <http://www.osronline.com/showlists.cfm?list=ntdev> MONTHLY seminars on crash dump analysis, WDF, Windows internals and software drivers! Details at <http://www.osr.com/seminars> To unsubscribe, visit the List Server section of OSR Online at <http://www.osronline.com/page.cfm?name=ListServer>
Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You must login to OSR Online AND be a member of the ntdev list to be able to post.

All times are GMT -5. The time now is 12:01.


Copyright ©2015, OSR Open Systems Resources, Inc.
Based on vBulletin Copyright ©2000 - 2005, Jelsoft Enterprises Ltd.
Modified under license