收藏官网首页
查看: 50918|回复: 7

[求助] MCU OTA STM32 esp8266 check sum error

3

主题

13

帖子

413

积分

中级会员

Rank: 3Rank: 3

积分
413
跳转到指定楼层
楼主
 楼主| 发表于 2021-8-26 16:12:59 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
教您5分钟接入机智云,实现傻瓜式开发
STM32F103zet 和esp8266 构成的系统,最近测试 远程OTA升级 ,在数据包传输过程中前后有部分包显示  check sum error   OTA任务自动结束,升级不成功,请各位大神帮助分析


Get One Packet!
WiFi2MCU[2568508:  47]: ff ff 00 2b 19 84 00 00 00 00 8c 20 00 20 66 31 36 38 36 65 63 65 63 30 66 64 31 39 33 30 64 61 32 65 63 31 34 61 65 63 39 38 32 31 32 32 ab
CMD_ASK_BIGDATA
MCU2WiFi[2568532:   9]: ff ff 00 05 1a 84 00 00 a3
UpdateFileSize Legal ,size = 35872
flash erase finished!!
FileMD5len  = 32 MD5: 66 31 36 38 36 65 63 65 63 30 66 64 31 39 33 30 64 61 32 65 63 31 34 61 65 63 39 38 32 31 32 32
MD5_Hex: f1 68 6e ce c0 fd 19 30 da 2e c1 4a ec 98 21 22
GAgent_MD5Init
MCU2WiFi[2568668:  45]: ff ff 00 29 1b 7b 00 00 00 20 66 31 36 38 36 65 63 65 63 30 66 64 31 39 33 30 64 61 32 65 63 31 34 61 65 63 39 38 32 31 32 32 01 00 f7
MCU Ready To Update ROM
System In OTA Mode BusyFlag = 1
Get One Packet!
WiFi2MCU[2568689:   9]: ff ff 00 05 1c 7b 00 00 9c
Get One Packet!
WiFi2MCU[2568966: 269]: ff ff 01 09 1d 85 00 00 00 01 00 8d f8 29 00 20 0d 81 00 08 15 ae 00 08 17 ae 00 08 19 ae 00 08 1b ae 00 08 1d ae 00 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 1f ae 00 08 21 ae 00 08 00 00 00 00 23 ae 00 08 25 ae 00 08 27 81 00 08 27 81 00 08 27 81 00 08 67 ae 00 08 27 81 00 08 27 81 00 08 27 81 00 08 27 81 00 08 27 81 00 08 27 81 00 08 27 81 00 08 27 81 00 08 27 81 00 08 27 81 00 08 27 81 00 08 27 81 00 08 27 81 00 08 27 81 00 08 27 81 00 08 27 81 00 08 27 81 00 08 27 81 00 08 27 81 00 08 27 81 00 08 27 81 00 08 27 81 00 08 27 81 00 08 27 81 00 08 7f b0 00 08 27 c5 00 08 27 81 00 08 27 81 00 08 27 81 00 08 27 81 00 08 27 81 00 08 27 81 00 08 27 81 00 08 2f ae 00 08 27 81 00 08 fd c8 00 08 27 81 00 08 27 81 00 08 27 81 00 08 df f8 10 d0 08 f0 2a f8 00 48 00 47 05 ac 00 08 af f3 00 80 d1
****piecenum = 1 , piececount = 141, pieceSize = 256******
MCU2WiFi[2569053:   9]: ff ff 00 05 1e 85 00 00 a8
HH =     0

MM =     0

T5 =     0

T6 =     0

T7 =     0

temperVD =     0
Temper = 0.0
Humi = 0.0
Input =     1    1    1    1    1    1    1    1
$DS1307 time is:255:255:255:255:255:255:255 $$$$
MCU2WiFi[2572215:  10]: ff ff 00 06 12 86 00 00 01 9f
ERR: check sum error!


-------------------------------------------------------------------------------------------------

中间的包接收正常 后面是第24个包之后
-------------------------------------------------------------------------------------------------

MCU2WiFi[2583515:   9]: ff ff 00 05 1e 9b 00 00 be
Get One Packet!
WiFi2MCU[2583802: 269]: ff ff 01 09 1d 9c 00 00 00 18 00 8d 70 b5 02 8c 22 f0 10 02 02 84 02 8c 83 88 04 8b 24 f4 e0 44 24 f4 40 76 0d 88 4f f6 ff 74 04 ea 05 25 35 43 22 f0 20 02 0e 89 04 ea 06 16 16 43 4a 88 04 ea 02 12 32 43 43 4e b0 42 02 d0 48 4e b0 42 17 d1 22 f0 80 02 4e 89 04 ea 06 16 16 43 26 f0 40 06 8a 88 04 ea 02 12 32 43 23 f4 80 63 23 f4 00 63 8e 89 04 ea 86 06 1e 43 cb 89 04 ea 83 03 33 43 83 80 05 83 c9 88 01 87 02 84 70 bd 70 b5 02 8c 22 f4 80 72 02 84 02 8c 83 88 84 8b 24 f0 70 04 24 f0 03 04 0d 88 25 43 22 f4 00 72 0e 89 4f f6 ff 74 04 ea 06 26 16 43 4a 88 04 ea 02 22 32 43 24 4e b0 42 02 d0 29 4e b0 42 17 d1 22 f4 00 66 4a 89 04 ea 02 22 32 43 22 f4 80 66 8a 88 04 ea 02 22 32 43 23 f4 80 53 23 f4 00 53 8e 89 04 ea 06 16 1e 43 cb 89 04 ea 03 13 33 43 83 80 85 83 c9 88 81 87 02 84 70 bd 70 b5 02 8c 0a
****piecenum = 24 , piececount = 141, pieceSize = 256******
MCU2WiFi[2583889:   9]: ff ff 00 05 1e 9c 00 00 bf
HH =     0

MM =     0

T5 =     0

T6 =     0

T7 =     0

temperVD =     0
Temper = 0.0
Humi = 0.0
Input =     1    1    1    1    1    1    1    1
$DS1307 time is:255:255:255:255:255:255:255 $$$$
MCU2WiFi[2587055:  10]: ff ff 00 06 12 9d 00 00 01 b6
ERR: check sum error!
HH =     0

MM =     0

T5 =     0

T6 =     0

T7 =     0

temperVD =     0
Temper = 0.0

Humi = 0.0
Input =     1    1    1    1    1    1    1    1
$DS1307 time is:255:255:255:255:255:255:255 $$$$
HH =     0

MM =     0

T5 =     0

T6 =     0

T7 =     0

temperVD =     0
Temper = 0.0

Humi = 0.0
Input =     1    1    1    1    1    1    1    1
$DS1307 time is:255:255:255:255:255:255:255 $$$$
MCU2WiFi[2593073:  10]: ff ff 00 06 12 9d 00 00 01 b6
ERR: check sum error!
Get One Packet!
WiFi2MCU[2593291:   9]: ff ff 00 05 1f 9e 00 00 c2
MCU2WiFi[2593304:   9]: ff ff 00 05 20 9e 00 00 c3

System OTA Mode Over BusyFlag = 0






3

主题

13

帖子

413

积分

中级会员

Rank: 3Rank: 3

积分
413
沙发
 楼主| 发表于 2021-8-27 09:18:04 | 只看该作者
有时候收到的包不完整,有时候能收到全部的包,md5检查正常,但是重启二次检查Md5失败 又重新载入旧的系统,还有非常奇怪 esp8266-01s(8Mbit) 无法启动更新和接收固件,而另外一块更换了flash 采用32Mbit,重刷了32Mbit固件的可以正常进行更新



***piecenum = 130 , piececount = 131, pieceSize = 256******
MCU2WiFi[107611:   9]: ff ff 00 05 1e 87 00 00 aa
Get One Packet!
WiFi2MCU[107781: 157]: ff ff 00 99 1d 88 00 00 00 83 00 83 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 70 01 08 00 00 00 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3c
****piecenum = 131 , piececount = 131, pieceSize = 144******
MD5 Calculate Success , Will Check The MD5 ..
MD5 Check Success ,Storage  ROM Success , Write Update Flag
System Will Restart... pdate Task ,Sys Will Load New Sys..Wait For A Moment
Update Size [33424]
Check New Sys ...loop = 131
****************************************************************************************
MD5 Calculate Success
Md5_Cacl Check Faild ,MCU OTA Faild
Check Faild , Go to Old Systerm
Need Erase 1 Pages
Erase Success  
Sys Will Load APP.....
Stack Success!
rbCreate Success
MCU Init Success
MCU HAL Success , SoftVersion = 03010101
MCU2WiFi[  16:   9]: ff ff 00 05 29 00 00 00 2e
Get One Packet!
WiFi2MCU[  30:   9]: ff ff 00 05 2a 00 00 00 2f
Wifi Module Will Restart
板凳
发表于 2021-8-27 16:28:46 | 只看该作者
数据上传的间隔是多少

点评

谢谢你的回复 用的是以下默认参数吗,不过今晚有两次OTA成功,我好像没有特别修改什么数据,有点奇怪,会不会是WiFi模组连线偏长20cm,数据干扰或者不稳定 #define SEND_MAX_TIME 200 //  详情 回复 发表于 2021-8-28 23:45

3

主题

13

帖子

413

积分

中级会员

Rank: 3Rank: 3

积分
413
地板
 楼主| 发表于 2021-8-28 23:45:26 | 只看该作者
冯俊波 发表于 2021-8-27 16:28
数据上传的间隔是多少

谢谢你的回复
用的是以下默认参数吗,不过今晚有两次OTA成功,我好像没有特别修改什么数据,有点奇怪,会不会是WiFi模组连线偏长20cm,数据干扰或者不稳定

#define SEND_MAX_TIME       200                     ///< 200ms resend
#define SEND_MAX_NUM        2                       ///< resend times
                                                   
#define protocol_VERSION    "00000004"              ///< protocol version
#define P0_VERSION          "00000002"              ///< P0 protocol version

/**@name Product Key  
* @{
*/
#define PRODUCT_KEY "9686e52fbc1b4bdbb7a599d2381326e5"
/**@} */
/**@name Product Secret  
* @{
*/
#define PRODUCT_SECRET "e649db45c5a441ca871b4e92d13f8ac3"
               
/**@name Device status data reporting interval
* @{
*/
#define REPORT_TIME_MAX 6000 //6S
/**@} */   

#define CELLNUMMAX 7   


/**@name Whether the device is in the control class, 0 means no, 1 means yes
* @{
*/
#define DEV_IS_GATEWAY   0                    
/**@} */

/**@name Binding time
* @{
*/
#define NINABLETIME  0
/**@} */

点评

要根据日志分析是数据丢包还是什么原因  详情 回复 发表于 2021-8-31 12:44
5#
发表于 2021-8-31 12:44:22 | 只看该作者
免费使用STM32、APP自动代码生成工具
负电荷 发表于 2021-8-28 23:45
谢谢你的回复
用的是以下默认参数吗,不过今晚有两次OTA成功,我好像没有特别修改什么数据,有点奇怪,会 ...

要根据日志分析是数据丢包还是什么原因

点评

是要分析WiFi模块的数据输出日志吗?  详情 回复 发表于 2021-9-5 12:15
发烧友

3

主题

13

帖子

413

积分

中级会员

Rank: 3Rank: 3

积分
413
6#
 楼主| 发表于 2021-9-5 12:15:52 | 只看该作者
冯俊波 发表于 2021-8-31 12:44
要根据日志分析是数据丢包还是什么原因

是要分析WiFi模块的数据输出日志吗?

点评

比较郁闷,早先的一个实验工程,升级完esp8266 固件后,开启升级,有时候也能接收数据 包,最多的时候接了100多个包,有时候只能接收10几个包 一直Warning: timeout, resend data MCU2WiFi[231505: 9]: ff ff 00  详情 回复 发表于 2021-9-30 11:01

3

主题

13

帖子

413

积分

中级会员

Rank: 3Rank: 3

积分
413
7#
 楼主| 发表于 2021-9-30 11:01:21 | 只看该作者
本帖最后由 负电荷 于 2021-9-30 11:09 编辑
负电荷 发表于 2021-9-5 12:15
是要分析WiFi模块的数据输出日志吗?

比较郁闷,早先的一个实验工程,升级完esp8266 固件后,开启升级,有时候也能接收数据 包,最多的时候接了100多个包,有时候只能接收10几个包 一直Warning: timeout, resend data  多次重复以后升级终止,没找到什么原因,原来stm32f103zet 改为F103vct  基本设定没有变,这两个芯片也就是端子数目不一样 ,FLASH容量减半,原来设定的是60k bak区  60K程序区 22k bootloader 区 总容量 124k/* BootLoader Flash首地址 */
#define SYS_Bootloader_SAVE_ADDR_BASE       0x08000000//Bootloader首地址
/* 升级参数存储 */
#define UPDATE_PARAM_SAVE_ADDR_BASE         0x08005800  //支持参数大小22KB
#define UPDATE_PARAM_MAX_SIZE               (2*1024)//支持参数大小2KB


/* APP Flash首地址 */
#define SYS_APP_SAVE_ADDR_BASE              0x08006000
#define APP_DATA_MAX_SIZE                   (60*1024)//支持APP大小60KB
/* APP BAK Flash首地址 */
#define SYS_APP_BAK_SAVE_ADDR_BASE          0x08015000       
#define APP_BAK_DATA_MAX_SIZE               (60*1024)//支持APP_BAK大小60KB



MCU2WiFi[231505:   9]: ff ff 00 05 17 1a 00 00 36
Warning:gizProtocolResendData 231804 231510 0
Warning: timeout, resend data
MCU2WiFi[231819:   9]: ff ff 00 05 17 1a 00 00 36
Warning:gizProtocolResendData 232118 231824 1
Warning: timeout, resend data
MCU2WiFi[232133:   9]: ff ff 00 05 17 1a 00 00 36
Input =     1    1    1    1    1    1    0    1
Input =     1    1    1    1    1    1    0    1
MCU2WiFi[241596:   9]: ff ff 00 05 17 1b 00 00 37
Input =     1    1    1    1    1    1    0    1
Warning:gizProtocolResendData 241963 241601 0
Warning: timeout, resend data
MCU2WiFi[241979:   9]: ff ff 00 05 17 1b 00 00 37
Warning:gizProtocolResendData 242277 241983 1
Warning: timeout, resend data
MCU2WiFi[242293:   9]: ff ff 00 05 17 1b 00 00 37
Input =     1    1    1    1    1    1    0    1
Input =     1    1    1    1    1    1    0    1
MCU2WiFi[251658:   9]: ff ff 00 05 17 1c 00 00 38
Warning:gizProtocolResendData 251957 251662 0
Warning: timeout, resend data
MCU2WiFi[251972:   9]: ff ff 00 05 17 1c 00 00 38
Warning:gizProtocolResendData 252271 251976 1
Warning: timeout, resend data
MCU2WiFi[252286:   9]: ff ff 00 05 17 1c 00 00 38
Input =     1    1    1    1    1    1    0    1
Input =     1    1    1    1    1    1    0    1
MCU2WiFi[261749:   9]: ff ff 00 05 17 1d 00 00 39
Get One Packet!
WiFi2MCU[261853: 269]: ff ff 01 09 1d 0c 00 00 00 01 00 92 e8 29 00 20 0d 61 00 08 9d 8c 00 08 9f 8c 00 08 a1 8c 00 08 a3 8c 00 08 a5 8c 00 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a7 8c 00 08 a9 8c 00 08 00 00 00 00 ab 8c 00 08 ad 8c 00 08 27 61 00 08 27 61 00 08 27 61 00 08 ef 8c 00 08 27 61 00 08 27 61 00 08 27 61 00 08 27 61 00 08 27 61 00 08 27 61 00 08 27 61 00 08 27 61 00 08 27 61 00 08 27 61 00 08 27 61 00 08 27 61 00 08 27 61 00 08 27 61 00 08 27 61 00 08 27 61 00 08 27 61 00 08 27 61 00 08 27 61 00 08 27 61 00 08 27 61 00 08 27 61 00 08 27 61 00 08 27 61 00 08 07 8f 00 08 77 a8 00 08 27 61 00 08 27 61 00 08 27 61 00 08 27 61 00 08 27 61 00 08 27 61 00 08 27 61 00 08 b7 8c 00 08 27 61 00 08 4d ac 00 08 27 61 00 08 27 61 00 08 27 61 00 08 df f8 10 d0 08 f0 32 fa 00 48 00 47 ed 8a 00 08 af f3 00 80 6d
***piecenum = 1 , piececount = 146, pieceSize = 256****
MCU2WiFi[261947:   9]: ff ff 00 05 1e 0c 00 00 2f
Warning:gizProtocolResendData 262049 261754 0
Warning: timeout, resend data
MCU2WiFi[262065:   9]: ff ff 00 05 17 1d 00 00 39
Get One Packet!
WiFi2MCU[262071:  20]: ff ff 00 10 18 19 00 00 07 e5 09 1d 0a 35 2e 61 53 d5 3a 83
Ack GET_UTT success
WIFI_NTP : [2021-9-29 10:53:46][1406483027]
Get One Packet!
WiFi2MCU[262184:  20]: ff ff 00 10 18 19 00 00 07 e5 09 1d 0a 35 2e 61 53 d5 3a 83
Ack GET_UTT success
WIFI_NTP : [2021-9-29 10:53:46][1406483027]
Get One Packet!
WiFi2MCU[262297:  20]: ff ff 00 10 18 19 00 00 07 e5 09 1d 0a 35 2e 61 53 d5 3a 83
Ack GET_UTT success
WIFI_NTP : [2021-9-29 10:53:46][1406483027]
Input =     1    1    1    1    1    1    0    1
Get One Packet!
WiFi2MCU[262478:  20]: ff ff 00 10 18 1a 00 00 07 e5 09 1d 0a 35 38 61 53 d5 44 98
Ack GET_UTT success
WIFI_NTP : [2021-9-29 10:53:56][1406485587]
Get One Packet!
WiFi2MCU[262591:  20]: ff ff 00 10 18 1a 00 00 07 e5 09 1d 0a 35 38 61 53 d5 44 98
Ack GET_UTT success
WIFI_NTP : [2021-9-29 10:53:56][1406485587]
Get One Packet!
WiFi2MCU[262704:  20]: ff ff 00 10 18 1a 00 00 07 e5 09 1d 0a 35 38 61 53 d5 44 98
Ack GET_UTT success
WIFI_NTP : [2021-9-29 10:53:56][1406485587]
Get One Packet!
WiFi2MCU[262817:  20]: ff ff 00 10 18 1b 00 00 07 e5 09 1d 0a 36 06 61 53 d5 4e 72
Ack GET_UTT success
WIFI_NTP : [2021-9-29 10:54:06][1406488147]
Get One Packet!
WiFi2MCU[262930:  20]: ff ff 00 10 18 1b 00 00 07 e5 09 1d 0a 36 06 61 53 d5 4e 72
Ack GET_UTT success
WIFI_NTP : [2021-9-29 10:54:06][1406488147]
Get One Packet!
WiFi2MCU[263043:  20]: ff ff 00 10 18 1b 00 00 07 e5 09 1d 0a 36 07 61 53 d5 4f 74
Ack GET_UTT success
WIFI_NTP : [2021-9-29 10:54:07][1406488403]
Get One Packet!
WiFi2MCU[263156:  20]: ff ff 00 10 18 1c 00 00 07 e5 09 1d 0a 36 10 61 53 d5 58 87
Ack GET_UTT success
WIFI_NTP : [2021-9-29 10:54:16][1406490707]
Get One Packet!
WiFi2MCU[263269:  20]: ff ff 00 10 18 1c 00 00 07 e5 09 1d 0a 36 10 61 53 d5 58 87
Ack GET_UTT success
WIFI_NTP : [2021-9-29 10:54:16][1406490707]
Get One Packet!
WiFi2MCU[263382:  20]: ff ff 00 10 18 1c 00 00 07 e5 09 1d 0a 36 11 61 53 d5 59 89
Ack GET_UTT success
WIFI_NTP : [2021-9-29 10:54:17][1406490963]
Get One Packet!
WiFi2MCU[263495:  20]: ff ff 00 10 18 1d 00 00 07 e5 09 1d 0a 36 1a 61 53 d5 62 9c
Ack GET_UTT success
WIFI_NTP : [2021-9-29 10:54:26][1406493267]
Get One Packet!
WiFi2MCU[265374: 269]: ff ff 01 09 1d 0e 00 00 00 02 00 92 e8 29 00 20 80 f3 08 88 70 47 00 00 06 48 80 47 06 48 00 47 fe e7 fe e7 fe e7 fe e7 fe e7 fe e7 fe e7 fe e7 fe e7 fe e7 d9 61 00 08 ed 60 00 08 0c b5 00 22 01 92 00 92 51 48 01 68 41 f4 80 31 01 60 4f f4 a0 63 01 68 01 f4 00 31 00 91 01 99 49 1c 01 91 00 99 11 b9 01 99 99 42 f3 d1 01 68 89 03 02 d5 01 21 00 91 00 e0 00 92 00 99 01 29 30 d1 44 49 0a 68 42 f0 10 02 0a 60 0a 68 22 f0 03 02 0a 60 0a 68 42 f0 02 02 0a 60 41 68 41 60 41 68 41 60 41 68 41 f4 80 61 41 60 41 68 21 f4 7c 11 41 60 41 68 41 f4 e8 11 41 60 01 68 41 f0 80 71 01 60 01 68 89 01 fc d5 41 68 21 f0 03 01 41 60 41 68 41 f0 02 01 41 60 41 68 c1 f3 81 01 02 29 fa d1 0c bd ab e7 10 b5 29 48 01 68 41 f0 01 01 01 60 41 68 28 4a 11 40 41 60 01 68 27 4a 11 40 01 60 01 68 21 f4 80 21 01 60 41 68 21 f4 51
***piecenum = 2 , piececount = 146, pieceSize = 256****
MCU2WiFi[265468:   9]: ff ff 00 05 1e 0e 00 00 31
Get One Packet!
WiFi2MCU[265572:  20]: ff ff 00 10 18 1d 00 00 07 e5 09 1d 0a 36 1a 61 53 d5 62 9c
Ack GET_UTT success
WIFI_NTP : [2021-9-29 10:54:26][1406493267]
Get One Packet!
WiFi2MCU[265784: 269]: ff ff 01 09 1d 0e 00 00 00 02 00 92 e8 29 00 20 80 f3 08 88 70 47 00 00 06 48 80 47 06 48 00 47 fe e7 fe e7 fe e7 fe e7 fe e7 fe e7 fe e7 fe e7 fe e7 fe e7 d9 61 00 08 ed 60 00 08 0c b5 00 22 01 92 00 92 51 48 01 68 41 f4 80 31 01 60 4f f4 a0 63 01 68 01 f4 00 31 00 91 01 99 49 1c 01 91 00 99 11 b9 01 99 99 42 f3 d1 01 68 89 03 02 d5 01 21 00 91 00 e0 00 92 00 99 01 29 30 d1 44 49 0a 68 42 f0 10 02 0a 60 0a 68 22 f0 03 02 0a 60 0a 68 42 f0 02 02 0a 60 41 68 41 60 41 68 41 60 41 68 41 f4 80 61 41 60 41 68 21 f4 7c 11 41 60 41 68 41 f4 e8 11 41 60 01 68 41 f0 80 71 01 60 01 68 89 01 fc d5 41 68 21 f0 03 01 41 60 41 68 41 f0 02 01 41 60 41 68 c1 f3 81 01 02 29 fa d1 0c bd ab e7 10 b5 29 48 01 68 41 f0 01 01 01 60 41 68 28 4a 11 40 41 60 01 68 27 4a 11 40 01 60 01 68 21 f4 80 21 01 60 41 68 21 f4 51
***piecenum = 2 , piececount = 146, pieceSize = 256****
MCU2WiFi[265871:   9]: ff ff 00 05 1e 0e 00 00 31
Input =     1    1    1    1    1    1    0    1
Get One Packet!
WiFi2MCU[268985: 269]: ff ff 01 09 1d 0f 00 00 00 03 00 92 fe 01 41 60 4f f4 1f 01 81 60 ff f7 e4 ff 21 49 1f 48 08 60 10 bd 10 b5 19 4a 50 68 00 f0 0c 01 1d 4b 1e 48 00 29 0e d0 04 29 0e d0 08 29 0e d0 03 60 51 68 19 4a c1 f3 03 11 12 1d 51 5c 02 68 ca 40 02 60 10 bd 03 60 f3 e7 03 60 f1 e7 51 68 01 f4 70 11 53 68 03 f4 80 33 02 24 04 eb 91 41 33 b1 53 68 9b 03 07 d5 0d 4b 59 43 01 60 e0 e7 0b 4b 59 43 01 60 dc e7 07 4b 59 43 01 60 d8 e7 00 10 02 40 00 20 02 40 00 00 ff f8 ff ff f6 fe 00 60 00 08 08 ed 00 e0 00 12 7a 00 00 00 00 20 00 09 3d 00 2a 49 08 43 2a 49 08 60 70 47 70 b5 0f 23 c2 78 01 26 01 78 00 2a 1e d0 25 4a 12 68 02 f4 e0 62 c2 f5 e0 62 12 0a c2 f1 04 04 d3 40 45 78 a5 40 82 78 1a 40 2a 43 12 01 01 f1 e0 21 81 f8 00 24 00 78 00 f0 1f 01 8e 40 40 09 80 00 00 f1 e0 20 c0 f8 00 61 70 bd 01 f0 1f 00 86 40 07
***piecenum = 3 , piececount = 146, pieceSize = 256****
MCU2WiFi[269079:   9]: ff ff 00 05 1e 0f 00 00 32
Get One Packet!
WiFi2MCU[269380: 269]: ff ff 01 09 1d 0f 00 00 00 03 00 92 fe 01 41 60 4f f4 1f 01 81 60 ff f7 e4 ff 21 49 1f 48 08 60 10 bd 10 b5 19 4a 50 68 00 f0 0c 01 1d 4b 1e 48 00 29 0e d0 04 29 0e d0 08 29 0e d0 03 60 51 68 19 4a c1 f3 03 11 12 1d 51 5c 02 68 ca 40 02 60 10 bd 03 60 f3 e7 03 60 f1 e7 51 68 01 f4 70 11 53 68 03 f4 80 33 02 24 04 eb 91 41 33 b1 53 68 9b 03 07 d5 0d 4b 59 43 01 60 e0 e7 0b 4b 59 43 01 60 dc e7 07 4b 59 43 01 60 d8 e7 00 10 02 40 00 20 02 40 00 00 ff f8 ff ff f6 fe 00 60 00 08 08 ed 00 e0 00 12 7a 00 00 00 00 20 00 09 3d 00 2a 49 08 43 2a 49 08 60 70 47 70 b5 0f 23 c2 78 01 26 01 78 00 2a 1e d0 25 4a 12 68 02 f4 e0 62 c2 f5 e0 62 12 0a c2 f1 04 04 d3 40 45 78 a5 40 82 78 1a 40 2a 43 12 01 01 f1 e0 21 81 f8 00 24 00 78 00 f0 1f 01 8e 40 40 09 80 00 00 f1 e0 20 c0 f8 00 61 70 bd 01 f0 1f 00 86 40 07
***piecenum = 3 , piececount = 146, pieceSize = 256****
MCU2WiFi[269466:   9]: ff ff 00 05 1e 0f 00 00 32
Input =     1    1    1    1    1    1    0    1
MCU2WiFi[271802:   9]: ff ff 00 05 17 1e 00 00 3a
Warning:gizProtocolResendData 272101 271807 0
Warning: timeout, resend data
MCU2WiFi[272117:   9]: ff ff 00 05 17 1e 00 00 3a
Warning:gizProtocolResendData 272416 272121 1
Warning: timeout, resend data
MCU2WiFi[272431:   9]: ff ff 00 05 17 1e 00 00 3a
Get One Packet!
WiFi2MCU[272535: 269]: ff ff 01 09 1d 10 00 00 00 04 00 92 48 09 80 00 00 f1 e0 20 c0 f8 80 61 70 bd 12 4a 11 40 01 43 0f 48 00 1f 01 60 70 47 0d 4a 12 1d 00 29 03 d0 11 68 01 43 11 60 70 47 11 68 81 43 11 60 70 47 4f f0 e0 21 04 28 04 d0 08 69 20 f0 04 00 08 61 70 47 08 69 40 f0 04 00 08 61 70 47 00 00 fa 05 0c ed 00 e0 80 ff ff 1f 10 b5 db 49 88 42 0a d1 44 15 01 21 20 46 00 f0 a4 ff 20 46 bd e8 10 40 00 21 00 f0 9e bf d5 49 88 42 0a d1 04 15 01 21 20 46 00 f0 96 ff 20 46 bd e8 10 40 00 21 00 f0 90 bf cf 49 88 42 0a d1 01 21 cc 03 20 46 00 f0 88 ff 20 46 bd e8 10 40 00 21 00 f0 82 bf 10 bd 10 b5 42 68 c7 4b 1a 40 0c 79 0b 68 42 ea 04 22 13 43 43 60 82 68 c4 4b 1a 40 d1 e9 02 43 23 43 4c 79 42 ea 44 02 13 43 83 60 c2 6a 22 f4 70 02 09 7c 49 1e c9 b2 42 ea 01 51 c1 62 10 bd 00 21 01 60 01 71 41 71 81 60 c1 60 01 21 cc
***piecenum = 4 , piececount = 146, pieceSize = 256****
MCU2WiFi[272629:   9]: ff ff 00 05 1e 10 00 00 33
Get One Packet!
WiFi2MCU[272733:  20]: ff ff 00 10 18 1e 00 00 07 e5 09 1d 0a 36 24 61 53 d5 6c b1
Ack GET_UTT success
WIFI_NTP : [2021-9-29 10:54:36][1406495827]
Get One Packet!
WiFi2MCU[272944:  20]: ff ff 00 10 18 1e 00 00 07 e5 09 1d 0a 36 24 61 53 d5 6c b1
Ack GET_UTT success
WIFI_NTP : [2021-9-29 10:54:36][1406495827]
Input =     1    1    1    1    1    1    0    1
Get One Packet!
WiFi2MCU[276068: 269]: ff ff 01 09 1d 10 00 00 00 04 00 92 48 09 80 00 00 f1 e0 20 c0 f8 80 61 70 bd 12 4a 11 40 01 43 0f 48 00 1f 01 60 70 47 0d 4a 12 1d 00 29 03 d0 11 68 01 43 11 60 70 47 11 68 81 43 11 60 70 47 4f f0 e0 21 04 28 04 d0 08 69 20 f0 04 00 08 61 70 47 08 69 40 f0 04 00 08 61 70 47 00 00 fa 05 0c ed 00 e0 80 ff ff 1f 10 b5 db 49 88 42 0a d1 44 15 01 21 20 46 00 f0 a4 ff 20 46 bd e8 10 40 00 21 00 f0 9e bf d5 49 88 42 0a d1 04 15 01 21 20 46 00 f0 96 ff 20 46 bd e8 10 40 00 21 00 f0 90 bf cf 49 88 42 0a d1 01 21 cc 03 20 46 00 f0 88 ff 20 46 bd e8 10 40 00 21 00 f0 82 bf 10 bd 10 b5 42 68 c7 4b 1a 40 0c 79 0b 68 42 ea 04 22 13 43 43 60 82 68 c4 4b 1a 40 d1 e9 02 43 23 43 4c 79 42 ea 44 02 13 43 83 60 c2 6a 22 f4 70 02 09 7c 49 1e c9 b2 42 ea 01 51 c1 62 10 bd 00 21 01 60 01 71 41 71 81 60 c1 60 01 21 cc
***piecenum = 4 , piececount = 146, pieceSize = 256****
MCU2WiFi[276155:   9]: ff ff 00 05 1e 10 00 00 33
Get One Packet!
WiFi2MCU[276258:  20]: ff ff 00 10 18 1e 00 00 07 e5 09 1d 0a 36 25 61 53 d5 6d b3
Ack GET_UTT success
WIFI_NTP : [2021-9-29 10:54:37][1406496083]
Input =     1    1    1    1    1    1    0    1
Get One Packet!
WiFi2MCU[279088: 269]: ff ff 01 09 1d 11 00 00 00 05 00 92 01 74 70 47 00 29 04 d0 81 68 41 f0 01 01 81 60 70 47 81 68 21 f0 01 01 81 60 70 47 00 29 04 d0 81 68 41 f4 80 71 81 60 70 47 81 68 21 f4 80 71 81 60 70 47 c9 b2 00 2a 03 d0 42 68 0a 43 42 60 70 47 42 68 8a 43 42 60 70 47 81 68 41 f0 08 01 81 60 70 47 01 46 00 20 89 68 09 07 00 d5 01 20 70 47 81 68 41 f0 04 01 81 60 70 47 01 46 00 20 89 68 49 07 00 d5 01 20 70 47 00 29 04 d0 81 68 41 f4 a0 01 81 60 70 47 81 68 21 f4 a0 01 81 60 70 47 01 46 00 20 89 68 49 02 00 d5 01 20 70 47 42 68 22 f4 60 42 49 1e 42 ea 41 31 41 60 70 47 00 29 04 d0 41 68 41 f4 00 61 41 60 70 47 41 68 21 f4 00 61 41 60 70 47 70 b5 07 26 09 29 0a d9 c5 68 a1 f1 0a 04 04 eb 44 04 a6 40 b5 43 a3 40 1d 43 c5 60 07 e0 05 69 01 eb 41 04 a6 40 b5 43 a3 40 1d 43 05 61 1f 23 07 2a 09 d2 44 6b 52 1e af
***piecenum = 5 , piececount = 146, pieceSize = 256****
MCU2WiFi[279182:   9]: ff ff 00 05 1e 11 00 00 34
Get One Packet!
WiFi2MCU[279482: 269]: ff ff 01 09 1d 11 00 00 00 05 00 92 01 74 70 47 00 29 04 d0 81 68 41 f0 01 01 81 60 70 47 81 68 21 f0 01 01 81 60 70 47 00 29 04 d0 81 68 41 f4 80 71 81 60 70 47 81 68 21 f4 80 71 81 60 70 47 c9 b2 00 2a 03 d0 42 68 0a 43 42 60 70 47 42 68 8a 43 42 60 70 47 81 68 41 f0 08 01 81 60 70 47 01 46 00 20 89 68 09 07 00 d5 01 20 70 47 81 68 41 f0 04 01 81 60 70 47 01 46 00 20 89 68 49 07 00 d5 01 20 70 47 00 29 04 d0 81 68 41 f4 a0 01 81 60 70 47 81 68 21 f4 a0 01 81 60 70 47 01 46 00 20 89 68 49 02 00 d5 01 20 70 47 42 68 22 f4 60 42 49 1e 42 ea 41 31 41 60 70 47 00 29 04 d0 41 68 41 f4 00 61 41 60 70 47 41 68 21 f4 00 61 41 60 70 47 70 b5 07 26 09 29 0a d9 c5 68 a1 f1 0a 04 04 eb 44 04 a6 40 b5 43 a3 40 1d 43 c5 60 07 e0 05 69 01 eb 41 04 a6 40 b5 43 a3 40 1d 43 05 61 1f 23 07 2a 09 d2 44 6b 52 1e af
***piecenum = 5 , piececount = 146, pieceSize = 256****
MCU2WiFi[279569:   9]: ff ff 00 05 1e 11 00 00 34
MCU2WiFi[281837:   9]: ff ff 00 05 17 1f 00 00 3b
Warning:gizProtocolResendData 282136 281842 0
Warning: timeout, resend data
MCU2WiFi[282151:   9]: ff ff 00 05 17 1f 00 00 3b
Warning:gizProtocolResendData 282450 282156 1
Warning: timeout, resend data
MCU2WiFi[282465:   9]: ff ff 00 05 17 1f 00 00 3b
Get One Packet!
WiFi2MCU[282570: 269]: ff ff 01 09 1d 11 00 00 00 05 00 92 01 74 70 47 00 29 04 d0 81 68 41 f0 01 01 81 60 70 47 81 68 21 f0 01 01 81 60 70 47 00 29 04 d0 81 68 41 f4 80 71 81 60 70 47 81 68 21 f4 80 71 81 60 70 47 c9 b2 00 2a 03 d0 42 68 0a 43 42 60 70 47 42 68 8a 43 42 60 70 47 81 68 41 f0 08 01 81 60 70 47 01 46 00 20 89 68 09 07 00 d5 01 20 70 47 81 68 41 f0 04 01 81 60 70 47 01 46 00 20 89 68 49 07 00 d5 01 20 70 47 00 29 04 d0 81 68 41 f4 a0 01 81 60 70 47 81 68 21 f4 a0 01 81 60 70 47 01 46 00 20 89 68 49 02 00 d5 01 20 70 47 42 68 22 f4 60 42 49 1e 42 ea 41 31 41 60 70 47 00 29 04 d0 41 68 41 f4 00 61 41 60 70 47 41 68 21 f4 00 61 41 60 70 47 70 b5 07 26 09 29 0a d9 c5 68 a1 f1 0a 04 04 eb 44 04 a6 40 b5 43 a3 40 1d 43 c5 60 07 e0 05 69 01 eb 41 04 a6 40 b5 43 a3 40 1d 43 05 61 1f 23 07 2a 09 d2 44 6b 52 1e af
***piecenum = 5 , piececount = 146, pieceSize = 256****
MCU2WiFi[282657:   9]: ff ff 00 05 1e 11 00 00 34
Input =     1    1    1    1    1    1    0    1
Get One Packet!
WiFi2MCU[285575: 269]: ff ff 01 09 1d 12 00 00 00 06 00 92 02 eb 82 02 93 40 9c 43 91 40 0c 43 44 63 70 bd 0d 2a 09 d2 04 6b d2 1f 02 eb 82 02 93 40 9c 43 91 40 0c 43 04 63 70 bd c4 6a 0d 3a 02 eb 82 02 93 40 9c 43 91 40 0c 43 c4 62 70 bd 00 29 04 d0 81 68 41 f4 80 11 81 60 70 47 81 68 21 f4 80 11 81 60 70 47 c0 6c 80 b2 70 47 5c 48 4c 30 00 68 70 47 00 29 04 d0 41 68 41 f4 80 61 41 60 70 47 41 68 21 f4 80 61 41 60 70 47 00 29 04 d0 41 68 41 f4 80 51 41 60 70 47 41 68 21 f4 80 51 41 60 70 47 82 68 22 f4 e0 42 0a 43 82 60 70 47 00 29 04 d0 81 68 41 f4 00 41 81 60 70 47 81 68 21 f4 00 41 81 60 70 47 00 29 04 d0 81 68 41 f4 02 11 81 60 70 47 81 68 21 f4 02 11 81 60 70 47 01 46 00 20 89 68 89 02 00 d5 01 20 70 47 70 b5 07 26 09 29 0a d9 c5 68 a1 f1 0a 04 04 eb 44 04 a6 40 b5 43 a3 40 1d 43 c5 60 07 e0 05 69 01 eb 41 04 fa
***piecenum = 6 , piececount = 146, pieceSize = 256****
MCU2WiFi[285669:   9]: ff ff 00 05 1e 12 00 00 35
Get One Packet!
WiFi2MCU[285773:  20]: ff ff 00 10 18 1f 00 00 07 e5 09 1d 0a 36 2e 61 53 d5 76 c6
Ack GET_UTT success
WIFI_NTP : [2021-9-29 10:54:46][1406498387]
Get One Packet!
WiFi2MCU[285984:  20]: ff ff 00 10 18 1f 00 00 07 e5 09 1d 0a 36 2e 61 53 d5 76 c6
Ack GET_UTT success
WIFI_NTP : [2021-9-29 10:54:46][1406498387]
Input =     1    1    1    1    1    1    0    1
Get One Packet!
WiFi2MCU[289107: 269]: ff ff 01 09 1d 12 00 00 00 06 00 92 02 eb 82 02 93 40 9c 43 91 40 0c 43 44 63 70 bd 0d 2a 09 d2 04 6b d2 1f 02 eb 82 02 93 40 9c 43 91 40 0c 43 04 63 70 bd c4 6a 0d 3a 02 eb 82 02 93 40 9c 43 91 40 0c 43 c4 62 70 bd 00 29 04 d0 81 68 41 f4 80 11 81 60 70 47 81 68 21 f4 80 11 81 60 70 47 c0 6c 80 b2 70 47 5c 48 4c 30 00 68 70 47 00 29 04 d0 41 68 41 f4 80 61 41 60 70 47 41 68 21 f4 80 61 41 60 70 47 00 29 04 d0 41 68 41 f4 80 51 41 60 70 47 41 68 21 f4 80 51 41 60 70 47 82 68 22 f4 e0 42 0a 43 82 60 70 47 00 29 04 d0 81 68 41 f4 00 41 81 60 70 47 81 68 21 f4 00 41 81 60 70 47 00 29 04 d0 81 68 41 f4 02 11 81 60 70 47 81 68 21 f4 02 11 81 60 70 47 01 46 00 20 89 68 89 02 00 d5 01 20 70 47 70 b5 07 26 09 29 0a d9 c5 68 a1 f1 0a 04 04 eb 44 04 a6 40 b5 43 a3 40 1d 43 c5 60 07 e0 05 69 01 eb 41 04 fa
***piecenum = 6 , piececount = 146, pieceSize = 256****
MCU2WiFi[289194:   9]: ff ff 00 05 1e 12 00 00 35
Get One Packet!
WiFi2MCU[289298:  20]: ff ff 00 10 18 1f 00 00 07 e5 09 1d 0a 36 2f 61 53 d5 77 c8
Ack GET_UTT success
WIFI_NTP : [2021-9-29 10:54:47][1406498643]
Input =     1    1    1    1    1    1    0    1
MCU2WiFi[291938:   9]: ff ff 00 05 17 20 00 00 3c
Get One Packet!
WiFi2MCU[292140: 269]: ff ff 01 09 1d 12 00 00 00 06 00 92 02 eb 82 02 93 40 9c 43 91 40 0c 43 44 63 70 bd 0d 2a 09 d2 04 6b d2 1f 02 eb 82 02 93 40 9c 43 91 40 0c 43 04 63 70 bd c4 6a 0d 3a 02 eb 82 02 93 40 9c 43 91 40 0c 43 c4 62 70 bd 00 29 04 d0 81 68 41 f4 80 11 81 60 70 47 81 68 21 f4 80 11 81 60 70 47 c0 6c 80 b2 70 47 5c 48 4c 30 00 68 70 47 00 29 04 d0 41 68 41 f4 80 61 41 60 70 47 41 68 21 f4 80 61 41 60 70 47 00 29 04 d0 41 68 41 f4 80 51 41 60 70 47 41 68 21 f4 80 51 41 60 70 47 82 68 22 f4 e0 42 0a 43 82 60 70 47 00 29 04 d0 81 68 41 f4 00 41 81 60 70 47 81 68 21 f4 00 41 81 60 70 47 00 29 04 d0 81 68 41 f4 02 11 81 60 70 47 81 68 21 f4 02 11 81 60 70 47 01 46 00 20 89 68 89 02 00 d5 01 20 70 47 70 b5 07 26 09 29 0a d9 c5 68 a1 f1 0a 04 04 eb 44 04 a6 40 b5 43 a3 40 1d 43 c5 60 07 e0 05 69 01 eb 41 04 fa
***piecenum = 6 , piececount = 146, pieceSize = 256****
MCU2WiFi[292227:   9]: ff ff 00 05 1e 12 00 00 35
Warning:gizProtocolResendData 292330 291942 0
Warning: timeout, resend data
MCU2WiFi[292345:   9]: ff ff 00 05 17 20 00 00 3c
Warning:gizProtocolResendData 292644 292350 1
Warning: timeout, resend data
MCU2WiFi[292659:   9]: ff ff 00 05 17 20 00 00 3c
Input =     1    1    1    1    1    1    0    1
Input =     1    1    1    1    1    1    0    1
MCU2WiFi[302025:   9]: ff ff 00 05 17 21 00 00 3d
Warning:gizProtocolResendData 302324 302029 0
Warning: timeout, resend data
MCU2WiFi[302339:   9]: ff ff 00 05 17 21 00 00 3d
Warning:gizProtocolResendData 302637 302343 1
Warning: timeout, resend data
MCU2WiFi[302653:   9]: ff ff 00 05 17 21 00 00 3d
Input =     1    1    1    1    1    1    0    1
Input =     1    1    1    1    1    1    0    1
Input =     1    1    1    1    1    1    0    1
MCU2WiFi[312086:   9]: ff ff 00 05 17 22 00 00 3e
Warning:gizProtocolResendData 312385 312091 0
Warning: timeout, resend data
MCU2WiFi[312400:   9]: ff ff 00 05 17 22 00 00 3e
Warning:gizProtocolResendData 312699 312405 1
Warning: timeout, resend data
MCU2WiFi[312714:   9]: ff ff 00 05 17 22 00 00 3e
Input =     1    1    1    1    1    1    0    1
Input =     1    1    1    1    1    1    0    1
MCU2WiFi[322177:   9]: ff ff 00 05 17 23 00 00 3f
Warning:gizProtocolResendData 322476 322182 0
Warning: timeout, resend data
MCU2WiFi[322492:   9]: ff ff 00 05 17 23 00 00 3f
Get One Packet!
WiFi2MCU[322595: 269]: ff ff 01 09 1d 14 00 00 00 08 00 92 04 d1 48 68 40 f0 0f 00 48 60 70 47 6d 4a 14 32 90 42 04 d1 48 68 40 f0 f0 00 48 60 70 47 69 4a 28 32 90 42 04 d1 48 68 40 f4 70 60 48 60 70 47 64 4a 3c 32 90 42 04 d1 48 68 40 f4 70 40 48 60 70 47 60 4a 50 32 90 42 04 d1 48 68 40 f4 70 20 48 60 70 47 5b 4a 64 32 90 42 04 d1 48 68 40 f4 70 00 48 60 70 47 57 4a 78 32 90 42 04 d1 48 68 40 f0 70 60 48 60 70 47 53 4a 11 1f 90 42 04 d1 08 68 40 f0 0f 00 08 60 70 47 4f 4a 14 32 90 42 04 d1 08 68 40 f0 f0 00 08 60 70 47 4a 4a 28 32 90 42 04 d1 08 68 40 f4 70 60 08 60 70 47 46 4a 3c 32 90 42 04 d1 08 68 40 f4 70 40 08 60 70 47 41 4a 50 32 90 42 fa d1 08 68 40 f4 70 20 08 60 70 47 30 b5 02 68 47 f6 f0 73 9a 43 0c 6a 8b 68 23 43 d1 e9 04 45 2c 43 23 43 8c 69 23 43 cc 69 23 43 4c 6a 23 43 8c 6a 23 43 13 43 03 60 ca 68 04
***piecenum = 8 , piececount = 146, pieceSize = 256****
MCU2WiFi[322689:   9]: ff ff 00 05 1e 14 00 00 37
Warning:gizProtocolResendData 322792 322496 1
Warning: timeout, resend data
MCU2WiFi[322807:   9]: ff ff 00 05 17 23 00 00 3f
Input =     1    1    1    1    1    1    0    1
Input =     1    1    1    1    1    1    0    1
Input =     1    1    1    1    1    1    0    1
MCU2WiFi[332339:   9]: ff ff 00 05 17 24 00 00 40
Warning:gizProtocolResendData 332637 332343 0
Warning: timeout, resend data
MCU2WiFi[332653:   9]: ff ff 00 05 17 24 00 00 40
Warning:gizProtocolResendData 332951 332657 1
Warning: timeout, resend data
MCU2WiFi[332967:   9]: ff ff 00 05 17 24 00 00 40
Input =     1    1    1    1    1    1    0    1

3

主题

13

帖子

413

积分

中级会员

Rank: 3Rank: 3

积分
413
8#
 楼主| 发表于 2021-10-24 20:45:48 | 只看该作者
终于找到了原因,是系统中有读取多个DS18B20,长时间的脉冲延时干扰了OTA的工作,在数据收发程序里面设了一个全局变量,进入大数据收发的时候关闭 DS18B20的数据采集,完成升级后恢复 DS18B20的的数据采集,OTA正常了
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

加入Q群 返回顶部

版权与免责声明 © 2006-2024 Gizwits IoT Technology Co., Ltd. ( 粤ICP备11090211号 )

快速回复 返回顶部 返回列表