灯笼裤飞机 发表于 2016-12-22 18:31:23

esp8266 soc 方案 DID为空

采用32Mbit-C1 烧写后无限重启,改成8M后 可以正常启动 看打印有flash读写错误的打印,AIRLINK配对成功后,无法绑定,求大神解惑。

Magic number different : 0.
CRITICAL passcode:KFCETHWWCCSave gagent config data
Flash erase failed, err: 1
Domain:api.gizwits.com:80.
timezone:8
spi_flash_read failed,error num = 1
Flash data is invalid.

onboardingBroadCastTime:26
startupBroadCastTime:26
DID len error!
SC_STATUS_LINK_OVER
Phone ip: 192.168.121.23
httpResendTimerCb ip is null.
onboardingBroadCastTime:25
startupBroadCastTime:25
DID len error!
onboardingBroadCastTime:24
startupBroadCastTime:24

bike 发表于 2016-12-22 22:12:53

是用的自动生成的代码么?应该还是flash匹配的事情,看你日志:
CRITICAL passcode:KFCETHWWCCSave gagent config data
Flash erase failed, err: 1,

flash擦除都出问题了。文档中心有烧写的帖子,可以参考

yCat 发表于 2016-12-23 10:09:52

bike 发表于 2016-12-22 22:12
是用的自动生成的代码么?应该还是flash匹配的事情,看你日志:
CRITICAL passcode:KFCETHWWCCSave...

Magic number different : 0.
CRITICAL passcode:KFCETHWWCCSave gagent config data
Flash erase failed, err: 1
Domain:api.gizwits.com:80.
timezone:8
spi_flash_read failed,error num = 1
Flash data is invalid.

onboardingBroadCastTime:26
startupBroadCastTime:26
DID len error!
SC_STATUS_LINK_OVER
Phone ip: 192.168.121.23
httpResendTimerCb ip is null.
onboardingBroadCastTime:25
startupBroadCastTime:25
DID len error!
onboardingBroadCastTime:24
startupBroadCastTime:24
红色字体部分,你32bit-c1的方式才行的,8m是无法工作的,重启的问题你检查一下你的编译环境以及你的源码有没有写错~

凌顺 发表于 2017-1-8 21:00:02

我也遇到类似的问题,DID len error

请问楼主解决了吗?

凌顺 发表于 2017-1-8 21:41:16

我用的是4M flash 烧写的

文档上不是说了只能4M flash吗?

Smilexxy 发表于 2017-1-10 13:55:09

楼主也是用的ESP8266的SOC方案吗?直接下的自动生成的固件??
页: [1]
查看完整版本: esp8266 soc 方案 DID为空