完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
根据 ESP32-s3 模块的技术数据表,我应该能够通过更改寄存器值来禁用 UART0 ROM 引导消息。该寄存器优先于 eFuse(为 0b00),并且两者都优先于 GPIO46 状态。
我在这里找到了设置位的代码: https://github.com/espressif/esp-idf/bl ... /rom/rtc.h 代码:全选 #define RTC_DISABLE_ROM_LOG ((1 << 0) | (1 << 16)) //!< Disable logging from the ROM code. static inline void rtc_suppress_rom_log(void) { /* To disable logging in the ROM, only the least significant bit of the register is used, * but since this register is also used to store the frequency of the main crystal (RTC_XTAL_FREQ_REG), * you need to write to this register in the same format. * Namely, the upper 16 bits and lower should be the same. */ REG_SET_BIT(RTC_CNTL_STORE4_REG, RTC_DISABLE_ROM_LOG); } 这似乎不起作用。命令执行后,消息继续通过 UART0 和 USB 转储。 这对我来说是完美的解决方案,因为在我控制 UART0 端口之前,我不关心在该端口上转储的消息。 有没有人让这个工作? |
|
相关推荐
|
|
只有小组成员才能发言,加入小组>>
945 浏览 0 评论
1672 浏览 0 评论
请问一下我想用ESP8685直接替换ESP8266而不用写程序,可以让ESP8685直接通过之前ESP8266的外挂的flash运行程序吗
1330 浏览 1 评论
1233 浏览 1 评论
5021 浏览 2 评论
为blufi_device设置自定义名称,但是无法修改,为什么?
1254浏览 4评论
请问ESP32-S2-WROOM怎么获得ESP32-S2外接FLASH的唯一序列号?
927浏览 3评论
2338浏览 3评论
ESP-IDF的VScode插件的build按钮点击会报错的原因?
2528浏览 3评论
ESP-Jumpstart例程中第5个工程:5_cloud连接报错是哪里的问题?
1052浏览 2评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-2 12:38 , Processed in 0.640613 second(s), Total 69, Slave 52 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
6685
