The hardware conditions for the ESP32-C3 chip to enter the “ Download Mode“

The ESP32-C3 downloads firmware via UART0 (U0TXD (GPIO21) and U0RXD (GPIO20)) by default. Please refer to the 《ESP32-C3 Datasheet》.
在这里插入图片描述

  • On the Windows environment, you can use the “Flash Download Tool” to download the firmware (The bin file).

  • On the Ubuntu environment, you can use the “ esptool ” to download the firmware (The bin file). For example:

    esptool.py -p /dev/ttyUSB1 -b 460800 --before default_reset --after hard_reset write_flash --flash_mode dio --flash_size detect --flash_freq 40m 0x1000 /home/caiguanhong/Documents/test_version_bbe4b67/bootloader.bin 0x8000 /home/caiguanhong/Documents/test_version_bbe4b67/partition-table.bin 0x10000 /home/caiguanhong/Documents/test_version_bbe4b67/ssc.bin
    

1 The following hardware conditions must be met for the ESP32-C3 chip to start:

  • The ESP32-C3 chip working voltage range is 3.0 V ~ 3.6 V; If you use a single power supply, the recommended voltage of the power supply for ESP32-C3 family is 3.3 V, and its recommended output current is 500 mA or more. Please refer to the 《ESP32­C3 Hardware Design Guidelines》.
    在这里插入图片描述

  • If using the ESP32-C3 series Chips , you need require an external 40 MHz crystal oscillator for chip startup. If using the ESP32-C3 series modules , there is no longer need to external starting crystal oscillator. The hardware working conditions of ESP32-C3 chip can refer to the《ESP32-­C3-­MINI­1 Datasheet》.

    在这里插入图片描述
    在这里插入图片描述
    在这里插入图片描述


2 The following pins level requirements must be met when the ESP32-C3 series chips need enter the download mode :

VDD -> 3V3           (The Power Supply)
GND -> GND           ("Common ground" with power supply)
GPIO2 -> Pull Up     (Controls the SPI Flash startup mode)
GPIO8 -> Pull Up     (Start `Download Mode`)
GPIO9 -> Pull Down   ( Enter the `Download Dode`)
CHIP_EN -> Pull Up   (Enables the Chip, Do not leave the `CHIP_EN` pin floating)
TXD0 、RXD0          (Correct Connection)

【Note】

  • The strapping combination of GPIO8 = 0 and GPIO9 = 0 is invalid and will trigger unexpected behavior.

  • Please refer to the 《ESP32-C3 Datasheet》 about " Srtapping Pins " instructions.

在这里插入图片描述


3 Power­on Sequence

  • The Chip_EN pin can be enabled only after the power supply reaches 50 us after 2.8 V.That is when VDD reaches 2.8 V, EN cannot exceed 0.7 V. Please refer to the 《ESP32­C3 Hardware Design Guidelines》 about " 2.2.1 Power­on Sequence " .

在这里插入图片描述


4 If the download fails, Please refer to the following methods for troubleshooting:

  • After the serial port tool is powered on, please pull down the Chip_EN pin and reset it , the serial port will print logs. If print the “waiting for Download” logs , it proves that the chip is in download mode.

    ESP-ROM:esp32c3-20200918
    Build:Sep 18 2020
    rst:0x1 (POWERON),boot:0x4 (DOWNLOAD(USB/UART0/1))
    waiting for download
    
  • After entering the download mode, if the COM port is in waiting for Power-on synchronization state on the “Flash Download Tool” , please check whether the COM port is correctly selected or occupied. And whether the UART0 download interface is correctly connected.
    在这里插入图片描述


5 【Introductions】

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值