Flash Onto The Device - Espressif Systems ESP32-S2-SOLO-2 User Manual

2.4ghz wi-fi lot module built around esp32-s2 series of soc, xtensa single-core 32-bit lx7 microprocessor flash up to 16 mb, optional 2 mb psram in chip package 36 gpios, rich set of peripherals on-board pcb antenna
Table of Contents

Advertisement

3 Get Started
Warn about uninitialized values.
4
-- Found Git: /usr/bin/git (found version "2.17.0")
5
-- Building empty aws_iot component due to configuration
6
-- Component names: ...
7
-- Component paths: ...
8
9
... (more lines of build system output)
10
11
[527/527] Generating hello_world.bin
12
esptool.py v2.3.1
13
14
Project build complete. To flash, run this command:
15
../../../components/esptool_py/esptool/esptool.py -p (PORT) -b 921600
16
write_flash --flash_mode dio --flash_size detect --flash_freq 40m
17
0x10000 build/hello_world.bin build 0x1000 build/bootloader/bootloader.bin 0x8000
18
build/partition_table/partition-table.bin
19
or run 'idf.py -p PORT flash'
20
If there are no errors, the build will finish by generating the firmware binary .bin file.

3.4.5 Flash onto the Device

Flash the binaries that you just built onto your module by running:
idf.py -p PORT [-b BAUD] flash
1
Replace PORT with your ESP32-S2 board'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 idf.py.
Note:
The option 'flash' automatically builds and flashes the project, so running 'idf.py build' is not necessary.
When flashing, you will see the output log similar to the following:
...
1
esptool.py esp32s2 -p /dev/ttyUSB0 -b 460800 --before=default_reset --after=hard_reset
2
write_flash --flash_mode dio --flash_freq 80m --flash_size 4 MB 0x0 bootloader/bootloader.
3
bin
0x10000 hello_world.bin 0x8000 partition_table/partition-table.bin
4
esptool.py v3.2-dev
5
Serial port /dev/ttyUSB0
6
Connecting....
7
Chip is ESP32-S2
8
Features: WiFi
9
Crystal is 40MHz
10
MAC: 7c:df:a1:e0:00:64
11
Uploading stub...
12
Running stub...
13
Espressif Systems
Step: Connect Your
10
Device.
ESP32-S2-SOLO-2 User Manual v0.5

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ESP32-S2-SOLO-2 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents