Espressif Systems ESP32--C3--MINI--1 User Manual Download Page 11

2

Get Started on ESP32-C3-MINI-1

12

[527/527] Generating hello-world.bin

13

esptool.py v2.3.1

14

15

Project build complete. To flash, run this command:

16

../../../components/esptool_py/esptool/esptool.py -p (PORT) -b 921600 write_flash --flash_

mode dio

17

--flash_size detect --flash_freq 40m 0x10000 build/hello-world.bin

build 0x1000

18

build/bootloader/bootloader.bin 0x8000 build/partition_table/partition-table.bin

19

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-C3-MINI-1 module by running:

1

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

.

Note:

The option ‘flash‘ automatically builds and flashes the project, so running ‘idf.py build‘ is not necessary.

1

...

2

esptool.py --chip esp32c3 -p /dev/ttyUSB0 -b 460800 --before=default_reset --after

=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

3

esptool.py v3.0

4

Serial port /dev/ttyUSB0

5

Connecting....

6

Chip is ESP32-C3

7

Features: Wi-Fi

8

Crystal is 40MHz

9

MAC: 7c:df:a1:40:02:a4

10

Uploading stub...

11

Running stub...

12

Stub running...

13

Changing baud rate to 460800

14

Changed.

15

Configuring flash size...

16

Compressed 3072 bytes to 103...

17

Writing at 0x00008000... (100

%)

18

Wrote 3072 bytes (103 compressed) at 0x00008000 in 0.0 seconds (effective 4238.1

kbit/s)...

19

Hash of data verified.

Espressif Systems

11

ESP32-C3-MINI-1 User Manual v0.1

Summary of Contents for ESP32--C3--MINI--1

Page 1: ...ESP32 C3 MINI 1 User Manual Pre release v0 1 Espressif Systems Copyright 2021 www espressif com...

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: ...isites 8 2 3 2 Get ESP IDF 8 2 3 3 Set up Tools 9 2 3 4 Set up Environment Variables 9 2 4 Create Your First Project 9 2 4 1 Start a Project 9 2 4 2 Connect Your Device 9 2 4 3 Configure 9 2 4 4 Build...

Page 4: ...ge 2412 2462 MHz Bluetooth Protocols Bluetooth LE Bluetooth 5 and Bluetooth mesh Radio Class 1 class 2 and class 3 transmitter Hardware Module interfaces GPIO SPI UART I2C I2S remote control periphera...

Page 5: ...GND IO0 IO1 GND NC IO10 NC IO4 IO5 IO6 IO7 IO8 IO9 NC NC IO18 IO19 NC NC RXD0 TXD0 NC NC NC NC GND GND GND GND GND GND GND GND GND GND GND GND GND Keepout Zone Figure 1 Pin Layout Top View The module...

Page 6: ...18 I O T GPIO4 ADC1_CH4 FSPIHD MTMS IO5 19 I O T GPIO5 ADC2_CH0 FSPIWP MTDI IO6 20 I O T GPIO6 FSPICLK MTCK IO7 21 I O T GPIO7 FSPID MTDO IO8 22 I O T GPIO8 IO9 23 I O T GPIO9 NC 24 NC NC 25 NC IO18 2...

Page 7: ...refer to ESP IDF Programming Guide 2 2 Hardware Connection 1 Solder the ESP32 C3 MINI 1 module to the RF testing board as shown in Figure 2 Figure 2 Hardware Connection 2 Connect the RF testing board...

Page 8: ...To compile with ESP IDF you need to get the following packages CentOS 7 1 sudo yum install git wget flex bison gperf python cmake ninja build ccache dfu util Ubuntu and Debian one command breaks into...

Page 9: ...ready to prepare your application for ESP32 C3 MINI 1 module You can start with get started hello_world project from examples directory in ESP IDF Copy get started hello_world to esp directory 1 cd es...

Page 10: ...could be different in your terminal You can change the appearance with the option style Please run idf py menuconfig help for further information 2 4 4 Build the Project Build the project by running...

Page 11: ...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 proje...

Page 12: ...o_world is indeed running type idf py p PORT monitor Do not forget to replace PORT with your serial port name This command launches the IDF Monitor application 1 idf py p dev ttyUSB0 monitor 2 Running...

Page 13: ...I 1 That s all what you need to get started with ESP32 C3 MINI 1 module Now you are ready to try some other examples in ESP IDF or go right to developing your own applications Espressif Systems 13 ESP...

Page 14: ...Extensive documentation for the ESP IDF development framework ranging from hardware guides to API reference ESP32 C3 Technical Reference Manual Detailed information on how to use the ESP32 C3 memory a...

Page 15: ...Revision History Revision History Date Version Release notes 2021 02 01 V0 1 Preliminary release Espressif Systems 15 ESP32 C3 MINI 1 User Manual v0 1...

Page 16: ...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: