module documentation

Undocumented

Class ESPFlasher Flash firmware to an ESP32 ROM bootloader.
Constant _CMD_CHANGE_BAUDRATE Undocumented
Constant _CMD_ESP_READ_REG Undocumented
Constant _CMD_ESP_WRITE_REG Undocumented
Constant _CMD_SPI_ATTACH Undocumented
Constant _CMD_SPI_FLASH_BEGIN Undocumented
Constant _CMD_SPI_FLASH_DATA Undocumented
Constant _CMD_SPI_FLASH_END Undocumented
Constant _CMD_SPI_FLASH_MD5 Undocumented
Constant _CMD_SPI_FLASH_PARAMS Undocumented
Constant _CMD_SYNC Undocumented
Constant _ESP_ERRORS Undocumented
Constant _FLASH_BLOCK_SIZE Undocumented
Constant _FLASH_ID Undocumented
Constant _FLASH_MD5_TIMEOUT_PER_MB Undocumented
Constant _FLASH_PAGE_SIZE Undocumented
Constant _FLASH_PROGRESS_INTERVAL Undocumented
Constant _FLASH_REG_BASE Undocumented
Constant _FLASH_SCAN_SIZE Undocumented
Constant _FLASH_SECTOR_SIZE Undocumented
Constant _FLASH_WRITE_SIZE Undocumented
_CMD_CHANGE_BAUDRATE =

Undocumented

Value
const(15)
_CMD_ESP_READ_REG =

Undocumented

Value
const(10)
_CMD_ESP_WRITE_REG =

Undocumented

Value
const(9)
_CMD_SPI_ATTACH =

Undocumented

Value
const(13)
_CMD_SPI_FLASH_BEGIN =

Undocumented

Value
const(2)
_CMD_SPI_FLASH_DATA =

Undocumented

Value
const(3)
_CMD_SPI_FLASH_END =

Undocumented

Value
const(4)
_CMD_SPI_FLASH_MD5 =

Undocumented

Value
const(19)
_CMD_SPI_FLASH_PARAMS =

Undocumented

Value
const(11)
_CMD_SYNC =

Undocumented

Value
const(8)
_ESP_ERRORS: dict[int, str] =

Undocumented

Value
{5: 'Received message is invalid',
 6: 'Failed to act on received message',
 7: 'Invalid CRC in message',
 8: 'Flash write error',
 9: 'Flash read error',
 10: 'Flash read length error',
 11: 'Deflate error'}
_FLASH_BLOCK_SIZE =

Undocumented

Value
const((64 * 1024))
_FLASH_ID =

Undocumented

Value
const(0)
_FLASH_MD5_TIMEOUT_PER_MB =

Undocumented

Value
const(8000)
_FLASH_PAGE_SIZE =

Undocumented

Value
const(256)
_FLASH_PROGRESS_INTERVAL =

Undocumented

Value
const(64)
_FLASH_REG_BASE =

Undocumented

Value
const(1610620928)
_FLASH_SCAN_SIZE =

Undocumented

Value
const((16 * 1024))
_FLASH_SECTOR_SIZE =

Undocumented

Value
const((4 * 1024))
_FLASH_WRITE_SIZE =

Undocumented

Value
const(1024)