【已解决】ASSERT_PARAM(4 0), in rwble.c at line 384

16675353181
Posts: 2
Joined: Fri Mar 17, 2023 2:37 am

【已解决】ASSERT_PARAM(4 0), in rwble.c at line 384

Postby 16675353181 » Fri Mar 17, 2023 3:02 am

esp-idf-v4.4.2,同时开启了gattc和gatts,
1、单独挂测gatts的功能没有异常(未连接,持续广播),
2、连接gatts并1s通讯约200字节,同时开启gattc的扫描后(每次扫描5s,ESP_GAP_SEARCH_INQ_CMPL_EVT 回调中再次扫描,如此往复)。约一个小时出现如下重启:

Code: Select all

ASSERT_PARAM(4 0), in rwble.c at line 384
Guru Meditation Error: Core  0 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x40092c30: 00f01d00 00004136 f01d0000
Core  0 register dump:
PC      : 0x40092c37  PS      : 0x00060a34  A0      : 0x80085b51  A1      : 0x3ffc2968  
A2      : 0x00000000  A3      : 0x00000004  A4      : 0x00000000  A5      : 0x3f42295c  
A6      : 0x00000180  A7      : 0xfffffffc  A8      : 0x8000814b  A9      : 0x3ffc28d8  
A10     : 0x00000000  A11     : 0x3ffc28fb  A12     : 0x3ffc28a7  A13     : 0x00000034  
A14     : 0x00000000  A15     : 0x3ffc28ac  SAR     : 0x00000004  EXCCAUSE: 0x00000000  
EXCVADDR: 0x00000000  LBEG    : 0x40085a59  LEND    : 0x40085a61  LCOUNT  : 0x00000000  
重启后打印重启原因12。

16675353181
Posts: 2
Joined: Fri Mar 17, 2023 2:37 am

Re: ASSERT_PARAM(4 0), in rwble.c at line 384

Postby 16675353181 » Fri Mar 24, 2023 1:58 am

sry,已解决,一个线程的栈溢出导致。

Who is online

Users browsing this forum: Elimin and 52 guests