我用的esp32 s2模组,大多数时候是正常的,有时候用着用着就死机了,然后串口看到不停重启,log狂刷屏。这时候断电重新插上,他又就正常了,不知道这是咋回事,看着代码都没跑进我的程序app_main里去就死机了,有了解这个的吗?
刷屏的log如下:
invalid header: 0xafaaabeb
invalid header: 0xafaaabeb
invalid header: 0xafaaabeb
invalid header: 0xafaaabeb
invalid header: 0xafaaabeb
invalid header: 0xafaaabeb
invalid header: 0xafaaabeb
invalid header: 0xafaaabeb
invalid header: 0xafaaabeb
invaESP-ROM:esp32s2-rc4-20191025
Build:Oct 25 2019
rst:0x7 (TG0WDT_SYS_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x4001276a
invalid header: 0xafaaabeb
invalid header: 0xafaaabeb
invalid header: 0xafaaabeb
invalid header: 0xafaaabeb
invalid header: 0xafaaabeb
invalid header: 0xafaaabeb
invalid header: 0xafaaabeb
invalid header: 0xafaaabeb
invalid header: 0xafaaabeb
invalid header: 0xafaaabeb
invalid header: 0xafaaabeb
invalid header: 0xafaaabeb
invalid header: 0xafaaabeb
invalid header: 0xafaaabeb
invalid header: 0xafaaabeb
invalid header: 0xafaaabeb
invalid header: 0xafaaabeb
esp32-s2偶遇无限重启刷屏invalid header: 0xafaaabeb
Re: esp32-s2偶遇无限重启刷屏invalid header: 0xafaaabeb
这个刷屏代表的是系统无法从 flash 加载 Bootloader 数据,因为硬件复位后没问题,所以可能是时序不匹配导致的,先确认一下前面的复位是什么情况,另外有一个简单的规避方式就是在app_main里面直接把跟 SPI flash 通信的 CS 管脚手动拉高,然后再观察是否还有这个问题。
Who is online
Users browsing this forum: Google [Bot] and 74 guests