pyecsca.sca.target.flash module

Provides a mix-in class of a flashable target (e.g. one where the code gets flashed to it before running).

class Flashable[source]

Bases: ABC

A flashable target.

abstract flash(fw_path)[source]

Flash the firmware at fw_path to the target.

Parameters:

fw_path (str) – The path to the firmware blob.

Return type:

bool

Returns:

Whether the flashing was successful.