Skip to main content

To flash binary generated onto the device, you can use the following command:

esptool.py --port <port> write_flash <fctry_address> <outdir>/bin/<filename>.bin

{{< hint type=note >}} The <fctry_address> is typically 0x340000. However, please check your partition table to find the appropriate address.

The esptool.py would be available in your PATH only if you have esp-idf set up, else, please find it at esp-idf/components/esptool_py/esptool/esptool.py and use from there. {{< /hint >}}