RTL8720DF板在联网成功后出现崩溃:Hard Fault Patch (Non-secure)

使用RTL8720DF的芯片,在休眠唤醒重联网络成功后,出现“Hard Fault”的报错,但debug的串口还可以输入,应该是KM4这个核死掉了,而KM0这个核还能工作,请问是什么原因导致出现这种问题?是硬件还是软件问题?怎样排查定位问题?

[2023-05-10_17:52:15][80842804]mqtt:Connect Network “8.134.152.164”
[2023-05-10_17:52:15]
[2023-05-10_17:52:15][80842809]mqtt:addr = 8.134.152.164
[2023-05-10_17:52:15]example_wlan_fast_connect
[2023-05-10_17:52:15]Sleep_ReconnectionNet
[2023-05-10_17:52:15]
[2023-05-10_17:52:15]RTL8721D[Driver]: set ssid [as]
[2023-05-10_17:52:15]dissconn reason code: 0
[2023-05-10_17:52:15]
[2023-05-10_17:52:15]RTL8721D[Driver]: start auth to 44:f9:71:4a:56:11
[2023-05-10_17:52:15]
[2023-05-10_17:52:15]RTL8721D[Driver]: auth alg = 0
[2023-05-10_17:52:15]
[2023-05-10_17:52:15]RTL8721D[Driver]:
[2023-05-10_17:52:15]OnAuthClient:algthm = 0, seq = 2, status = 0, sae_msg_len = 0
[2023-05-10_17:52:15]
[2023-05-10_17:52:15]RTL8721D[Driver]: auth success, start assoc
[2023-05-10_17:52:15]
[2023-05-10_17:52:15]RTL8721D[Driver]: association success(res=1)
[2023-05-10_17:52:15]wlan1: 1 DL RSVD page success! DLBcnCount:01, poll:00000001
[2023-05-10_17:52:15]
[2023-05-10_17:52:15]Hard Fault Patch (Non-secure)
[2023-05-10_17:52:15]
[2023-05-10_17:52:15]Hard Fault:
[2023-05-10_17:52:15]Secure State: 0
[2023-05-10_17:52:15]
[2023-05-10_17:52:15]Stacked:
[2023-05-10_17:52:15]R0 = 0x00000000
[2023-05-10_17:52:15]R1 = 0x00000000
[2023-05-10_17:52:15]R2 = 0x10049a64
[2023-05-10_17:52:15]R3 = 0x04d19237
[2023-05-10_17:52:15]R12 = 0x00000000
[2023-05-10_17:52:15]LR = 0x1000c8b9
[2023-05-10_17:52:15]PC = 0x1000f0b6
[2023-05-10_17:52:15]PSR = 0x6100000f
[2023-05-10_17:52:15]
[2023-05-10_17:52:15]Current:
[2023-05-10_17:52:15]EXC_RETURN = 0xffffffb0
[2023-05-10_17:52:15]MSP = 0x10004f78
[2023-05-10_17:52:15]PSP = 0x1004b068
[2023-05-10_17:52:15]xPSR = 0xa0000003
[2023-05-10_17:52:15]CFSR = 0x01000000
[2023-05-10_17:52:15]HFSR = 0x40000000
[2023-05-10_17:52:15]DFSR = 0x00000000
[2023-05-10_17:52:15]MMFAR = 0x00000000
[2023-05-10_17:52:15]BFAR = 0x00000000
[2023-05-10_17:52:15]AFSR = 0x00000000
[2023-05-10_17:52:15]PriMask = 0x00000001
[2023-05-10_17:52:15]SVC priority: 0x00
[2023-05-10_17:52:15]PendSVC priority: 0xe0
[2023-05-10_17:52:15]Systick priority: 0xe0
[2023-05-10_22:25:36]
[2023-05-10_22:25:36]#
[2023-05-10_22:25:37]#
[2023-05-10_22:25:38]#
[2023-05-10_22:25:41]#
[2023-05-10_22:25:41]#

@peter 您好,

欢迎加入AmebaIoT论坛,也感谢您使用RTL872x系列。 :grinning:

麻烦请您提供下面的信息以方便工程师帮忙复现并debug:

  1. 使用sdk版本号(或下载地址)
  2. 造成Hard Fault时使用的范例是什么?
  3. 如果没有运行任何范例,请您提供可以复现上述报错的源代码

谢谢