快疯了!两天了!ESP-01S 下载Blinker开灯示例问题!-Arduino中文社区 - Powered by Discuz!

Arduino中文社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 3553|回复: 8

[已解答] 快疯了!两天了!ESP-01S 下载Blinker开灯示例问题!

[复制链接]
发表于 2020-8-27 20:32 | 显示全部楼层 |阅读模式
本帖最后由 pcfhua5 于 2020-8-27 20:48 编辑

之前还能接收“get":"state",显示设备在线,但是无法响应"btn-abc"。
现在在APP上一点刷新图标“get”:“state”串口有响应,但是出现Fatal exception 28(LoadProhibitedCause)。后面附DEBUGALL 。
后面为了找原因,尝试:
1.试了换成2.5.0的package,也没用,换回2.7.4还一样,不知道怎么回事.

2.更新blinker的库,还一样。
判断:
ESP-01S 1M的Flash太小?但别人也能用啊!

DEBUG LOG:

scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 5
cnt


connected with danmo, channel 2
dhcp client start...
ip:192.168.31.132,mask:255.255.255.0,gw:192.168.31.1
[669] WiFi Connected.
[669] IP Address:
[669] 192.168.31.132
[1925] Freeheap: 5360
[1929] mDNS responder started
[WS-Server] Server Started.
[1931] webSocket_MQTT server started
[1931] ws://CD7A6E72U7KFCMJXVB6YELU6.local:81
pm open,type:2 0
[17365] Connecting to MQTT...
[20039] MQTT Connected!
[20039] Freeheap: 5584
[20039] =======================================================
[20040] =========== Blinker Auto Control mode init! ===========
[20044] Warning!EEPROM address 0-1279 is used for Auto Control!
[20049] =========== DON'T USE THESE EEPROM ADDRESS! ===========
[20055] =======================================================
[50060] MQTT Ping!
[80640] MQTT Ping!
[111258] MQTT Ping!
[141831] MQTT Ping!
[172437] MQTT Ping!
[203002] MQTT Ping!
Fatal exception 28(LoadProhibitedCause):
epc1=0x40222252, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000001, depc=0x00000000


--------------- CUT HERE FOR EXCEPTION DECODER ---------------


Exception (28):
epc1=0x40222252 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000001 depc=0x00000000


>>>stack>>>


ctx: cont
sp: 3ffffc70 end: 3fffffc0 offset: 0190
3ffffe00:  3ffffee0 3fff1324 3fff02b0 4020be24  
3ffffe10:  6c6c756e 00000000 84ff02b0 40205d10  
3ffffe20:  00006ae8 00000000 3fff448c 4020d619  
3ffffe30:  00000000 3ffffea4 00000020 3ffffee0  
3ffffe40:  3ffe8813 00000000 6c6c756e 00000000  
3ffffe50:  84000000 3fffabec 3ffffec0 40100ed8  
3ffffe60:  00000000 3fff057c 00000000 00000000  
3ffffe70:  00000000 00000000 3ffffec0 4021efbd  
3ffffe80:  00007d0a 3ffffec0 3fff02b0 00000001  
3ffffe90:  00000000 00000000 3fff02b0 4020eedf  
3ffffea0:  3fff0d04 3fff863c 3fff8646 3fff8a2c  
3ffffeb0:  3fff8a3c 3fff8a2c 3fff8a2c 3fff4420  
3ffffec0:  00000000 00000000 80ff4400 0018001f  
3ffffed0:  80000000 3ffffea4 3ffffe94 00000066  
3ffffee0:  3ffffeb4 3ffffea4 4010047c 00000000  
3ffffef0:  3fff0d04 3fff0d08 3fff07cc 4020da9c  
3fffff00:  03ba826c 00000000 3fff1284 40214f35  
3fffff10:  00000001 00000000 3fff07cc 00000001  
3fffff20:  00000001 00000000 3fff07cc 4020db8e  
3fffff30:  3fff1ce4 40218d40 3fff02b0 00000001  
3fffff40:  00000001 3fff04b0 3fff02b0 4020f70c  
3fffff50:  3fffdad0 40203620 3fff02b0 40204155  
3fffff60:  007a1200 d2e68704 3fff0200 40205cf9  
3fffff70:  00000000 feefeffe 80efeffe feefef00  
3fffff80:  00000000 00000000 00000001 3fff14bc  
3fffff90:  3fffdad0 00000000 3fff147c 4020f914  
3fffffa0:  feefeffe 00000000 3fff147c 4022020c  
3fffffb0:  feefeffe feefeffe 3ffe85c0 401011f9  
<<<stack<<<


last failed alloc call: 4021DA84(4096)


--------------- CUT HERE FOR EXCEPTION DECODER ---------------


ets Jan  8 2013,rst cause:2, boot mode3,6)


load 0x4010f000, len 3584, room 16
tail 0
chksum 0xb0
csum 0xb0
v2843a5ac
~ld


SDK:2.2.2-dev(38a443e)/Core:2.7.3-3-g2843a5ac=20703003/lwIP:STABLE-2_1_2_RELEASE/glue:1.2-30-g92add50/BearSSL:5c771be
[78]
[78]
__       __                __
/\ \     /\ \    __        /\ \              v0.3.4
\ \ \___ \ \ \  /\_\    ___\ \ \/'\      __   _ __   
\ \ '__`\\ \ \ \/\ \ /' _ `\ \ , <    /'__`\/\`'__\
  \ \ \L\ \\ \ \_\ \ \/\ \/\ \ \ \\`\ /\  __/\ \ \./
   \ \_,__/ \ \__\\ \_\ \_\ \_\ \_\ \_\ \____\\ \_\  
    \/___/   \/__/ \/_/\/_/\/_/\/_/\/_/\/____/ \/_/  
    To better use blinker with your IoT project!
    Download latest blinker library here!
    => https://github.com/blinker-iot/blinker-library


[121] Connecting to danmo
scandone
[128] ESP8266_MQTT initialized...
[128]
===========================================================
================== Blinker Timer loaded! ==================
Warning!EEPROM address 1536-2431 is used for Blinker Timer!
============= DON'T USE THESE EEPROM ADDRESS! =============
===========================================================


scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 5
cnt





———————————————————————————debugAll 分割线 ———————————————————————————————


20642] _______autoStart_______
[20645] _aCount: 0
[50633] MQTT Ping!
[50633] Freeheap: 5584
[81203] MQTT Ping!
[81204] Freeheap: 5584
[WS-Server][0] new client from 192.168.31.231
[WS-Server][0][handleHeader] RX: GET / HTTP/1.1
[89174] Got: {"fromDevice":"498357e1e54711ea9a675254","data":{"get":"state"}}
[89175] data: {"get":"state"}
[89178] fromDevice: 498357e1e54711ea9a675254
[89182] Authority uuid
[89204] parse data: {"get":"state"}
[89204] defined BLINKER_ARDUINOJSON
[89205] autoManager begin: 0 0
Fatal exception 28(LoadProhibitedCause):
epc1=0x402222fa, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000001, depc=0x00000000


--------------- CUT HERE FOR EXCEPTION DECODER ---------------


Exception (28):
epc1=0x402222fa epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000001 depc=0x00000000


>>>stack>>>


ctx: cont
sp: 3ffffc70 end: 3fffffc0 offset: 0190
3ffffe00:  3ffffee0 3fff1334 3fff02c0 4020bd64  
3ffffe10:  6c6c756e 00000000 84ff02c0 40205c60  
3ffffe20:  00006dd0 00000000 3fff9cf4 4020d54d  
3ffffe30:  00000000 3ffffea4 00000020 3ffffee0  
3ffffe40:  3ffe8822 00000000 6c6c756e 00000000  
3ffffe50:  84000000 3fff9cdc 3ffffec0 40100ed8  
3ffffe60:  00000000 3fff058c 00000000 00000000  
3ffffe70:  00000000 00000000 3ffffec0 4021f065  
3ffffe80:  00007d0a 3ffffec0 3fff02c0 00000001  
3ffffe90:  00000000 00000000 3fff02c0 4020ef77  
3ffffea0:  3fff0d14 3fff8934 3fff893e 3fff8d24  
3ffffeb0:  3fff8d34 3fff8d24 3fff8d24 3fff9b20  
3ffffec0:  00000000 00000000 80ff9a00 0018001f  
3ffffed0:  8027aec0 3ffffea4 3ffffe94 40202dc2  
3ffffee0:  3ffffeb4 3ffffea4 4027aec0 00000000  
3ffffef0:  3fff0d14 3fff0d18 3fff07dc 4020dd4d  
3fffff00:  0192c1a7 00000000 3fff1294 40214fdd  
3fffff10:  00000001 00000000 3fff07dc 00000001  
3fffff20:  00000001 00000000 3fff07dc 4020de42  
3fffff30:  3fff1cf4 40218de8 3fff02c0 00000001  
3fffff40:  00000001 3fff04c0 3fff02c0 4020f7a1  
3fffff50:  3fffdad0 4020e1f4 3fff02c0 4020437d  
3fffff60:  007a1200 70930072 3fff0700 40205c3d  
3fffff70:  00000000 000d000f 80efeffe feefef00  
3fffff80:  00000000 00000000 00000001 3fff14cc  
3fffff90:  3fffdad0 00000000 3fff148c 4020f9d4  
3fffffa0:  feefeffe 00000000 3fff148c 402202b4  
3fffffb0:  feefeffe feefeffe 3ffe85c0 401011f9  
<<<stack<<<


last failed alloc call: 4021DB2C(4096)



发表于 2020-8-27 21:25 | 显示全部楼层
1、跑的示例?
2、正经来源的库和package?
 楼主| 发表于 2020-8-27 21:27 | 显示全部楼层
XlinliY.Zhang 发表于 2020-8-27 21:25
1、跑的示例?
2、正经来源的库和package?

文档的示例,文档的库,github的package
 楼主| 发表于 2020-8-27 21:30 | 显示全部楼层
看看ESP-1S 配置对不对?

ESP-01S配置

ESP-01S配置
发表于 2020-8-27 21:34 | 显示全部楼层
我之前写好的程序, 写在板子上的了, 放一段时间没用。。  然后几天前 升级了手机APP端,  现在 板子上电在线后, APP点按钮 也没反应了。     用天猫精灵控制 倒是能有动作。。
暂未连上 串口去调试看日志。
发表于 2020-8-27 22:21 | 显示全部楼层
pcfhua5 发表于 2020-8-27 21:27
文档的示例,文档的库,github的package

用社区的package 老的删干净
 楼主| 发表于 2020-8-28 11:13 | 显示全部楼层
XlinliY.Zhang 发表于 2020-8-27 22:21
用社区的package 老的删干净

之前用2.5.0连MQTT都连不上,就把Arduino15文件夹删过,重新用1.8.13来生成,不行,后来又把里面的ESP8266文件夹删除了重新下新的, 就是现在的情况
发表于 2020-8-30 01:01 | 显示全部楼层
没用过01s,但既然天猫精灵都可以,那我觉得可能只是你程序写错了,测试例程吧
发表于 2020-12-13 23:23 | 显示全部楼层
评论一群废话
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|Archiver|手机版|Arduino中文社区

GMT+8, 2024-11-28 13:52 , Processed in 0.153783 second(s), 19 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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