Toggle navigation
首页
问答
文章
积分商城
专家
专区
更多专区...
文档中心
返回主站
搜索
提问
会员
中心
登录
注册
发现一个新问题,重启无法解决,需断电才可以重启系统.....
发布于 2019-10-08 19:25:40 浏览:1399
订阅该版
* 本帖最后由 Tonny 于 2019-10-8 19:27 编辑 * 最近刚完成了OTA串口的版本升降版本及恢复固件,现在当系统运行进入中断后,按复位键,也不能正常进入系统,不知道怎么解决,看日志,是fal的问题,但假如有问题,为什么断电后能正常进入系统,系统进入异常后通过引脚重启却不可再进入系统,有点不明白~ 下面是正常进入系统的日志: ```[SFUD]Find a Winbond flash chip. Size is 8388608 bytes. [SFUD]spi flash device is initialize success. __ ___ __ __ __ ___ |__) | __ |__) / \ / \ | | \ | |__) \__/ \__/ | 2006 - 2019 Copyright by rt-thread team 0.9.1 build Sep 16 2019 [D/FAL] (fal_flash_init:63) Flash device | onchip_flash | addr: 0x08000000 | len: 0x00080000 | blk_size: 0x00000800 |initialized finish. [D/FAL] (fal_flash_init:63) Flash device | nor_flash | addr: 0x00000000 | len: 0x00800000 | blk_size: 0x00001000 |initialized finish. [I/FAL] ==================== FAL partition table ==================== [I/FAL] | name | flash_dev | offset | length | [I/FAL] ------------------------------------------------------------- [I/FAL] | app | onchip_flash | 0x00010000 | 0x00040000 | [I/FAL] | download | nor_flash | 0x00700000 | 0x00080000 | [I/FAL] | factory | nor_flash | 0x00780000 | 0x00080000 | [I/FAL] ============================================================= [I/FAL] RT-Thread Flash Abstraction Layer (V0.4.0) initialize success. [I/FAL] System initialization successful. [I]RT-Thread OTA package(V0.2.1) initialize success. [E]Get firmware header occur CRC32(calc.crc: 7b93c5c8 != hdr.info_crc32: ffffffff) error on 'download' partition! [E]Get OTA download partition firmware header failed! [I]Verify 'app' partition(fw ver: 1.0, timestamp: 1570433373) success. [I/FAL] Find user firmware at app partition 0x08010000 successfully. [I/FAL] Bootloader jumps to user firmware now. \ | / - RT - Thread Operating System / | \ 4.0.2 build Sep 27 2019 2006 - 2019 Copyright by rt-thread team [1] I/sal.skt main: Socket Abstraction Layer initialize success. [9] I/at.clnt main: AT client(V1.3.0) on device uart5 initialize success. [17] D/at.dev main: esp8266 device(esp0) initialize start. [30] I/at.dev at_clnt: esp8266 device(esp0) WIFI is disconnect. [1047] D/at.dev main: AT version:1.2.0.0(Jul 1 2016 20:04:45) [1053] D/at.dev main: SDK version:1.5.4.1(39cb9a32) [1058] D/at.dev main: Ai-Thinker Technology Co., Ltd. [1064] D/at.dev main: Integrated AiCloud 2.0 v0.0.0.6 [1069] D/at.dev main: Build:1.5.4.1 May 16 2017 17:57:15 [3229] I/at.dev at_clnt: esp8266 device(esp0) WIFI is connected. [6084] I/at.dev main: esp8266 device(esp0) network initialize successfully. [6093] D/at.dev main: the network interface device(esp0) set up status [6100] I/NO_TAG main: System Start. [6104] I/NO_TAG main: [6108] I/NO_TAG main: The version is v1.0 [6113] I/NO_TAG main: [SFUD] Find a Winbond flash chip. Size is 8388608 bytes. [SFUD] W25Q64 flash device is initialize success. [D/FAL] (fal_flash_init:61) Flash device | onchip_flash | addr: 0x08000000 | len: 0x00080000 | blk_size: 0x00000800 |initialized finish. [D/FAL] (fal_flash_init:61) Flash device | W25Q64 | addr: 0x00000000 | len: 0x00800000 | blk_size: 0x00001000 |initialized finish. [I/FAL] ==================== FAL partition table ==================== [I/FAL] | name | flash_dev | offset | length | [I/FAL] ------------------------------------------------------------- [I/FAL] | bootloader | onchip_flash | 0x00000000 | 0x00010000 | [I/FAL] | app | onchip_flash | 0x00010000 | 0x00040000 | [I/FAL] | Storage | onchip_flash | 0x00050000 | 0x00030000 | [I/FAL] | FileSystem | W25Q64 | 0x00000000 | 0x00400000 | [I/FAL] | Test | W25Q64 | 0x00400000 | 0x00200000 | [I/FAL] | ef | W25Q64 | 0x00600000 | 0x00100000 | [I/FAL] | download | W25Q64 | 0x00700000 | 0x00080000 | [I/FAL] | factory | W25Q64 | 0x00780000 | 0x00080000 | [I/FAL] ============================================================= [I/FAL] RT-Thread Flash Abstraction Layer (V0.4.0) initialize success. [6255] I/NO_TAG main: Find 8 partitions. [I/FAL] The FAL block device (Storage) created successfully [I/FAL] The FAL block device (FileSystem) created successfully [I/FAL] The FAL block device (Test) created successfully [I/FAL] The FAL block device (ef) created successfully [I/FAL] The FAL block device (download) created successfully [I/FAL] The FAL block device (factory) created successfully msh />[6780] I/NO_TAG main: System Ready. [6786] D/onenet.mqtt mqtt0: Enter mqtt_connect_callback! [6791] D/mqtt mqtt0: ipv4 address port: 6002 [6796] D/mqtt mqtt0: HOST = '183.230.40.39' [6805] I/onenet.mqtt onenet: RT-Thread OneNET package(V1.0.0) initialize success. [6815] I/sensor Ds18b20: rt_sensor init success [6925] I/mqtt mqtt0: MQTT server connect success. [6931] D/onenet.mqtt mqtt0: Enter mqtt_online_callback! [7104] E/at.clnt sys_work: execute command (AT+CIPDNS_CUR?) failed! [7112] W/at.dev sys_work: please check and update device(esp0) firmware to support the "AT+CIPDNS_CUR?" command. msh />``` 下面是系统异常后,引脚重启后的日志: ```[SFUD]Find a Winbond flash chip. Size is 8388608 bytes. [SFUD]spi flash device is initialize success. __ ___ __ __ __ ___ |__) | __ |__) / \ / \ | | \ | |__) \__/ \__/ | 2006 - 2019 Copyright by rt-thread team 0.9.1 build Sep 16 2019 [D/FAL] (fal_flash_init:63) Flash device | onchip_flash | addr: 0x08000000 | len: 0x00080000 | blk_size: 0x00000800 |initialized finish. [D/FAL] (fal_flash_init:63) Flash device | nor_flash | addr: 0x00000000 | len: 0x00800000 | blk_size: 0x00001000 |initialized finish. [I/FAL] ==================== FAL partition table ==================== [I/FAL] | name | flash_dev | offset | length | [I/FAL] ------------------------------------------------------------- [I/FAL] | app | onchip_flash | 0x00010000 | 0x00040000 | [I/FAL] | download | nor_flash | 0x00700000 | 0x00080000 | [I/FAL] | factory | nor_flash | 0x00780000 | 0x00080000 | [I/FAL] ============================================================= [I/FAL] RT-Thread Flash Abstraction Layer (V0.4.0) initialize success. [I/FAL] System initialization successful. [I]RT-Thread OTA package(V0.2.1) initialize success. [E]Get firmware header occur CRC32(calc.crc: 7b93c5c8 != hdr.info_crc32: ffffffff) error on 'download' partition! [E]Get OTA download partition firmware header failed! [I]Verify 'app' partition(fw ver: 1.0, timestamp: 1570433373) success. [I/FAL] Find user firmware at app partition 0x08010000 successfully. [I/FAL] Bootloader jumps to user firmware now. \ | / - RT - Thread Operating System / | \ 4.0.2 build Sep 27 2019 2006 - 2019 Copyright by rt-thread team [1] I/sal.skt main: Socket Abstraction Layer initialize success. [9] I/at.clnt main: AT client(V1.3.0) on device uart5 initialize success. [17] D/at.dev main: esp8266 device(esp0) initialize start. [5124] E/at.clnt main: wait AT client(uart5) connect timeout(5000 tick). [5132] D/at.dev main: the network interface device(esp0) set up status [5139] I/NO_TAG main: System Start. [5143] I/NO_TAG main: [5147] I/NO_TAG main: The version is v1.0 [5152] I/NO_TAG main: [SFUD] Warning: Read SFDP parameter header information failed. The W25Q64 is not support JEDEC SFDP. [SFUD] Warning: This flash device is not found or not support. [SFUD] Error: W25Q64 flash device is initialize fail. ERROR: SPI flash probe failed by SPI device spi10. [5182] E/NO_TAG main: W25Q64 Initialized Failed. msh /> ``` 没试过看门狗进行系统复位是什么结果,打算明天试试,看看情况。
查看更多
3
个回答
默认排序
按发布时间排序
Tonny
2019-10-09
这家伙很懒,什么也没写!
找到原因了,好像是因为电源供应不稳定导致的。。。
WillianChan
2019-10-10
-
小黄鸭提问法值得推荐:lol
Tonny
2019-10-10
这家伙很懒,什么也没写!
>小黄鸭提问法值得推荐 --- 这个硬件问题,小黄鸭表示:别问我{:2_35:}
撰写答案
登录
注册新账号
关注者
0
被浏览
1.4k
关于作者
Tonny
这家伙很懒,什么也没写!
提问
45
回答
131
被采纳
0
关注TA
发私信
相关问题
推荐文章
1
RT-Thread应用项目汇总
2
玩转RT-Thread系列教程
3
国产MCU移植系列教程汇总,欢迎查看!
4
机器人操作系统 (ROS2) 和 RT-Thread 通信
5
五分钟玩转RT-Thread新社区
6
【技术三千问】之《玩转ART-Pi》,看这篇就够了!干货汇总
7
关于STM32H7开发板上使用SDIO接口驱动SD卡挂载文件系统的问题总结
8
STM32的“GPU”——DMA2D实例详解
9
RT-Thread隐藏的宝藏之completion
10
【ART-PI】RT-Thread 开启RTC 与 Alarm组件
最新文章
1
【24嵌入式设计大赛】基于RT-Thread星火一号的智慧家居系统
2
RT-Thread EtherKit开源以太网硬件正式发布
3
如何在master上的BSP中添加配置yml文件
4
使用百度AI助手辅助编写一个rt-thread下的ONVIF设备发现功能的功能代码
5
RT-Thread 发布 EtherKit开源以太网硬件!
热门标签
RT-Thread Studio
串口
Env
LWIP
SPI
AT
Bootloader
Hardfault
CAN总线
FinSH
ART-Pi
USB
DMA
文件系统
RT-Thread
SCons
RT-Thread Nano
线程
MQTT
STM32
RTC
FAL
rt-smart
ESP8266
I2C_IIC
WIZnet_W5500
UART
ota在线升级
PWM
cubemx
freemodbus
flash
packages_软件包
BSP
潘多拉开发板_Pandora
定时器
ADC
GD32
flashDB
socket
中断
Debug
编译报错
msh
SFUD
keil_MDK
rt_mq_消息队列_msg_queue
MicroPython
ulog
C++_cpp
本月问答贡献
踩姑娘的小蘑菇
7
个答案
3
次被采纳
a1012112796
15
个答案
2
次被采纳
张世争
9
个答案
2
次被采纳
rv666
5
个答案
2
次被采纳
用户名由3_15位
13
个答案
1
次被采纳
本月文章贡献
程序员阿伟
9
篇文章
2
次点赞
hhart
3
篇文章
4
次点赞
大龄码农
1
篇文章
5
次点赞
RTT_逍遥
1
篇文章
2
次点赞
ThinkCode
1
篇文章
1
次点赞
回到
顶部
发布
问题
分享
好友
手机
浏览
扫码手机浏览
投诉
建议
回到
底部