Skip to content

Read a .TLScan file containing the PCIe Configuration Space and Generate a Write Mask

License

Notifications You must be signed in to change notification settings

Ap3x/PCIeConfigSpace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Sep 10, 2024
4f94c19 · Sep 10, 2024

History

3 Commits
Sep 10, 2024
Sep 10, 2024
Sep 10, 2024
Sep 10, 2024
Sep 10, 2024
Sep 10, 2024
Sep 10, 2024
Sep 10, 2024
Sep 10, 2024
Sep 10, 2024

Repository files navigation

PCIeConfigSpace

This utility interprets PCIe configuration space data extracted by TeleScan PE Software. It serves two main functions:

  1. Analyzing the configuration space
  2. Generating a corresponding write mask

The tool produces two output files compatible with pcileech-fpga:

  1. A shadow configuration space
  2. A write mask

These files can be used to enhance the legitimacy of your DMA card's appearance when utilizing pcileech-fpga.

Usage

PS C:\Tools\PCIeConfigSpace> .\TLScan.exe -h
Usage of C:\Tools\PCIeConfigSpace\TLScan.exe:
  -i string
        The .tlscan scan file of your donor card (default "donor.tlscan")
  -overwrite
        Automatically overwrite existing file
  -so string
        The output .coe file containing your formatted config space (default "pcileech_cfgspace_extracted.coe")
  -wo string
        The output .coe file containing your formatted config space writemask (default "pcileech_cfgspace_writemask_extracted.coe")

Resources

  • PCI Local Bus Specification (Revision 2.2)
  • PCI Code and ID Assignment Specification (Revision 1.11)
  • PCI Express® Base Specification (Revision 3.0)
  • Writemask.it by Simonrak

About

Read a .TLScan file containing the PCIe Configuration Space and Generate a Write Mask

Topics

Resources

License

Stars

Watchers

Forks

Languages