background image

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

Step: Connect Your Device

.

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

idf.py

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

Summary of Contents for ESP32-WROOM-DA

Page 1: ...al Stand Alone Module with Dual Antennas Containing Ultra Low Power SoC with DualCore CPU Supporting 2 4 GHz Wi Fi Bluetooth and Bluetooth LE ESP32 WROOM DA Pre release v0 5 Espressif Systems Copyrigh...

Page 2: ...rt download documents Revision History For revision history of this document please refer to the last page Documentation Change Notification Espressif provides email notifications to keep you updated...

Page 3: ...requisites 9 2 3 2 Get ESP IDF 9 2 3 3 Set up Tools 10 2 3 4 Set up Environment Variables 10 2 4 Create Your First Project 10 2 4 1 Start a Project 10 2 4 2 Connect Your Device 10 2 4 3 Configure 10 2...

Page 4: ...electronics etc Table 1 ESP32 WROOM DA Specifications Categories Items Specifications Wi Fi Protocols 802 11 b g n 802 11n up to 150 Mbps A MPDU and A MSDU aggregation and 0 4 s guard interval suppor...

Page 5: ...16 IO4 IO0 GND GND GND GND 43 GND GND GND GND GND 42 41 IO2 IO25 Top View A n t e n n a 1 A n t e n n a 2 Figure 1 Pin Layout Top View The module has 41 pins and two test points See pin definitions in...

Page 6: ...ATA3 SD_DATA3 EMAC_RX_ER NC 18 NC 19 NC 20 NC 21 NC 22 NC 23 IO15 24 I O GPIO15 ADC2_CH3 TOUCH3 MTDO HSPICS0 RTC_GPIO13 HS2_CMD SD_CMD EMAC_RXD3 NC 25 NC 26 IO0 27 I O GPIO0 ADC2_CH1 TOUCH1 RTC_GPIO11...

Page 7: ...GPIO25 on the ESP32 D0WD V3 chip are designed as test points to control RF Switch The two pins are not led out to the module To select the working antenna Antenna 1 or Antenna 2 configure GPIO2 and G...

Page 8: ...o ESP IDF Programming Guide 2 2 Hardware Connection 1 Solder the ESP32 WROOM DA module to the RF testing board as shown in Figure 2 Figure 2 Hardware Connection 2 Connect the RF testing board to the U...

Page 9: ...ntOS 7 sudo yum install git wget flex bison gperf python cmake ninja build ccache dfu util Ubuntu and Debian one command breaks into two lines sudo apt get install git wget flex bison gperf python pyt...

Page 10: ...project from examples directory in ESP IDF Copy get started hello_world to esp directory cd esp cp r IDF_PATH examples get started hello_world There is a range of example projects in the examples dir...

Page 11: ...he option style Please run idf py menuconfig help for further information 2 4 4 Build the Project Build the project by running idf py build This command will compile the application and all ESP IDF co...

Page 12: ...utomatically 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...

Page 13: ...T Help Ctrl T followed by Ctrl H ets Jun 8 2016 00 22 57 rst 0x1 POWERON_RESET boot 0x13 SPI_FAST_FLASH_BOOT ets Jun 8 2016 00 22 57 After startup and diagnostic logs scroll up you should see Hello w...

Page 14: ...dio TV technician for help Caution Any changes or modifications not expressly approved by the party responsible for compliance could void the user s authority to operate the equipment This equipment c...

Page 15: ...quired However the OEM integrator is still responsible for testing their end product for any additional compliance requirement with this module installed for example digital device emission PC periphe...

Page 16: ...GitHub http github com espressif ESP32 BBS Forum Engineer to Engineer E2E Community for Espressif products where you can post questions share knowledge explore ideas and help solve problems with fell...

Page 17: ...Revision History Revision History Date Version Release notes 2021 12 10 v0 5 For certification only Espressif Systems 17 ESP32 WROOM DA User Manual v0 5...

Page 18: ...OPOSAL SPECIFICATION OR SAMPLE All liability including liability for infringement of any proprietary rights relating to use of information in this document is disclaimed No licenses express or implied...

Reviews: