expliot.core.interfaces.ftdi

Package Contents

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.

Parameters:device – The Flash device returned from get_flash_device()
Returns:
static close(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.

Parameters:device – The Flash device returned from get_flash_device()
Returns:
static close(device)