expliot.core.interfaces.ftdi

Wrapper for FDTI.

Attributes

DEFAULT_FTDI_URL

Classes

SpiFlashManager

A wrapper around pyspiflash SerialFlashManager.

I2cEepromManager

A wrapper around pyi2cflash SerialEepromManager.

Package Contents

expliot.core.interfaces.ftdi.DEFAULT_FTDI_URL = 'ftdi:///1'
class expliot.core.interfaces.ftdi.SpiFlashManager

Bases: spiflash.serialflash.SerialFlashManager

A wrapper around pyspiflash SerialFlashManager.

More details can be found at https://github.com/eblot/pyspiflash

Calls terminate() on the SpiController to close the FTDI device. As of now there is no close or terminate method provided in pyspiflash.

TODO: Remove me when pyspiflash implements one.

static close(device)

Close connection to device.

class expliot.core.interfaces.ftdi.I2cEepromManager

Bases: i2cflash.serialeeprom.SerialEepromManager

A wrapper around pyi2cflash SerialEepromManager.

More details can be found at https://github.com/eblot/pyi2cflash

Calls terminate() on the I2cController to close the FTDI device. As of now there is no close or terminate method provided in pyi2cflash.

TODO: Remove me when pyspiflash implements one.

static close(device)

Close connection to device.