2 Get Started on ESP32-C3-MINI-1U
[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 write_flash --flash_
16
mode dio
--flash_size detect --flash_freq 40m 0x10000 build/hello-world.bin
17
build/bootloader/bootloader.bin 0x8000 build/partition_table/partition-table.bin
18
or run 'idf.py -p PORT flash'
19
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-C3-MINI-1U module by running:
idf.py -p PORT [-b BAUD] flash
1
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 idf.py.
Note:
The option 'flash' automatically builds and flashes the project, so running 'idf.py build' is not necessary.
...
1
esptool.py --chip esp32c3 -p /dev/ttyUSB0 -b 460800 --before=default_reset --after
2
=hard_reset write_flash --flash_mode dio --flash_freq 80m --flash_size 2MB 0x
8000 partition_table/partition-table.bin 0x0 bootloader/bootloader.bin 0x10000
hello-world.bin
esptool.py v3.0
3
Serial port /dev/ttyUSB0
4
Connecting....
5
Chip is ESP32-C3
6
Features: Wi-Fi
7
Crystal is 40MHz
8
MAC: 7c:df:a1:40:02:a4
9
Uploading stub...
10
Running stub...
11
Stub running...
12
Changing baud rate to 460800
13
Changed.
14
Configuring flash size...
15
Compressed 3072 bytes to 103...
16
Writing at 0x00008000... (100
17
Wrote 3072 bytes (103 compressed) at 0x00008000 in 0.0 seconds (effective 4238.1
18
kbit/s)...
Hash of data verified.
19
Espressif Systems
Step: Connect Your
%)
11
build 0x1000
Device.
ESP32-C3-MINI-1U User Manual v0.1
Need help?
Do you have a question about the ESP32-C3-MINI-1U and is the answer not in the manual?
Questions and answers