expliot.core.protocols.hardware.spi

Package Contents

class expliot.core.protocols.hardware.spi.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)