ufrisk / pcileech-fpga

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

Screamer M.2 Flashing Cable Connection Problem #62

Closed Jackyl91 closed 4 years ago

Jackyl91 commented 4 years ago

Hi @Ufrisk,

I purchased both HS2 Diligent programming cable and LambdaConcept programming cable for flashing the Screamer M.2.

I want to know the correct cable connection especially the HS2 cable as I failed flashing by both cables.

Thank you.

ufrisk commented 4 years ago

the pinout for the ScreamerM2 and the HS2 cable are both clearly marked on both ScreamerM2 and the HS2 respectively. They are compatible.

You will need to have to power the ScreamerM2 from the PCIe side when flashing it though. Just powering it over JTAG is not sufficient.

Jackyl91 commented 4 years ago

Flashed

Thank you ufrisk. I finally flashed the ScreamerM2 by HS2 cable shown as the above-attached photo. Is that necessary to generate project files after flashed the ScreamerM2? I have some trouble in using PCILeech with the result [PCILEECH: Failed to connect to the device.].

ufrisk commented 4 years ago

You can flash with the pre-built bitstream which you may download in this project. Afterwards you can check if the flash is working if the LEDs are blinking on start-up as described in this project also.

You may use this with PCILeech, you can download the PCILeech binaries, but you will need to download a .dll file from ftdichip.com for it to work. To enable more debug output you can try running; pcileech.exe display -min 0x1000 -v -vv -device fpga

ufrisk commented 4 years ago

I'm closing this issue since you seems to have successfully re-flashed the device. I would suggest you upgrade to version 4.4 of the bitstream for better stability though.

On a successful flash LD2 will blink at power-on.

Good Luck :)