cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Observer
Observer
325 Views
Registered: ‎12-16-2019

Windows XDMA Driver for 2018.2

Hello,

I'm working with the PCIe block using DMA mode and need to communicate with a Windows 10 system. I see there are driver binaries available under AR# 65444 but it's unclear to me which versions of the PCIe block they support. I would need support for the 2018.2 version. Also, I may need to work with the driver at the source code level. Would it be possible for me to get access to the source code? Thanks.

0 Kudos
2 Replies
Highlighted
Observer
Observer
275 Views
Registered: ‎10-19-2018

The Link to the downloadable source files is under Notes 1) you have to request the download with your information. The on I've downloaded a few weeks ago has an enum with 2017.3 as the highest version number in the device.c file. But I'm not sure if the driver will causing trouble if your XDMA version is newer.

// Version constants for the XMDA IP core
typedef enum XDMA_IP_VERSION_T {
    v2015_4 = 1,
    v2016_1 = 2,
    v2016_2 = 3,
    v2016_3 = 4,
    v2016_4 = 5,
    v2017_1 = 6,
    v2017_2 = 7,
    v2017_3 = 8
} XDMA_IP_VERSION;

Some lines later in device.c it checks for version 2017.1 with a TraceWarning. But I had no problem with an older 2016.4 core.

    // Confirm XDMA IP core version matches this driver
    UINT version = GetVersion(xdma);
    if (version != v2017_1) {
        TraceWarning(DBG_INIT, "Version mismatch! Expected 2017.1 (0x%x) but got (0x%x)",
                     v2017_1, version);
    }
0 Kudos
Highlighted
Observer
Observer
254 Views
Registered: ‎12-16-2019

Ok thanks. I saw that TraceWarning in the source code I already have and thought I might be working with outdated source. I'll give it a shot and hopefully it's compatible with the 2018.2 IP.

0 Kudos