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

ESP32-H2 downloads firmware via U0TXD(GPIO24)and U0RXD(GPIO23) by default. Please refer to the ESP32-H2 Datasheet

  • On the Windows environment, you can use the Flash download tool to download the firmware (The bin file).


    在这里插入图片描述

    • Run flash_download_tool.exe
      在这里插入图片描述

    • Choose ChipType as ESP32-H2, LoadMode as UART, then press OK.

      在这里插入图片描述

    1. Click to select the .bin file to be flashed.
    2. Enter the download address offset for the firmware to be flashed.
    3. Choose the COM port to which the development board is connected.
    4. Click “Start” at the bottom-left corner to begin the flashing process.

The green progress bar below will show the flashing progress, and it will be fully loaded when flashing is complete.

在这里插入图片描述

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

    esptool.py -p /dev/ttyUSB0 write_flash 0x0 bootloader.bin 0x8000 partition-table.bin 0x10000 ssc.bin
    

esptool command instructions can be found in the “Esptool.py Documentation”


1、The following pins level requirements must be met when the ESP32-H2 series chips need enter the download mode:

VDD -> 3V3 					(The Power Supply)
GND -> GND 					("Common ground" with power supply)
GPIO8 -> pull up			(default floating)
GPIO9 -> pull down 			(default pull up)
EN -> pull up				(Enables the Chip, Do not leave the `EN` pin floating)
TXD0 -> RX
RXD0 -> TX

After ensuring the correct wiring connections, you can proceed with the firmware programming

Note:

  • The strapping combination of GPIO8 = 0 and GPIO9 = 0 is invalid and will trigger unexpected behavior.
  • After powering up the chip/module, you can verify whether it has entered Download Boot mode by using the UART0 serial port.

2、The following hardware conditions must be met for the ESP32-H2 chip to start:

  • The ESP32-H2 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-H2 family is 3.3 V, and its recommended output current is 350 mA or more.

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

在这里插入图片描述


3、Power­on Sequence:

  • The Chip_EN pin can be enabled only after the power supply reaches 50 us after 2.8 V. When VDD reaches 2.8V, the voltage at EN must not exceed 0.7V. Please refer to the《ESP32-H2 Datasheet》 about "2.3 Power Scheme"

在这里插入图片描述


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.

在这里插入图片描述


Note:

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值