2
Get Started on ESP32-WROOM-DA
../../../components/esptool_py/esptool/esptool.py -p (PORT) -b 921600 write_flash --flash_mode dio
--flash_size detect --flash_freq 40m 0x10000 build/hello-world.bin
build 0x1000
build/bootloader/bootloader.bin 0x8000 build/partition_table/partition-table.bin
or run ’idf.py -p PORT flash’
If there are no errors, the build will finish by generating the firmware binary .bin file.
2.4.5 Flash onto the Device
Flash the binaries that you just built onto your ESP32-WROOM-DA module by running:
idf.py -p PORT [-b BAUD] flash
Replace PORT with your module‘s serial port name from
.
You can also change the flasher baud rate by replacing BAUD with the baud rate you need. The default baud rate
is 460800.
For more information on idf.py arguments, see
. If everything goes well, the “hello_world” application starts
running after you remove the jumper on IO0 and GND, and re-power up the testing board.
Note:
The option ‘flash’ automatically builds and flashes the project, so running ‘idf.py build’ is not necessary.
Running esptool.py in directory [...]/esp/hello_world
Executing ”python [...]/esp-idf/components/esptool_py/esptool/esptool.py -b 460800 write_flash
@flash_project_args”...
esptool.py -b 460800 write_flash --flash_mode dio --flash_size detect --flash_freq 40m 0x1000
bootloader/bootloader.bin 0x8000 partition_table/partition-table.bin 0x10000 hello-world.bin
esptool.py v2.3.1
Connecting....
Detecting chip type... ESP32
Chip is ESP32
Features: WiFi, BT, Dual Core
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Auto-detected Flash size: 8MB
Flash params set to 0x0220
Compressed 22992 bytes to 13019...
Wrote 22992 bytes (13019 compressed) at 0x00001000 in 0.3 seconds (effective 558.9 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 82...
Wrote 3072 bytes (82 compressed) at 0x00008000 in 0.0 seconds (effective 5789.3 kbit/s)...
Hash of data verified.
Compressed 136672 bytes to 67544...
Wrote 136672 bytes (67544 compressed) at 0x00010000 in 1.9 seconds (effective 567.5 kbit/s)...
Hash of data verified.
Espressif Systems
12
ESP32-WROOM-DA User Manual v0.5