zforl 发表于 2017-8-4 10:45:48

求解esp8266-12f刷机智云soc自动生成固件32M没法使用


刷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
Magic number different : 0.
CRITICAL passcode:TSWNLISTVYSave gagent config data
Domain:api.gizwits.com:80.
tz in sec:28800,timezone:8.0
NWK_WIFI_ONBOARDING_UP

只打印这么多就不动了
重启后换波特率打印
ets Jan8 2013,rst cause:1, boot mode:(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 Jan8 2013,rst cause:3, boot mode:(3,7)

ets_main.c





刷8M后打印

system_get_free_heap_size=36688
reset reason: 0
---UPGRADE_FW_BIN1---
gpio_name 0
Magic number different : 0.
CRITICAL passcode:EISNMVTXOHSave gagent config data
Flash erase failed, err: 1
Domain:api.gizwits.com:80.
tz in sec:28800,timezone:8.0
spi_flash_read failed,error num = 1
Flash data is invalid.
NWK_WIFI_ONBOARDING_UP
SC version: V2.5.4
OpenAirlink...
GAgent Start...

----------------------------------------- GAGENT INFO --------------------------------------

GAgent Product Soft Version: 04020021. Hard Version: 00ESP826
GAgent Compiled Time: Mar1 2017, 14:15:23.
GAgent cache first ssid ,key .
GAgent backup ssid , key .
GAgent mac :5CCF7F1751DF
GAgent passcode :EISNMVTXOH len=10
GAgent did : len:0
GAgent old passcode:
GAgent old did : len:0
GAgent old pk : len:0
GAgent AP name:XPG-GAgent-51DF
GAgent 3rd cloud :
GAgent M2M Host : , IP :0.0.0.0
GAgent GService Host : , Port :0 , IP :0.0.0.0
GAgent BizLogLev:00,SysLogLev:00
--------------------------------------------------------------------------------------

可以运行 但是有错误 测试APP可以发现设备但是无法绑定和控制设备
求指点 这要怎么办
connected with FAST_5C94, channel 13
dhcp client start...
connect to ssid FAST_5C94, channel 13
ip:192.168.0.113,mask:255.255.255.0,gw:192.168.0.1
ip:192.168.0.113,mask:255.255.255.0,gw:192.168.0.1
NWK_WIFI_STA_CONNECTED
Not ip, Go to GServer DNS.
dns: api.gizwits.com found null obj. idex: 0
Save gagent config data
Flash erase failed, err: 1
enable bind mode, timeout time: 0.
Cancle router connect monitor.
haiNwkStatus: 0x001A, gagentStatus: 0x001A
frDnsIpFound dns ip found: 119.29.47.111
frFaultProgress FR_DNS_RESULT.
DNS GServer ip is change. old GServer_ip : 0.0.0.0
Save gagent config data
Flash erase failed, err: 1
DNS result GServer_ip : 119.29.47.111
gagentTimerDel <null> has not linked.
Need to get did!!!
Save gagent config data
Flash erase failed, err: 1
http connect succeed !!!
onboardingBroadCastTime:29
startupBroadCastTime:29
DID len error!
GAgentStatus change, lastGAgentStatus:0x000A, newGAgentStatus:0x041A
@@@@ GAgentStatus:41a | :0,1,1,0,1,0
OnBoarding: Station mode
WiFi status: connected router
RSSI 4
Save gagent config data
Flash erase failed, err: 1
Register got did : len=0
GAgent go to provision!!!
httpResendTimerCb ip is null.
onboardingBroadCastTime:28
startupBroadCastTime:28
DID len error!
DID len error!
GAgent ack app discover ret=0...
DID len error!
GAgent ack app discover ret=0...
startupBroadCastTime:27
DID len error!
onboardingBroadCastTime:27
onboardingBroadCastTime:26
startupBroadCastTime:26
DID len error!
SC_STATUS_LINK_OVER
Phone ip: 192.168.0.104
DID len error!
GAgent ack app discover ret=0...
DID len error!
GAgent ack app discover ret=0...
onboardingBroadCastTime:25
startupBroadCastTime:25
DID len error!
onboardingBroadCastTime:24
startupBroadCastTime:24
DID len error!
DID len error!
GAgent ack app discover ret=0...
DID len error!
GAgent ack app discover ret=0...
startupBroadCastTime:23
DID len error!
onboardingBroadCastTime:23
onboardingBroadCastTime:22
startupBroadCastTime:22
DID len error!
DID len error!
GAgent ack app discover ret=0...
DID len error!
GAgent ack app discover ret=0...
onboardingBroadCastTime:21
startupBroadCastTime:21
DID len error!
pm open,type:0 0
onboardingBroadCastTime:20
startupBroadCastTime:20
DID len error!
DID len error!
GAgent ack app discover ret=0...
DID len error!
GAgent ack app discover ret=0...
startupBroadCastTime:19
DID len error!
onboardingBroadCastTime:19
onboardingBroadCastTime:18
startupBroadCastTime:18
DID len error!


Create pd:1ip:192.168.0.104 port:60851
New client connect,pd:1
Receive lan tcp packet cnt is 1
Send passcode() to client.
Lan tcp disconnect success,ip:192.168.0.104 port:60851
Turn on device restart count down, flag: 0
lan client num : 0,wan client num : 0
Create pd:1ip:192.168.0.104 port:60852
New client connect,pd:1
Receive lan tcp packet cnt is 1
Send passcode() to client.
Lan tcp disconnect success,ip:192.168.0.104 port:60852
Turn on device restart count down, flag: 0
lan client num : 0,wan client num : 0
Create pd:1ip:192.168.0.104 port:60853
New client connect,pd:1
Receive lan tcp packet cnt is 1
Send passcode() to client.
Lan tcp disconnect success,ip:192.168.0.104 port:60853
Turn on device restart count down, flag: 0
lan client num : 0,wan client num : 0
Create pd:1ip:192.168.0.104 port:60854
New client connect,pd:1
Receive lan tcp packet cnt is 1
Send passcode() to client.
Lan tcp disconnect success,ip:192.168.0.104 port:60854
Turn on device restart count down, flag: 0
lan client num : 0,wan client num : 0
DID len error!
GAgent ack app discover ret=0...
Create pd:1ip:192.168.0.104 port:60855
New client connect,pd:1
Receive lan tcp packet cnt is 1
Send passcode() to client.
Lan tcp disconnect success,ip:192.168.0.104 port:60855
Turn on device restart count down, flag: 0
lan client num : 0,wan client num : 0
Create pd:1ip:192.168.0.104 port:60856
New client connect,pd:1
Receive lan tcp packet cnt is 1
Send passcode() to client.
Lan tcp disconnect success,ip:192.168.0.104 port:60856
Turn on device restart count down, flag: 0
lan client num : 0,wan client num : 0


刷官方的宠物屋也无法运行

zforl 发表于 2017-8-4 15:15:38

有人知道不在线等

bigfanofloT 发表于 2017-8-5 09:52:15

发个图看下你的板子

zforl 发表于 2017-8-7 08:52:47

bigfanofloT 发表于 2017-8-5 09:52
发个图看下你的板子

谢谢你 已经解决了 换了官方的小黑板   之前芯片可能flash大小有问题
页: [1]
查看完整版本: 求解esp8266-12f刷机智云soc自动生成固件32M没法使用