[D/mqtt.sample] inter mqtt_offline_callback!
[D/mqtt.sample] inter mqtt_connect_callback!
psr: 0x41000000
r00: 0x00000000
r01: 0x20000fe8
r02: 0x20009c30
r03: 0xffffffff
r04: 0x3442486f
r05: 0x68464170
r06: 0x746f692e
r07: 0x2d73612d
r08: 0x7474716d
r09: 0x2d6e632e
r10: 0x6e616873
r11: 0x0000075b
r12: 0x00000000
lr: 0x08000f39
pc: 0xa0000000
hard fault on thread: mqtt0
thread pri status sp stack size max used left tick error
------------- --- ------- ---------- ---------- ------ ---------- ---
mqtt0 10 ready 0x00000240 0x00003000 05% 0x00000002 000
Uart0_Json 20 ready 0x00000160 0x00000c00 11% 0x00000014 -02
modbus_event 20 ready 0x00000118 0x00000c00 09% 0x00000014 -02
system_runing 12 ready 0x00000078 0x00000400 11% 0x00000014 -02
uart_event 20 suspend 0x000000a0 0x00000400 17% 0x00000011 000
tshell 20 suspend 0x00000138 0x00001000 07% 0x00000009 000
at_clnt0 9 suspend 0x000000ac 0x00000600 11% 0x00000002 000
tidle 31 ready 0x00000054 0x00000200 17% 0x00000012 000
mem manage fault:
SCB_CFSR_MFSR:0x01 IACCVIOL
上面是打印的信息,我是连的阿里的物联网平台,开始是没有问题的,但是一会就不行了,打印这个内容,请问是什么原因呢?
tyustli 发表于 2019-6-22 12:57
可以看一下 mqtt0 线程栈是不是溢出,数组是否越界、有没有什么非法的操作等 ...