收藏官网首页
查看: 2522|回复: 2

[求助] 咨询ESP8266 8M SOC方案。。配网不成功的问题

1

主题

1

帖子

88

积分

注册会员

Rank: 2

积分
88
跳转到指定楼层
楼主
 楼主| 发表于 2021-5-25 17:03:00 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
教您5分钟接入机智云,实现傻瓜式开发
使用32M,16M,都是正常,只有8M。。。配网就重启。看到有写错误:[023816][FR]  Cancle router connect monitor.[023816][Dev]  Save GAgent config data,start erase flash.
[023816][Dev]  Flash erase failed, err: 1

完整LOG如下:
  1. rld湠|宭鄚 ?$?c|巸?搟揷?c岥o'焞no溿? bx鋸l;l{lp?'? ? d  co銃??c匊'o?d屒使用32M,16M,都是正常,只有8M。。。配网就重启。看到有写错误:[023816][FR]  Cancle router connect monitor.[023816][Dev]  Save gagent config data,start erase flash.
  2. [023816][Dev]  Flash erase failed, err: 1

  3. 完整LOG如下:
  4. ?gn d`gs庅搉 蹞d`p鹓?s臏溿?  c n鈢烨弴#岓ng? 使用32M,16M,都是正常,只有8M。。。配网就重启。看到有写错误:[023816][FR]  Cancle router connect monitor.[023816][Dev]  Save gagent config data,start erase flash.
  5. [023816][Dev]  Flash erase failed, err: 1

  6. 完整LOG如下:
  7. ?gn d`or帥抧  ?dp鹓?r劀茔囔d c n銃那? #捏no? d`?g' l`or菦?' ?d`{挀o ?l`sd寣g湆鹢g煂炪剆g'o?l刢?l?抎?摏?  ?嘾l$s$ ?搇l$o溿   ?l踠$l?抎剺'鄰n鞗o?寣$d鄝#llxc?c{儗鋖 'd噋屼d`cl d摏g 瀘寷?'$遼# l d`rl屸?僶錄r凔g|? ?$莤sd屻r踠?$? l 屸{搇鋖?  d`勩;沝 師? ?使用32M,16M,都是正常,只有8M。。。配网就重启。看到有写错误:[023816][FR]  Cancle router connect monitor.[023816][Dev]  Save gagent config data,start erase flash.
  8. [023816][Dev]  Flash erase failed, err: 1

  9. 完整LOG如下:
  10. 烕渙鄮gl;l噧{鶮KKKKKKKKKKKKKK*?
  11. 矔赏ソ归2.0.0(5a875ba)--------------
  12. system_get_free_heap_size=33552
  13. reset reason: 6
  14. ---UPGRADE_FW_BIN1---
  15. [030432][Local] default szWechatDeviceType    : gh_35dd1e10ab57
  16. [030432][Local] default szGAgentSoftApName    : XPG-GAgent-b2e8
  17. [030432][Local] default szGAgentSoftApPwd     : 123456789
  18. [030432][Local] default szGAgentSever         : api.gizwits.com
  19. [030432][Local] default gagentSeverPort       : 80
  20. [030432][Local] default localHBIntervalS      : 40
  21. [030432][Local] default localTransIntervalMS  : 450
  22. [030432][Local] default m2mKeepAliveS         : 150
  23. [030432][Local] default m2mHBIntervalS        : 50
  24. [030432][Local] default timeZoneS             : 0
  25. [030432][Local] default configMode            : 2
  26. [030432][Local] default tScanNum              : 0
  27. [030432][Local] default tCon                  : 0
  28. [026832][Dev] GAgent_DevGetConfigData Flash data Error.
  29. [026832][Dev]  Magic number different : 0.[026832][Local] GAgent creat new passcode : KAA***UIG
  30. [026832][Dev]  Save gagent config data,start erase flash.
  31. [026832][Dev]  Flash erase failed, err: 1
  32. [025800][Log] gatLogGetBufOffset finding header error...
  33. [025800][Log] gatLogErrorProess :has error data,erase flash!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.
  34. [025800][Log] gatLogGetBufOffset finding header error...
  35. [025800][Log] gagentLogInit wOffset:0 rOffset:0.
  36. [025800][Dev] Domain:api.gizwits.com:80.
  37. [025800][Dev] tz in sec:28800,timezone:8.0
  38. [025736][LanOTA] lanOTAInit ...... ok
  39. [025688][Simulator] GAgent lib Time:Jan 15 2021 12:40:23
  40. [025688][GAgent] GAgent Start...
  41. [025688][WiFiEvent] GAgent_WiFiInit preSetWifiMode:2 expectWifiMode:2.
  42. [025688][NWK] NWK_WIFI_ONBOARDING_UP
  43. SC version: V2.5.4
  44. [025424][WiFiEvent] OpenAirlink...
  45. [025424][Local] MCU old product_key: need to Refresh
  46. [025424][Local] GAgent creat new passcode : DLW***CSF
  47. [025424][Dev]  Save gagent config data,start erase flash.
  48. [025424][Dev]  Flash erase failed, err: 1
  49. [025424][Local] ----------------------------------------- GAGENT INFO --------------------------------------
  50. [025424][Local] GAgent Work in GAGENT_SOC.
  51. [025424][Local] GAgent Product Soft Version:04020A25.
  52. [025424][Local] GAgent Product Hard Version:00ESP826.
  53. [025424][Local] GAgent Compiled Time       :Jan 15 2021, 12:40:24.
  54. [025424][Local] GAgent cache first ssid    :.
  55. [025424][Local] GAgent backup ssid         :.
  56. [025424][Local] GAgent mac                 :68c63a97b2e8
  57. [025424][025424][Auth] No authkey in this flash,need to create.
  58. [025424][Dev]  Save gagent config data,start erase flash.
  59. [025424][Dev]  Flash erase failed, err: 1
  60. [025424][Auth] auth key create success.
  61. [Local] GAgent authKey             :8f8******************8fb
  62. [025424][Local] GAgent passcodelen:10      :DLW***CSF
  63. [025424][Local] GAgent did                 :
  64. [025424][Local] GAgent old passcode        :KAA***UIG
  65. [025424][Local] GAgent old_did             :
  66. [025424][Local] GAgent old pk              :92c2dba0a1bd47698d9adf678023a310 len:32
  67. [025424][Local] GAgent AP name             :XPG-GAgent-b2e8
  68. [025424][Local] GAgent 3rd cloud           :
  69. [025424][Local] GAgent M2M Host            : , IP :0.0.0.0
  70. [025424][Local] GAgent Default GServer Host:api.gizwits.com port:80
  71. [025424][Local] GAgent GService Host       : , Port :0 , IP :0.0.0.0
  72. [025424][Local] GAgent BizLogLev           :00,SysLogLev:00
  73. [025424][Local] GAgent tz_offset           :28800
  74. [025424][Local] GAgent location_id         :0
  75. [025424][Local] GAgent MCU Protocol Vertion:00000004.
  76. [025424][Local] GAgent MCU P0 Vertion      :00000002.
  77. [025424][Local] GAgent MCU Hard Vertion    :03000001.
  78. [025424][Local] GAgent MCU Soft Vertion    :03030000.
  79. [025424][Local] GAgent WeChat Device Type:gh_******b57
  80. [025424][Local] Flash Size:FLASH_SIZE_32Mbit .
  81. [025424][Local] --------------------------------------------------------------------------------------

  82. devAuthResultCb
  83. gizwitsInit OK
  84. gpio_name 0
  85. gpio_name 14
  86. --- system_free_size = 25376 ---
  87. mode : sta(68:c6:3a:97:b2:e8)
  88. add if0
  89. [024016][NWK] gagentNwkEventCB event: 0x0040
  90. [024016][Local] GAgentStatus change, lastGAgentStatus:0x0000, newGAgentStatus:0x000C
  91. @@@@ GAgentStatus[hex]:0c | [Bin]:0,0,1,1,0,0
  92. OnBoarding: AirLink mode
  93. WiFi status: in binding mode
  94. @@@@ RSSI 0
  95. [024016][FR]  Cancle router connect monitor.
  96. [024016][Dev]  Save gagent config data,start erase flash.
  97. [024016][Dev]  Flash erase failed, err: 1
  98. [024016][NWK] haiNwkStatus: 0x000C, gagentStatus: 0x000C
  99. scandone
  100. scandone
  101. [021472][WiFiEvent] SC_STATUS_FIND_CHANNEL
  102. TYPE: ESPTOUCH
  103. [022064][WiFiEvent] SC_STATUS_GETTING_SSID_PSWD
  104. [022064][WiFiEvent] SC_TYPE:SC_TYPE_ESPTOUCH
  105. F|pswd: homerun2g4
  106. F|ssid: Homerun-2G4
  107. [021952][WiFiEvent] SC_STATUS_LINK
  108. [021952][NWK] NWK_WIFI_ONBOARDING_DOWN
  109. [021952][Timer] gagentTimerDel <null> has not linked.
  110. [021952][GAgent] gatConfigDataParse config data:
  111. [021952]**************** 0064 ***************
  112. 68 6f 6d 65 72 75 6e 32 67 34 00 1b 30 1b 38 30 1b 33 30 39
  113. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  114. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  115. 00 00 00 00

  116. [021952][GAgent] pwd:homerun2g4.
  117. [021952][GAgent] cmd:0.
  118. [021952][WiFiEvent] info:309.
  119. [021952][WiFiEvent] app set timezone szTZ1=8 szTZ2=0 timeZoneSec=28800
  120. [021952][WiFiEvent] GAgent got locationId = 309.
  121. [021952][WiFiEvent] The same as current gserver,don't update to GAgent.
  122. [021952][Dev]  Save gagent config data,start erase flash.
  123. [021952][Dev]  Flash erase failed, err: 1
  124. [021952][WiFiEvent] AirLink result ssid:Homerun-2G4 key:homerun2g4
  125. [021952][WiFiEvent] bssid_set=0 bssid:000000000000.
  126. [021976][NWK] gagentNwkEventCB event: 0x0080
  127. [021976][Local] GAgentStatus change, lastGAgentStatus:0x000C, newGAgentStatus:0x0008
  128. @@@@ GAgentStatus[hex]:08 | [Bin]:0,0,1,0,0,0
  129. @@@@ RSSI 0
  130. [021976][FR]  Receive OnBoarding data.
  131. [021976][Dev]  Save gagent config data,start erase flash.
  132. [021976][Dev]  Flash erase failed, err: 1
  133. [021776][NWK] NWK_WIFI_STA_UP
  134. [021776][Dev] gagentDevRestart 1259 GAGENT_RESTART_CONFIG
  135. [021776][Dev] some net err occur,do nothing !!!
  136. [021776][Dev] Please restart GAgent !!!
  137. scandone
  138. del if0
  139. usl
  140. [021976][NWK] haiNwkStatus: 0x000A, gagentStatus: 0x000A
  141. [021976][NWK] gagentNwkEventCB event: 0x0004
  142. [021976][Local] GAgentStatus change, lastGAgentStatus:0x0008, newGAgentStatus:0x000A
  143. @@@@ GAgentStatus[hex]:0a | [Bin]:0,0,1,0,1,0
  144. OnBoarding: Station mode
  145. @@@@ RSSI 0
  146. [021976][NWK] haiNwkStatus: 0x000A, gagentStatus: 0x000A

  147. ets Jan  8 2013,rst cause:2, boot mode:(3,7)

  148. load 0x40100000, len 2408, room 16
  149. tail 8
  150. chksum 0xe5
  151. load 0x3ffe8000, len 776, room 0
  152. tail 8
  153. chksum 0x84
  154. load 0x3ffe8310, len 632, room 0
  155. tail 8
  156. chksum 0xd8
  157. csum 0xd8

  158. 2nd boot version : 1.6
  159.   SPI Speed      : 40MHz
  160.   SPI Mode       : QIO
  161.   SPI Flash Size & Map: 8Mbit(512KB+512KB)
  162. jump to run user1 @ 1000

  163. 屸?僩錄s凔g|? 刲莤sd屻r踠?$? l 屸{搇鋖?  d`勩;?$ 師? ?使用32M,16M,都是正常,只有8M。。。配网就重启。看到有写错误:[023816][FR]  Cancle router connect monitor.[023816][Dev]  Save gagent config data,start erase flash.
  164. [023816][Dev]  Flash erase failed, err: 1

  165. 完整LOG如下:
  166. sd莾r$倪銓# 膶#宑cs鞆;c潲g鐎'o? $掦 d ?l剣l$?偰寗烨l?o?劅銓c d l弐x 尀銓bl 腸rd;l廮┅┅┅┅┅┅┅iE-乿ersion:2.0.0(5a875ba)--------------
  167. system_get_free_heap_size=33552
  168. reset reason: 4
  169. ---UPGRADE_FW_BIN1---
  170. [030432][Local] default szWechatDeviceType    : gh_35dd1e10ab57
  171. [030432][Local] default szGAgentSoftApName    : XPG-GAgent-b2e8
  172. [030432][Local] default szGAgentSoftApPwd     : 123456789
  173. [030432][Local] default szGAgentSever         : api.gizwits.com
  174. [030432][Local] default gagentSeverPort       : 80
  175. [030432][Local] default localHBIntervalS      : 40
  176. [030432][Local] default localTransIntervalMS  : 450
  177. [030432][Local] default m2mKeepAliveS         : 150
  178. [030432][Local] default m2mHBIntervalS        : 50
  179. [030432][Local] default timeZoneS             : 0
  180. [030432][Local] default configMode            : 2
  181. [030432][Local] default tScanNum              : 0
  182. [030432][Local] default tCon                  : 0
  183. [026832][Dev] GAgent_DevGetConfigData Flash data Error.
  184. [026832][Dev]  Magic number different : 0.[026832][Local] GAgent creat new passcode : JCY***PBS
  185. [026832][Dev]  Save gagent config data,start erase flash.
  186. [026832][Dev]  Flash erase failed, err: 1
  187. [025800][Log] gatLogGetBufOffset finding header error...
  188. [025800][Log] gatLogErrorProess :has error data,erase flash!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.
  189. [025800][Log] gatLogGetBufOffset finding header error...
  190. [025800][Log] gagentLogInit wOffset:0 rOffset:0.
  191. [025800][Dev] Domain:api.gizwits.com:80.
  192. [025800][Dev] tz in sec:28800,timezone:8.0
  193. [025736][LanOTA] lanOTAInit ...... ok
  194. [025688][Simulator] GAgent lib Time:Jan 15 2021 12:40:23
  195. [025688][GAgent] GAgent Start...
  196. [025688][WiFiEvent] GAgent_WiFiInit preSetWifiMode:1 expectWifiMode:2.
  197. [025688][NWK] NWK_WIFI_ONBOARDING_UP
  198. SC version: V2.5.4
  199. [025424][WiFiEvent] OpenAirlink...
  200. [025424][Local] MCU old product_key: need to Refresh
  201. [025424][Local] GAgent creat new passcode : EUV***CGO
  202. [025424][Dev]  Save gagent config data,start erase flash.
  203. [025424][Dev]  Flash erase failed, err: 1
  204. [025424][Local] ----------------------------------------- GAGENT INFO --------------------------------------
  205. [025424][Local] GAgent Work in GAGENT_SOC.
  206. [025424][Local] GAgent Product Soft Version:04020A25.
  207. [025424][Local] GAgent Product Hard Version:00ESP826.
  208. [025424][Local] GAgent Compiled Time       :Jan 15 2021, 12:40:24.
  209. [025424][Local] GAgent cache first ssid    :.
  210. [025424][Local] GAgent backup ssid         :.
  211. [025424][Local] GAgent mac                 :68c63a97b2e8
  212. [025424][025424][Auth] No authkey in this flash,need to create.
  213. [025424][Dev]  Save gagent config data,start erase flash.
  214. [025424][Dev]  Flash erase failed, err: 1
  215. [025424][Auth] auth key create success.
  216. [Local] GAgent authKey             :8f8******************8fb
  217. [025424][Local] GAgent passcodelen:10      :EUV***CGO
  218. [025424][Local] GAgent did                 :
  219. [025424][Local] GAgent old passcode        :JCY***PBS
  220. [025424][Local] GAgent old_did             :
  221. [025424][Local] GAgent old pk              :92c2dba0a1bd47698d9adf678023a310 len:32
  222. [025424][Local] GAgent AP name             :XPG-GAgent-b2e8
  223. [025424][Local] GAgent 3rd cloud           :
  224. [025424][Local] GAgent M2M Host            : , IP :0.0.0.0
  225. [025424][Local] GAgent Default GServer Host:api.gizwits.com port:80
  226. [025424][Local] GAgent GService Host       : , Port :0 , IP :0.0.0.0
  227. [025424][Local] GAgent BizLogLev           :00,SysLogLev:00
  228. [025424][Local] GAgent tz_offset           :28800
  229. [025424][Local] GAgent location_id         :0
  230. [025424][Local] GAgent MCU Protocol Vertion:00000004.
  231. [025424][Local] GAgent MCU P0 Vertion      :00000002.
  232. [025424][Local] GAgent MCU Hard Vertion    :03000001.
  233. [025424][Local] GAgent MCU Soft Vertion    :03030000.
  234. [025424][Local] GAgent WeChat Device Type:gh_******b57
  235. [025424][Local] Flash Size:FLASH_SIZE_32Mbit .
  236. [025424][Local] --------------------------------------------------------------------------------------

  237. devAuthResultCb
  238. gizwitsInit OK
  239. gpio_name 0
  240. gpio_name 14
  241. --- system_free_size = 25376 ---
  242. mode : sta(68:c6:3a:97:b2:e8)
  243. add if0
  244. scandone
  245. [023816][NWK] gagentNwkEventCB event: 0x0040
  246. [023816][Local] GAgentStatus change, lastGAgentStatus:0x0000, newGAgentStatus:0x000C
  247. @@@@ GAgentStatus[hex]:0c | [Bin]:0,0,1,1,0,0
  248. OnBoarding: AirLink mode
  249. WiFi status: in binding mode
  250. @@@@ RSSI 0
  251. [023816][FR]  Cancle router connect monitor.
  252. [023816][Dev]  Save gagent config data,start erase flash.
  253. [023816][Dev]  Flash erase failed, err: 1
  254. [023816][NWK] haiNwkStatus: 0x000C, gagentStatus: 0x000C
  255. scandone
  256. scandone
  257. [021600][WiFiEvent] SC_STATUS_FIND_CHANNEL
  258. TYPE: ESPTOUCH
  259. [022352][WiFiEvent] SC_STATUS_GETTING_SSID_PSWD
  260. [022352][WiFiEvent] SC_TYPE:SC_TYPE_ESPTOUCH
复制代码




沙发
发表于 2021-5-26 18:33:12 来自手机 | 只看该作者
提供充足的电源

2

主题

10

帖子

147

积分

注册会员

Rank: 2

积分
147
板凳
发表于 2021-6-22 15:45:51 | 只看该作者
解决了吗?我也是这个问题
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

加入Q群 返回顶部

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

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