刷32M后串口打印 不能运行
??t?(蒃琩?x螮X|鴏 <C/Xl?8Y喟C?$89C禳よ$癶f]?---------------SDK version:2.0.0(5a875ba)--------------
system_get_free_heap_size=36688
reset reason: 0
---UPGRADE_FW_BIN1---
gpio_name 0
[Dev] Magic number different : 0.
CRITICAL passcode:TSWNLISTVY[Dev] Save GAgent config data
[Dev] Domain:api.gizwits.com:80.
[Dev] tz in sec:28800,timezone:8.0
[NWK] NWK_WIFI_ONBOARDING_UP
只打印这么多就不动了
重启后换波特率打印
ets Jan 8 2013,rst cause:1, boot mode ![](static/image/smiley/default/sad.gif) 3,7)
load 0x40100000, len 2408, room 16
tail 8
chksum 0xe5
load 0x3ffe8000, len 776, room 0
tail 8
chksum 0x84
load 0x3ffe8310, len 632, room 0
tail 8
chksum 0xd8
csum 0xd8
2nd boot version : 1.6
SPI Speed : 40MHz
SPI Mode : QIO
SPI Flash Size & Map: 32Mbit(1024KB+1024KB)
no GPIO select!
jump to run user1 @ 1000
ets Jan 8 2013,rst cause:3, boot mode ![](static/image/smiley/default/sad.gif) 3,7)
ets_main.c
刷8M后打印
system_get_free_heap_size=36688
reset reason: 0
---UPGRADE_FW_BIN1---
gpio_name 0
[Dev] Magic number different : 0.
CRITICAL passcode:EISNMVTXOH[Dev] Save gagent config data
[Dev] Flash erase failed, err: 1
[Dev] Domain:api.gizwits.com:80.
[Dev] tz in sec:28800,timezone:8.0
[FS] spi_flash_read failed,error num = 1
[FS] Flash data is invalid.
[NWK] NWK_WIFI_ONBOARDING_UP
SC version: V2.5.4
[WiFiEvent] OpenAirlink...
[GAgent] GAgent Start...
[Local]
----------------------------------------- GAGENT INFO --------------------------------------
[Local] GAgent Product Soft Version: 04020021. Hard Version: 00ESP826
[Local] GAgent Compiled Time: Mar 1 2017, 14:15:23.
[Local] GAgent cache first ssid , key .
[Local] GAgent backup ssid , key .
[Local] GAgent mac :5CCF7F1751DF
[Local] GAgent passcode :EISNMVTXOH len=10
[Local] GAgent did : len:0
[Local] GAgent old passcode:
[Local] GAgent old did : len:0
[Local] GAgent old pk : len:0
[Local] GAgent AP name:XPG-GAgent-51DF
[Local] GAgent 3rd cloud :
[Local] GAgent M2M Host : , IP :0.0.0.0
[Local] GAgent GService Host : , Port :0 , IP :0.0.0.0
[Local] GAgent BizLogLev:00,SysLogLev:00
[Local] --------------------------------------------------------------------------------------
可以运行 但是有错误 测试APP可以发现设备 但是无法绑定和控制设备
求指点 这要怎么办
connected with FAST_5C94, channel 13
dhcp client start...
[WiFiEvent] connect to ssid FAST_5C94, channel 13
ip:192.168.0.113,mask:255.255.255.0,gw:192.168.0.1
[WiFiEvent] ip:192.168.0.113,mask:255.255.255.0,gw:192.168.0.1
[NWK] NWK_WIFI_STA_CONNECTED
[GServer] Not ip, Go to GServer DNS.
[FR] dns: api.gizwits.com found null obj. idex: 0
[Dev] Save gagent config data
[Dev] Flash erase failed, err: 1
[WiFiEvent] enable bind mode, timeout time: 0.
[FR] Cancle router connect monitor.
[NWK] haiNwkStatus: 0x001A, gagentStatus: 0x001A
[FR] frDnsIpFound dns ip found: 119.29.47.111
[FR] frFaultProgress FR_DNS_RESULT.
[GServer] DNS GServer ip is change. old GServer_ip : 0.0.0.0
[Dev] Save gagent config data
[Dev] Flash erase failed, err: 1
[GServer] DNS result GServer_ip : 119.29.47.111
[Timer] gagentTimerDel <null> has not linked.
[GServer] Need to get did!!!
[Dev] Save gagent config data
[Dev] Flash erase failed, err: 1
[GServer] http connect succeed !!!
[Lan] onboardingBroadCastTime:29
[Lan] startupBroadCastTime:29
[Lan] DID len error!
[Local] GAgentStatus change, lastGAgentStatus:0x000A, newGAgentStatus:0x041A
@@@@ GAgentStatus[hex]:41a | [Bin]:0,1,1,0,1,0
OnBoarding: Station mode
WiFi status: connected router
RSSI 4
[Dev] Save gagent config data
[Dev] Flash erase failed, err: 1
[GServer] Register got did : len=0
[GServer] GAgent go to provision!!!
[GServer] httpResendTimerCb ip is null.
[Lan] onboardingBroadCastTime:28
[Lan] startupBroadCastTime:28
[Lan] DID len error!
[Lan] DID len error!
[Lan] GAgent ack app discover ret=0...
[Lan] DID len error!
[Lan] GAgent ack app discover ret=0...
[Lan] startupBroadCastTime:27
[Lan] DID len error!
[Lan] onboardingBroadCastTime:27
[Lan] onboardingBroadCastTime:26
[Lan] startupBroadCastTime:26
[Lan] DID len error!
[WiFiEvent] SC_STATUS_LINK_OVER
[WiFiEvent] Phone ip: 192.168.0.104
[Lan] DID len error!
[Lan] GAgent ack app discover ret=0...
[Lan] DID len error!
[Lan] GAgent ack app discover ret=0...
[Lan] onboardingBroadCastTime:25
[Lan] startupBroadCastTime:25
[Lan] DID len error!
[Lan] onboardingBroadCastTime:24
[Lan] startupBroadCastTime:24
[Lan] DID len error!
[Lan] DID len error!
[Lan] GAgent ack app discover ret=0...
[Lan] DID len error!
[Lan] GAgent ack app discover ret=0...
[Lan] startupBroadCastTime:23
[Lan] DID len error!
[Lan] onboardingBroadCastTime:23
[Lan] onboardingBroadCastTime:22
[Lan] startupBroadCastTime:22
[Lan] DID len error!
[Lan] DID len error!
[Lan] GAgent ack app discover ret=0...
[Lan] DID len error!
[Lan] GAgent ack app discover ret=0...
[Lan] onboardingBroadCastTime:21
[Lan] startupBroadCastTime:21
[Lan] DID len error!
pm open,type:0 0
[Lan] onboardingBroadCastTime:20
[Lan] startupBroadCastTime:20
[Lan] DID len error!
[Lan] DID len error!
[Lan] GAgent ack app discover ret=0...
[Lan] DID len error!
[Lan] GAgent ack app discover ret=0...
[Lan] startupBroadCastTime:19
[Lan] DID len error!
[Lan] onboardingBroadCastTime:19
[Lan] onboardingBroadCastTime:18
[Lan] startupBroadCastTime:18
[Lan] DID len error!
[GAgent] Create pd:1 ip:192.168.0.104 port:60851
[Lan] New client connect,pd:1
[Lan] Receive lan tcp packet cnt is 1
[Lan] Send passcode() to client[1][send data len:0].
[Lan] Lan tcp disconnect success,ip:192.168.0.104 port:60851
[Dev] Turn on device restart count down, flag: 0
[Lan] lan client num : 0,wan client num : 0
[GAgent] Create pd:1 ip:192.168.0.104 port:60852
[Lan] New client connect,pd:1
[Lan] Receive lan tcp packet cnt is 1
[Lan] Send passcode() to client[1][send data len:0].
[Lan] Lan tcp disconnect success,ip:192.168.0.104 port:60852
[Dev] Turn on device restart count down, flag: 0
[Lan] lan client num : 0,wan client num : 0
[GAgent] Create pd:1 ip:192.168.0.104 port:60853
[Lan] New client connect,pd:1
[Lan] Receive lan tcp packet cnt is 1
[Lan] Send passcode() to client[1][send data len:0].
[Lan] Lan tcp disconnect success,ip:192.168.0.104 port:60853
[Dev] Turn on device restart count down, flag: 0
[Lan] lan client num : 0,wan client num : 0
[GAgent] Create pd:1 ip:192.168.0.104 port:60854
[Lan] New client connect,pd:1
[Lan] Receive lan tcp packet cnt is 1
[Lan] Send passcode() to client[1][send data len:0].
[Lan] Lan tcp disconnect success,ip:192.168.0.104 port:60854
[Dev] Turn on device restart count down, flag: 0
[Lan] lan client num : 0,wan client num : 0
[Lan] DID len error!
[Lan] GAgent ack app discover ret=0...
[GAgent] Create pd:1 ip:192.168.0.104 port:60855
[Lan] New client connect,pd:1
[Lan] Receive lan tcp packet cnt is 1
[Lan] Send passcode() to client[1][send data len:0].
[Lan] Lan tcp disconnect success,ip:192.168.0.104 port:60855
[Dev] Turn on device restart count down, flag: 0
[Lan] lan client num : 0,wan client num : 0
[GAgent] Create pd:1 ip:192.168.0.104 port:60856
[Lan] New client connect,pd:1
[Lan] Receive lan tcp packet cnt is 1
[Lan] Send passcode() to client[1][send data len:0].
[Lan] Lan tcp disconnect success,ip:192.168.0.104 port:60856
[Dev] Turn on device restart count down, flag: 0
[Lan] lan client num : 0,wan client num : 0
刷官方的宠物屋也无法运行
|