关于有使用blinker的代码里使用EEPROM的错误 .-Arduino中文社区 - Powered by Discuz! Archiver

新手之帆 发表于 2019-8-20 14:13

关于有使用blinker的代码里使用EEPROM的错误 .

例程单独+EEPROM就可以正常


但 只要我的程序加入有关EEPROM的操作 就会重启复位


这会是什么原因??


14:04:46.251 -> Abort called
14:04:46.251 ->
14:04:46.251 -> >>>stack>>>
14:04:46.251 ->
14:04:46.251 -> ctx: cont
14:04:46.251 -> sp: 3ffffab0 end: 3fffffc0 offset: 01b0
14:04:46.298 -> 3ffffc60:c012c008 c00dc003 3fffadbc 40242c3d
14:04:46.298 -> 3ffffc70:00000000 00000000 3ffffca4 00000000
14:04:46.298 -> 3ffffc80:3fff450c 3fff64cc 3fffadbc 40243670
14:04:46.298 -> 3ffffc90:00000000 3ffffcf0 40248514 3fffefa0
14:04:46.298 -> 3ffffca0:00000000 00000000 00000000 40248ffb
14:04:46.298 -> 3ffffcb0:00000000 3fffb81c 3fffadbc 40242335
14:04:46.298 -> 3ffffcc0:000001bb 00000d50 3ffffdb0 00000000
14:04:46.298 -> 3ffffcd0:000001bb 3fffadbc 3fff450c 00000000
14:04:46.298 -> 3ffffce0:000001bb 3fffadbc 3fff450c 40243861
14:04:46.298 -> 3ffffcf0:4024bce8 f119e66f 4024bce8 f119e66f
14:04:46.298 -> 3ffffd00:3ffe9cc4 3fffadbc 3ffffd90 40244f64
14:04:46.344 -> 3ffffd10:00000001 3ffffd90 3ffffd50 4024a6a8
14:04:46.344 -> 3ffffd20:00000000 00000000 3ffffd90 40245c28
14:04:46.344 -> 3ffffd30:3ffe8753 3ffffd90 3ffffd5c 402471f8
14:04:46.344 -> 3ffffd40:3fff1b98 0000114f 0000114f 4024a284
14:04:46.344 -> 3ffffd50:3fffadbc 3ffffee0 00000000 4024a6a8
14:04:46.344 -> 3ffffd60:00000000 ffffab7c 3ffffe18 000000f0
14:04:46.344 -> 3ffffd70:3fffadbc 3ffffee0 3fff0438 40245dc2
14:04:46.344 -> 3ffffd80:3fffadbc 3ffffee0 3fff0438 40234898
14:04:46.344 -> 3ffffd90:00000000 00000000 3fffadbc 3fff450c
14:04:46.344 -> 3ffffda0:000d000f ff000001 000001bb 3f001388
14:04:46.401 -> 3ffffdb0:3ffface4 0055005f ff00002c 70747468
14:04:46.401 -> 3ffffdc0:00000073 00000001 00000000 00000000
14:04:46.401 -> 3ffffdd0:00000000 3fff44bc 0011001f ffa8c000
14:04:46.401 -> 3ffffde0:00000000 00000000 00fffe5f 00000000
14:04:46.401 -> 3ffffdf0:00000000 00000000 ffffffff 00000000
14:04:46.401 -> 3ffffe00:3fff000a 00000000 00000000 0024a65c
14:04:46.401 -> 3ffffe10:00000000 00000000 00000000 00000000
14:04:46.401 -> 3ffffe20:ff00000b 00000020 3fff41a4 4024a676
14:04:46.401 -> 3ffffe30:00000014 40247270 00002028 00000036
14:04:46.401 -> 3ffffe40:3fff2734 00000050 3ffffee0 40247270
14:04:46.401 -> 3ffffe50:4029e614 00000010 3ffffee0 0000000e
14:04:46.401 -> 3ffffe60:00000019 00000020 3fff44e4 001e001f
14:04:46.401 -> 3ffffe70:ff000000 3fffab3c 000c000f ff0026b2
14:04:46.449 -> 3ffffe80:3fffab7c 006a006f fffffee0 3fff4244
14:04:46.449 -> 3ffffe90:0015001f ff00000e 3ffffee0 40247788
14:04:46.449 -> 3ffffea0:00000019 4029e608 3ffffee0 3fffadbc
14:04:46.449 -> 3ffffeb0:3fffff00 00000010 0000000f 000000fc
14:04:46.449 -> 3ffffec0:3fff2734 3fffff00 3fff0438 000026b2
14:04:46.449 -> 3ffffed0:00000000 3fffff00 3fff0438 402350fd
14:04:46.449 -> 3ffffee0:3fffaae4 0042004f ffff0438 402471f8
14:04:46.449 -> 3ffffef0:00000001 3ffe882e 3fff0438 40235150
14:04:46.449 -> 3fffff00:00000000 00000000 ffff0368 736c6166
14:04:46.449 -> 3fffff10:00000065 00c6a7f0 c9fbe76c 000026b2
14:04:46.477 -> 3fffff20:00000001 3fff0638 3fff0438 40237d74
14:04:46.477 -> 3fffff30:3fff0438 3fff0368 40100dd0 000026b0
14:04:46.477 -> 3fffff40:00000000 00000010 3fff0368 40201dff
14:04:46.477 -> 3fffff50:002cbc69 00000008 3fff0368 40229078
14:04:46.477 -> 3fffff60:3fff0438 3fff0368 3fff0368 3fff19b4
14:04:46.477 -> 3fffff70:3fff0438 00000000 3fff1984 40238481
14:04:46.477 -> 3fffff80:00000046 feefeffe feefeffe feefeffe
14:04:46.499 -> 3fffff90:00000000 00000000 00000001 3fff19b4
14:04:46.499 -> 3fffffa0:3fffdad0 00000000 3fff1984 402485c4
14:04:46.499 -> 3fffffb0:feefeffe feefeffe 3ffe85cc 40101445
14:04:46.499 -> <<<stack<<<
14:04:46.499 ->
14:04:46.499 -> last failed alloc call: 40253DEE(1480)
14:04:46.546 ->
14:04:46.546 ->ets Jan8 2013,rst cause:2, boot mode:(3,7)
14:04:46.546 ->
14:04:46.546 -> load 0x4010f000, len 1384, room 16
14:04:46.546 -> tail 8
14:04:46.546 -> chksum 0x2d
14:04:46.546 -> csum 0x2d
14:04:46.546 -> v8b899c12
14:04:46.546 -> ~ld


就是会出现这些东西

大佬们 是不是一些阻塞的操作影响了?

每到EEPROM这里就会这样

谢谢大佬们帮忙

或者解决如何不复位

新手之帆 发表于 2019-8-20 14:23

关于有使用blinker的代码里使用EEPROM的错误 .

3320987642
谢谢了 各位大佬

zjssun 发表于 2019-8-20 16:41

新手之帆 发表于 2019-8-20 14:23
谢谢了 各位大佬
这种状况我也试过我只知道是堆栈不够,还有我试过当程序进入了某种“空洞”时也会出现这样的情况

新手之帆 发表于 2019-8-20 16:51

zjssun 发表于 2019-8-20 16:41
这种状况我也试过我只知道是堆栈不够,还有我试过当程序进入了某种“空洞”时也会出现这样的情况 ...

对 翻译出来就是栈的问题

1183404801 发表于 2020-6-3 10:28

新手之帆 发表于 2019-8-20 14:23
谢谢了 各位大佬

求解决方法

sting2k1 发表于 2020-6-4 14:52

电源问题居多

pcfhua5 发表于 2020-8-28 18:37

我也是相同的问题,一发送get state ,或者 按btn-abc,就会发生错误

data: {"btn-abc":"on"}
fromDevice: 498357e1e54711ea9a675254
Authority uuid
parse data: {"btn-abc":"on"}
defined BLINKER_ARDUINOJSON
autoManager begin: 0 0
:oom(4096)@abi.cpp:48
Fatal exception 28(LoadProhibitedCause):
epc1=0x40222246, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000001, depc=0x00000000

安少 发表于 2020-8-30 20:16

#define BLINKER_WITHOUT_SSL
程序里加这一句,非SSL加密,能释放堆栈
页: [1]
查看完整版本: 关于有使用blinker的代码里使用EEPROM的错误 .