Users Manual
7. Flash onto the Device
7. Flash onto the Device
Flash the binaries that you just built onto your ESP32-S2 board by running:
idf.py-pPORT[-bBAUD]flash
Replace PORT with your ESP32-S2 board's serial port name. You can also change the
flasher baud rate by replacing BAUD with the baud rate you need. The default baud rate is
460800.
Runningesptool.pyindirectory[...]/esp/hello_world
Executing"python[...]/esp-idf/components/esptool_py/esptool/esptool.py-b460800
write_flash@flash_project_args"...
esptool.py-b460800write_flash--flash_modedio--flash_sizedetect--flash_freq40m
0x1000bootloader/bootloader.bin0x8000partition_table/partition-table.bin0x10000hello-
world.bin
esptool.pyv2.3.1
Connecting....
Detectingchiptype...ESP32
ChipisESP32D0WDQ6(revision1)
Features:WiFi,BT,DualCore
Uploadingstub...
Runningstub...
Stubrunning...
Changingbaudrateto460800
Changed.
Configuringflashsize...
Auto-detectedFlashsize:4MB
Flashparamssetto0x0220
Compressed22992bytesto13019...
Wrote22992bytes(13019compressed)at0x00001000in0.3seconds(effective558.9kbit/
s)...
Hashofdataverified.
Compressed3072bytesto82...
Wrote3072bytes(82compressed)at0x00008000in0.0seconds(effective5789.3kbit/s)...
Hashofdataverified.
Compressed136672bytesto67544...
Wrote136672bytes(67544compressed)at0x00010000in1.9seconds(effective567.5kbit/
s)...
Hashofdataverified.
Leaving...
HardresettingviaRTSpin...
If there are no issues by the end of the flash process, the module will be reset and the
“hello_world” application will be running.
Espressif Systems
/ 19 22
Sep. 2020