ESP32-S2 UART_PRINT_CONTROL eFuse 的不同值有哪些?
ESP32-S2 的 UART_PRINT_CONTROL eFuse 控制 ROM 启动阶段 UART 打印输出的行为。根据 GitHub 上的 ESP-IDF,它由两位组成:
00:启用01:复位时 GPIO46 为低电平时启用10:复位时 GPIO46 为高电平时启用11:禁用
烧写后无法撤销,但如果你确实需要这样做,以下是将它烧写为 0b11 的示例:
burn_uart_print_control.sh
espefuse.py burn_efuse UART_PRINT_CONTROL 0b11在执行烧写操作之前,它会要求你确认。
espefuse_burn_example.txt
espefuse.py v4.9.0
Connecting...
Device PID identification is only supported on COM and /dev/ serial ports.
.
Detecting chip type... Unsupported detection protocol, switching and trying again...
Detecting chip type... ESP32-S2
=== Run "burn_efuse" command ===
The efuses to burn:
from BLOCK0
- UART_PRINT_CONTROL
Burning efuses:
- 'UART_PRINT_CONTROL' (Set the default UART boot message output mode) 0b00 -> 0b11
Check all blocks for burn...
idx, BLOCK_NAME, Conclusion
[00] BLOCK0 is empty, will burn the new value
.
This is an irreversible operation!
Type 'BURN' (all capitals) to continue.Check out similar posts by category:
ESP32
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow