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

pcfhua5 发表于 2020-8-27 20:32

快疯了!两天了!ESP-01S 下载Blinker开灯示例问题!

本帖最后由 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
WiFi Connected.
IP Address:
192.168.31.132
Freeheap: 5360
mDNS responder started
Server Started.
webSocket_MQTT server started
ws://CD7A6E72U7KFCMJXVB6YELU6.local:81
pm open,type:2 0
Connecting to MQTT...
MQTT Connected!
Freeheap: 5584
=======================================================
=========== Blinker Auto Control mode init! ===========
Warning!EEPROM address 0-1279 is used for Auto Control!
=========== DON'T USE THESE EEPROM ADDRESS! ===========
=======================================================
MQTT Ping!
MQTT Ping!
MQTT Ping!
MQTT Ping!
MQTT Ping!
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 Jan8 2013,rst cause:2, boot mode:(3,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


__       __                __
/\ \   /\ \    __      /\ \            v0.3.4
\ \ \___ \ \ \/\_\    ___\ \ \/'\      __   _ __   
\ \ '__`\\ \ \ \/\ \ /' _ `\ \ , <    /'__`\/\`'__\
\ \ \L\ \\ \ \_\ \ \/\ \/\ \ \ \\`\ /\__/\ \ \./
   \ \_,__/ \ \__\\ \_\ \_\ \_\ \_\ \_\ \____\\ \_\
    \/___/   \/__/ \/_/\/_/\/_/\/_/\/_/\/____/ \/_/
    To better use blinker with your IoT project!
    Download latest blinker library here!
    => https://github.com/blinker-iot/blinker-library


Connecting to danmo
scandone
ESP8266_MQTT initialized...

===========================================================
================== 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_______
_aCount: 0
MQTT Ping!
Freeheap: 5584
MQTT Ping!
Freeheap: 5584
new client from 192.168.31.231
RX: GET / HTTP/1.1
Got: {"fromDevice":"498357e1e54711ea9a675254","data":{"get":"state"}}
data: {"get":"state"}
fromDevice: 498357e1e54711ea9a675254
Authority uuid
parse data: {"get":"state"}
defined BLINKER_ARDUINOJSON
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)



XlinliY.Zhang 发表于 2020-8-27 21:25

1、跑的示例?
2、正经来源的库和package?

pcfhua5 发表于 2020-8-27 21:27

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

文档的示例,文档的库,github的package

pcfhua5 发表于 2020-8-27 21:30

看看ESP-1S 配置对不对?

skygz 发表于 2020-8-27 21:34

我之前写好的程序, 写在板子上的了, 放一段时间没用。。然后几天前 升级了手机APP端,现在 板子上电在线后, APP点按钮 也没反应了。   用天猫精灵控制 倒是能有动作。。
暂未连上 串口去调试看日志。

XlinliY.Zhang 发表于 2020-8-27 22:21

pcfhua5 发表于 2020-8-27 21:27
文档的示例,文档的库,github的package

用社区的package 老的删干净

pcfhua5 发表于 2020-8-28 11:13

XlinliY.Zhang 发表于 2020-8-27 22:21
用社区的package 老的删干净

之前用2.5.0连MQTT都连不上,就把Arduino15文件夹删过,重新用1.8.13来生成,不行,后来又把里面的ESP8266文件夹删除了重新下新的, 就是现在的情况

奈何col 发表于 2020-8-30 01:01

没用过01s,但既然天猫精灵都可以,那我觉得可能只是你程序写错了,测试例程吧

zhaohaifa 发表于 2020-12-13 23:23

评论一群废话
页: [1]
查看完整版本: 快疯了!两天了!ESP-01S 下载Blinker开灯示例问题!