收藏官网首页
查看: 5227|回复: 3

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

3

主题

8

帖子

110

积分

注册会员

Rank: 2

积分
110
发表于 2017-8-4 10:45:48 | 显示全部楼层 |阅读模式
免费使用STM32、APP自动代码生成工具

下载设置

下载设置

刷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 mode3,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 mode3,7)


ets_main.c






刷8M后打印

8.png

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



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

QQ截图20170804102342.png
QQ截图20170804102416.png
as.png

3

主题

8

帖子

110

积分

注册会员

Rank: 2

积分
110
 楼主| 发表于 2017-8-4 15:15:38 | 显示全部楼层
有人知道不  在线等

321

主题

1054

帖子

4394

积分

论坛元老

Rank: 8Rank: 8

积分
4394
QQ
发表于 2017-8-5 09:52:15 | 显示全部楼层
发个图看下你的板子

点评

谢谢你 已经解决了 换了官方的小黑板 之前芯片可能flash大小有问题  详情 回复 发表于 2017-8-7 08:52
1、机智云QQ群:G1群:104975951 G2群:491509598 G3群:287087942
机智云爱好者-APP开发群: 599735135
QQ群目前非常活跃,欢迎大家参与进来,交流,讨论,答疑,解惑~~
2、机智云微信公众号: 机智云 gizwits、 机智云智能宠物屋go-iot
关注机智云Gizwits官方公众号随时掌握最新资讯和活动信息

3

主题

8

帖子

110

积分

注册会员

Rank: 2

积分
110
 楼主| 发表于 2017-8-7 08:52:47 | 显示全部楼层
bigfanofloT 发表于 2017-8-5 09:52
发个图看下你的板子

谢谢你 已经解决了 换了官方的小黑板   之前芯片可能flash大小有问题
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

加入Q群 返回顶部

© 2011-2017 Gizwits ( 粤ICP备11090211号 )

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