ufrisk / pcileech-fpga

FPGA modules used together with the PCILeech Direct Memory Access (DMA) Attack Software
875 stars 192 forks source link

Unable to retrieve required Device PCIe ID #140

Closed PrideIsLife closed 9 months ago

PrideIsLife commented 1 year ago

Hi,

I have a PCIe connection issue with my SCREAMER PCIE SQUIRREL. I have tried connecting the card to two different host PCs :

but end-up having the same issue for both setups :

DEVICE: FPGA: ERROR: Unable to retrieve required Device PCIe ID [4,v4.11,0000]
PCILEECH: Failed to connect to the device.

On both setup the card was connected to a PCIE x16 slot. I also tested the connection on two different client computers but that didn't help.

The card LEDs has normal "behaviors".

MemProcFS.exe -v -vv -device fpga

----- FPGA DEVICE CONFIG REGISTERS: CORE-READ-ONLY     SIZE: 40 BYTES -----
0000    89 ab 00 00 28 00 00 00  04 0b 04 00 00 00 00 00   ....(...........
0010    37 72 52 24 02 00 00 00  39 72 52 24 02 00 00 00   7rR$....9rR$....
0020    00 00 02 00 ff ff ff ff                            ........

----- FPGA DEVICE CONFIG REGISTERS: CORE-READ-WRITE    SIZE: 30 BYTES -----
0000    cd ef 04 00 1e 00 00 00  a0 86 01 00 00 00 00 00   ................
0010    ee 10 07 00 ee 10 66 06  02 7c 00 00 00 00         ......f..|....

----- FPGA DEVICE CONFIG REGISTERS: PCIE-READ-ONLY     SIZE: 48 BYTES -----
0000    01 23 00 00 30 00 00 00  00 00 00 00 00 00 00 00   .#..0...........
0010    04 00 12 00 01 00 00 00  10 28 00 00 00 00 00 00   .........(......
0020    00 10 00 00 00 7f 00 00  00 00 00 00 00 00 00 00   ..... ..........

----- FPGA DEVICE CONFIG REGISTERS: PCIE-READ-WRITE    SIZE: 88 BYTES -----
0000    45 67 00 f0 58 00 00 00  35 0a 00 01 01 00 00 00   Eg..X...5.......
0010    00 00 00 00 00 f0 48 00  00 00 00 0e 00 00 00 00   ......H.........
0020    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0030    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0040    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0050    00 00 00 00 24 f4 00 00                            ....$...

----- PCIe CORE Dynamic Reconfiguration Port (DRP)  SIZE: 0x100 BYTES -----
0000    00 00 00 01 00 02 00 00  00 00 00 00 00 00 f0 00   ................
0010    ff ff 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0020    00 00 00 00 00 00 00 00  00 00 00 60 00 00 00 00   ...........`....
0030    00 00 09 02 30 00 22 7f  02 00 01 00 00 03 01 0c   ....0." ........
0040    02 a1 00 43 01 00 9f fd  5b 76 0b 6d 01 28 01 50   ...C....[v.m.(.P
0050    00 05 01 00 11 9c 00 00  00 00 00 00 00 00 00 00   ................
0060    00 00 04 60 00 12 40 21  00 c8 3e 60 00 3b 00 00   ...`..@!..>`.;..
0070    00 00 00 00 00 00 00 00  00 00 00 00 00 15 00 01   ................
0080    00 01 00 00 00 01 00 00  00 01 00 00 00 01 00 00   ................
0090    00 01 00 00 00 01 00 00  00 00 00 00 00 00 00 00   ................
00a0    00 00 00 00 00 00 00 00  00 02 00 00 12 34 10 18   .............4..
00b0    00 0b 00 01 00 11 00 00  00 00 00 00 00 01 00 00   ................
00c0    00 28 00 c1 ff ff ff ff  00 e1 00 00 80 08 00 22   .(............."
00d0    07 ff 03 52 02 48 00 08  00 40 0e 84 fa ac 00 00   ...R.H...@......
00e0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
00f0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................

----- PCIe CONFIGURATION SPACE (no user set values) SIZE: 0x200 BYTES -----
0000    00 00 00 00 00 00 10 00  00 00 00 02 00 00 00 00   ................
0010    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0020    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0030    60 00 00 00 00 00 00 00  00 00 00 00 ff 01 00 00   `...............
0040    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0050    05 00 80 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0060    04 00 12 00 e2 8f 00 00  10 28 00 00 12 04 30 00   .........(....0.
0070    00 00 00 10 00 00 00 00  00 00 00 00 00 00 00 00   ................
0080    00 00 00 00 02 00 00 00  00 00 00 00 00 00 00 00   ................
0090    22 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   "...............
00a0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
00b0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
00c0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
00d0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
00e0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
00f0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0100    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0110    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0120    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0130    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0140    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0150    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0160    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0170    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0180    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0190    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
01a0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
01b0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
01c0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
01d0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
01e0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
01f0    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................

DEVICE: FPGA: ERROR: Unable to retrieve required Device PCIe ID [4,v4.11,0000]
MemProcFS: Failed to connect to memory acquisition device.

Do you have any tips on how to debug this ?

ufrisk commented 1 year ago

USB communication with the device is working.

There is no PCIe connection to the device though, or it haven't been configured.

The PCIe config space looks overly strange, i.e. vendor/device id = 0000:0000.

This is most likely an error with "custom firmware". Flash the default bitstream I have here on my GIthub site in the releases section.