ESP32, ESP32S2 or ESP8266 based on which chip type we're talking to.
The specific name of the chip.
Put into ROM bootload mode & attempt to synchronize with the ESP ROM bootloader, we will retry a few times
shutdown the read loop.
erase the flash of the device
the timeout of erasing
Write data to the flash.
Leave flash mode and run/reboot
wheather or not to reboot
loads the stub onto the device.
Stub to load
Read the OTP data for this chip.
Read a register within the ESP chip RAM.
Change the baud rate for the serial port.
Put into ROM bootload mode & attempt to synchronize with the ESP ROM bootloader, we will retry a few times
Calculate an erase size given a specific size in bytes. Provides a workaround for the bootloader erase bug.
Generated using TypeDoc
Send a command packet, check that the command succeeded.