Appearance
启动模式
Boot Mode Selection - ESP32 - — esptool.py latest documentation (espressif.com)
默认的时候GPIO0会被一个45K的电阻进行上拉, 如果把这一个引脚拉低使用下载启动模式, 使用下载启动模式的时候GPIO2也需要是低电平或者是浮空的
GPIO是高电平的时候, 启动模式是从Flash启动
在使用esptools进行下载的时候会使用控制DTR和RTS引脚的方式进行控制下载的模式, 在使用的时候要控制这两个分别控制GPIO0以及EN引脚
在EN引脚以及GND之间需要加一个1uF-10uF range的电容
可以使用这一个电路
启动信息
c
ets Jun 8 2016 00:22:57
rst:0x1 (POWERON_RESET),boot:0x3 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))
rst:0xNN (REASON)
is an enumerated value (and description) of the reason for the reset. A mapping between the hex value and each reason can be found in the ESP-IDF source under RESET_REASON enum. The value can be read in ESP32 code via the get_reset_reason() ROM function.
boot:0xNN (DESCRIPTION)
is the hex value of the strapping pins, as represented in the GPIO_STRAP register.
0x01
- GPIO50x02
- MTDO (GPIO15)0x04
- GPIO40x08
- GPIO20x10
- GPIO00x20
- MTDI (GPIO12)
If the pin was high on reset, the bit value will be set. If it was low on reset, the bit will be cleared.