一、描述你遇到的问题
接收XCOM发送的数据通过串口接入小熊派,每次XCOM发送后,需要实现回环发送与接收,小熊派会发送接收到同样的指令到XCOM,但是大部分情况都是会在QCOM中显示同一个报错:
Instruction access fault
Memory map region access fault
Name TaskEntryAddr TID Priority Status StackSize WaterLine StackPoint TopOfStack SemID EventMask CPUP CPUP 10.0s CPUP 1.0s
Swt_Task 0x00a0cb00 0x1 0 Suspend 0x800 0x478 0x00a2e730 0x00a2e0a0 0xffffffff 0x0 0.0 0.0 0.0
IdleCore000 0x00a0c212 0x2 31 Running 0x400 0x284 0x00a2ea50 0x00a2e8c0 0xffffffff 0x0 98.6 98.6 100.0
dfx_msg 0x002506e2 0x3 5 Pend 0x800 0x1b4 0x00a31630 0x00a30fe0 0xffffffff 0x0 0.0 0.0 0.0
app 0x00253e5c 0x4 27 Delay 0x800 0x194 0x00a32070 0x00a31a00 0xffffffff 0x0 0.0 0.0 0.0
log 0x003601e8 0x5 25 Pend 0x800 0x194 0x00a32890 0x00a32220 0x1 0x0 0.0 0.0 0.0
bt 0x0014d368 0x6 1 Pend 0xe00 0x3e4 0x00a33690 0x00a32a40 0xffffffff 0x0 0.8 0.8 0.0
bt_sdk 0x00315c3a 0x7 12 Pend 0x800 0x1b4 0x00a33eb0 0x00a33860 0xffffffff 0x0 0.0 0.0 0.0
bth_sdk 0x0032a2de 0x8 13 Pend 0x800 0x164 0x00a34710 0x00a34070 0x4 0x0 0.0 0.0 0.0
recvBthDataTask 0x0032de80 0x9 10 Pend 0x800 0x194 0x00a34f00 0x00a34890 0xffffffff 0x0 0.0 0.0 0.0
bt_service 0x00314824 0xa 12 Delay 0x1000 0x488 0x00a35ef0 0x00a350b0 0xffffffff 0x0 0.0 0.0 0.0
at 0x002477aa 0xb 1 Pend 0x2000 0x194 0x00a37f40 0x00a360d0 0xffffffff 0x0 0.0 0.0 0.0
radar_driver 0x0034ed6c 0xd 23 Pend 0x800 0x194 0x00a3a770 0x00a3a100 0xffffffff 0x3 0.0 0.0 0.0
radar_feature 0x0034f790 0xe 24 Pend 0x2600 0x478 0x00a3cd90 0x00a3a920 0xffffffff 0xf 0.0 0.0 0.0
ModbusTask 0x0034b754 0xf 25 Delay 0x1000 0x174 0x00a3ddd0 0x00a3cf40 0xffffffff 0x0 0.0 0.0 0.0
schedule_loop 0x00314e5c 0x11 11 Pend 0xa00 0x2f4 0x00a3fd80 0x00a3f4e0 0x3 0x0 0.0 0.0 0.0
wifi_frw_msg 0x00267b8e 0x12 4 Pend 0x1400 0x2c4 0x00a41690 0x00a40400 0xffffffff 0x1 0.0 0.0 0.0
wifi_frw_txdata 0x00267b8e 0x13 4 Pend 0x1000 0x174 0x00a42720 0x00a41890 0xffffffff 0x1 0.0 0.0 0.0
wifi_frw 0x00128d80 0x14 5 Pend 0x1000 0x6c8 0x00a44d40 0x00a43eb0 0xffffffff 0x1 0.3 0.3 0.0
tcpip_thread 0x0026cd20 0x15 5 PendTime 0x1000 0x1c4 0x00a45ef0 0x00a450b0 0xffffffff 0x1 0.0 0.0 0.0
APP|exception:1
task:IdleCore000
thrdPid:0xffffffff
type:0x1
nestCnt:1
phase:Irq
ccause:0x1
mcause:0x1
mtval:0x0
gp:0xa11aec
mstatus:0x80007880
mepc:0x0
ra:0x25d928
sp:0xa2bd40
tp:0x0
t0:0x8
t1:0xa0d952
t2:0x0
s0:0xa146c0
s1:0x1
a0:0x1
a1:0x3
a2:0x0
a3:0xa14040
a4:0xa2cd70
a5:0x0
a6:0x15151515
a7:0x14141414
s2:0xa146c4
s3:0x4
s4:0xa1159c
s5:0xa0a0a0a
s6:0x9090909
s7:0x8080808
s8:0x7070707
s9:0x6060606
s10:0x5050505
s11:0x4040404
t3:0x13131313
t4:0x12121212
t5:0x11111111
t6:0x10101010
APP|cxcptsc = 0x1
APP|backtrace begin
traceback 0 -- ra = 0x0 fp = 0x0
APP|backtrace end
APP|stack txt info begin
APP|traceback 29 -- sp addr= 0xa2bdb4 sp content= 0xa0d952
APP|traceback 31 -- sp addr= 0xa2bdbc sp content= 0x25d928
APP|traceback 79 -- sp addr= 0xa2be7c sp content= 0x25deba
APP|traceback 83 -- sp addr= 0xa2be8c sp content= 0xa0cfe4
APP|traceback 91 -- sp addr= 0xa2beac sp content= 0xa0de70
APP|stack txt info end
APP|Reboot core:2 cause 0x2004boot.
Flash Init Fail! ret = 0x80001341
verify_public_rootkey secure verify disable!
verify_params_key_area secure verify disable!
verify_params_area_info secure verify disable!
verify_image_key_area secure verify disable!
verify_image_code_info secure verify disable!
SSB Uart Init Succ!
SSB Flash Init Succ!
verify_image_key_area secure verify disable!
verify_image_code_info secure verify disable!
Flashboot Uart Init Succ!
Flashboot Malloc Init Succ!
Flash Init Succ!
No need to fix SR!
io level work in hw mode, level[chip]:0x33
flashboot version : 1.10.102
[UPG] upgrade init OK!
No need to upgrade...
flash_encrypt disable.
verify_image_key_area secure verify disable!
verify_image_code_info secure verify disable!
APP|dbg uart init ok.
[UPG] upgrade init OK!
APP|init_sle_mac, mac_addr:0x50,0x65,0x e,0x6c,0x**,0x**,
APP|init_dev_addr, mac_addr:0x50,0x65,0x e,0x55,0x**,0x**,
xo_trim_temp_comp val:0 0
los_at_plt_cmd_register EXCUTE
APP|thread[11] func null
cpu 0 entering scheduler
APP|btc open
[RADAR_LOG] alg ctrl read from nv [1][2][0][0][1][1][20]
device_main_init: 0!
===hal_initialize_phy===226===
device_module_init:: succ!
cali_set_cali_mask:old[0x0] -> new[0x1fa2]
fe_rf_initialize
cali_offline_cali_entry enter
cali_set_cali_done_flag:old[0x0] -> new[0x1]
rf cali OK. time cost:23, ret:0
xo update temp:3,diff:0,xo:0x3083c
[SLE Client] try enable.
[ACore] sle enable cbk in, result:0
sle enable: 0.
sle enable
[SLE Client] try enable.
[SLE Client] sle enbale fail !
APP|[SYS INFO] mem: used:93084, free:272264; log: drop/all[0/0], at_recv 0.
二、你具体做的所有步骤结果截图


三、当前开发板状态全景照片

四、开发板串口所有日志
APP|[SYS INFO] mem: used:93056, free:272292; log: drop/all[0/0], at_recv 0.
APP|[SYS INFO] mem: used:93048, free:272300; log: drop/all[0/0], at_recv 0.
Instruction access fault
Memory map region access fault
Name TaskEntryAddr TID Priority Status StackSize WaterLine StackPoint TopOfStack SemID EventMask CPUP CPUP 10.0s CPUP 1.0s
Swt_Task 0x00a0cb00 0x1 0 Suspend 0x800 0x478 0x00a2e730 0x00a2e0a0 0xffffffff 0x0 0.0 0.0 0.0
IdleCore000 0x00a0c212 0x2 31 Running 0x400 0x284 0x00a2ea50 0x00a2e8c0 0xffffffff 0x0 99.8 100.0 100.0
dfx_msg 0x002506e2 0x3 5 Pend 0x800 0x1b4 0x00a31630 0x00a30fe0 0xffffffff 0x0 0.0 0.0 0.0
app 0x00253e5c 0x4 27 Delay 0x800 0x348 0x00a32070 0x00a31a00 0xffffffff 0x0 0.0 0.0 0.0
log 0x003601e8 0x5 25 Pend 0x800 0x194 0x00a32890 0x00a32220 0x1 0x0 0.0 0.0 0.0
bt 0x0014d368 0x6 1 Pend 0xe00 0x3c4 0x00a33690 0x00a32a40 0xffffffff 0x0 0.1 0.0 0.0
bt_sdk 0x00315c3a 0x7 12 Pend 0x800 0x1b4 0x00a33eb0 0x00a33860 0xffffffff 0x0 0.0 0.0 0.0
bth_sdk 0x0032a2de 0x8 13 Pend 0x800 0x164 0x00a34710 0x00a34070 0x4 0x0 0.0 0.0 0.0
recvBthDataTask 0x0032de80 0x9 10 Pend 0x800 0x194 0x00a34f00 0x00a34890 0xffffffff 0x0 0.0 0.0 0.0
bt_service 0x00314824 0xa 12 Pend 0x1000 0x488 0x00a35ef0 0x00a350b0 0xffffffff 0x0 0.0 0.0 0.0
at 0x002477aa 0xb 1 Pend 0x2000 0x194 0x00a37f40 0x00a360d0 0xffffffff 0x0 0.0 0.0 0.0
radar_driver 0x0034ed6c 0xd 23 Pend 0x800 0x194 0x00a3a770 0x00a3a100 0xffffffff 0x3 0.0 0.0 0.0
radar_feature 0x0034f790 0xe 24 Pend 0x2600 0x478 0x00a3cd90 0x00a3a920 0xffffffff 0xf 0.0 0.0 0.0
ModbusTask 0x0034b754 0xf 25 Delay 0x1000 0x174 0x00a3ddd0 0x00a3cf40 0xffffffff 0x0 0.0 0.0 0.0
schedule_loop 0x00314e5c 0x11 11 Pend 0xa00 0x2f4 0x00a3fd80 0x00a3f4e0 0x3 0x0 0.0 0.0 0.0
wifi_frw_msg 0x00267b8e 0x12 4 Pend 0x1400 0x2d4 0x00a41690 0x00a40400 0xffffffff 0x1 0.0 0.0 0.0
wifi_frw_txdata 0x00267b8e 0x13 4 Pend 0x1000 0x174 0x00a42720 0x00a41890 0xffffffff 0x1 0.0 0.0 0.0
wifi_frw 0x00128d80 0x14 5 Pend 0x1000 0x6c8 0x00a44d40 0x00a43eb0 0xffffffff 0x1 0.0 0.0 0.0
tcpip_thread 0x0026cd20 0x15 5 PendTime 0x1000 0x2e4 0x00a45ef0 0x00a450b0 0xffffffff 0x1 0.0 0.0 0.0
APP|exception:1
task:IdleCore000
thrdPid:0xffffffff
type:0x1
nestCnt:1
phase:Irq
ccause:0x1
mcause:0x1
mtval:0x0
gp:0xa11aec
mstatus:0x80007880
mepc:0x0
ra:0x25d928
sp:0xa2bd40
tp:0x0
t0:0x8
t1:0xa0d952
t2:0x0
s0:0xa146c0
s1:0x1
a0:0x1
a1:0x3
a2:0x0
a3:0xa14040
a4:0xa2cd70
a5:0x0
a6:0x15151515
a7:0x14141414
s2:0xa146c4
s3:0x4
s4:0xa1159c
s5:0xa0a0a0a
s6:0x9090909
s7:0x8080808
s8:0x7070707
s9:0x6060606
s10:0x5050505
s11:0x4040404
t3:0x13131313
t4:0x12121212
t5:0x11111111
t6:0x10101010
APP|cxcptsc = 0x1
APP|backtrace begin
traceback 0 -- ra = 0x0 fp = 0x0
APP|backtrace end
APP|stack txt info begin
APP|traceback 29 -- sp addr= 0xa2bdb4 sp content= 0xa0d952
APP|traceback 31 -- sp addr= 0xa2bdbc sp content= 0x25d928
APP|traceback 71 -- sp addr= 0xa2be5c sp content= 0x25cf72
APP|traceback 79 -- sp addr= 0xa2be7c sp content= 0x25deba
APP|traceback 83 -- sp addr= 0xa2be8c sp content= 0xa0cfe4
APP|traceback 91 -- sp addr= 0xa2beac sp content= 0xa0de70
APP|stack txt info end
APP|Reboot core:2 cause 0x2004boot.
Flash Init Fail! ret = 0x80001341
verify_public_rootkey secure verify disable!
verify_params_key_area secure verify disable!
verify_params_area_info secure verify disable!
verify_image_key_area secure verify disable!
verify_image_code_info secure verify disable!
SSB Uart Init Succ!
SSB Flash Init Succ!
verify_image_key_area secure verify disable!
verify_image_code_info secure verify disable!
Flashboot Uart Init Succ!
Flashboot Malloc Init Succ!
Flash Init Succ!
No need to fix SR!
io level work in hw mode, level[chip]:0x33
flashboot version : 1.10.102
[UPG] upgrade init OK!
No need to upgrade...
flash_encrypt disable.
verify_image_key_area secure verify disable!
verify_image_code_info secure verify disable!
APP|dbg uart init ok.
[UPG] upgrade init OK!
APP|init_sle_mac, mac_addr:0x50,0x65,0x e,0x6c,0x**,0x**,
APP|init_dev_addr, mac_addr:0x50,0x65,0x e,0x55,0x**,0x**,
xo_trim_temp_comp val:0 0
los_at_plt_cmd_register EXCUTE
APP|thread[11] func null
cpu 0 entering scheduler
APP|btc open
[RADAR_LOG] alg ctrl read from nv [1][2][0][0][1][1][20]
device_main_init: 0!
===hal_initialize_phy===226===
device_module_init:: succ!
cali_set_cali_mask:old[0x0] -> new[0x1fa2]
fe_rf_initialize
cali_offline_cali_entry enter
cali_set_cali_done_flag:old[0x0] -> new[0x1]
rf cali OK. time cost:22, ret:0
xo update temp:3,diff:0,xo:0x3083c
[SLE Client] try enable.
[ACore] sle enable cbk in, result:0
sle enable: 0.
sle enable
Instruction access fault
Memory map region access fault
Name TaskEntryAddr TID Priority Status StackSize WaterLine StackPoint TopOfStack SemID EventMask CPUP CPUP 10.0s CPUP 1.0s
Swt_Task 0x00a0cb00 0x1 0 Suspend 0x800 0x478 0x00a2e730 0x00a2e0a0 0xffffffff 0x0 0.0 0.0 0.0
IdleCore000 0x00a0c212 0x2 31 Running 0x400 0x284 0x00a2ea50 0x00a2e8c0 0xffffffff 0x0 98.6 98.6 100.0
dfx_msg 0x002506e2 0x3 5 Pend 0x800 0x1b4 0x00a31630 0x00a30fe0 0xffffffff 0x0 0.0 0.0 0.0
app 0x00253e5c 0x4 27 Delay 0x800 0x194 0x00a32070 0x00a31a00 0xffffffff 0x0 0.0 0.0 0.0
log 0x003601e8 0x5 25 Pend 0x800 0x194 0x00a32890 0x00a32220 0x1 0x0 0.0 0.0 0.0
bt 0x0014d368 0x6 1 Pend 0xe00 0x3e4 0x00a33690 0x00a32a40 0xffffffff 0x0 0.8 0.8 0.0
bt_sdk 0x00315c3a 0x7 12 Pend 0x800 0x1b4 0x00a33eb0 0x00a33860 0xffffffff 0x0 0.0 0.0 0.0
bth_sdk 0x0032a2de 0x8 13 Pend 0x800 0x164 0x00a34710 0x00a34070 0x4 0x0 0.0 0.0 0.0
recvBthDataTask 0x0032de80 0x9 10 Pend 0x800 0x194 0x00a34f00 0x00a34890 0xffffffff 0x0 0.0 0.0 0.0
bt_service 0x00314824 0xa 12 Delay 0x1000 0x488 0x00a35ef0 0x00a350b0 0xffffffff 0x0 0.0 0.0 0.0
at 0x002477aa 0xb 1 Pend 0x2000 0x194 0x00a37f40 0x00a360d0 0xffffffff 0x0 0.0 0.0 0.0
radar_driver 0x0034ed6c 0xd 23 Pend 0x800 0x194 0x00a3a770 0x00a3a100 0xffffffff 0x3 0.0 0.0 0.0
radar_feature 0x0034f790 0xe 24 Pend 0x2600 0x478 0x00a3cd90 0x00a3a920 0xffffffff 0xf 0.0 0.0 0.0
ModbusTask 0x0034b754 0xf 25 Delay 0x1000 0x174 0x00a3ddd0 0x00a3cf40 0xffffffff 0x0 0.0 0.0 0.0
schedule_loop 0x00314e5c 0x11 11 Pend 0xa00 0x2f4 0x00a3fd80 0x00a3f4e0 0x3 0x0 0.0 0.0 0.0
wifi_frw_msg 0x00267b8e 0x12 4 Pend 0x1400 0x2c4 0x00a41690 0x00a40400 0xffffffff 0x1 0.0 0.0 0.0
wifi_frw_txdata 0x00267b8e 0x13 4 Pend 0x1000 0x174 0x00a42720 0x00a41890 0xffffffff 0x1 0.0 0.0 0.0
wifi_frw 0x00128d80 0x14 5 Pend 0x1000 0x6c8 0x00a44d40 0x00a43eb0 0xffffffff 0x1 0.3 0.3 0.0
tcpip_thread 0x0026cd20 0x15 5 PendTime 0x1000 0x1c4 0x00a45ef0 0x00a450b0 0xffffffff 0x1 0.0 0.0 0.0
APP|exception:1
task:IdleCore000
thrdPid:0xffffffff
type:0x1
nestCnt:1
phase:Irq
ccause:0x1
mcause:0x1
mtval:0x0
gp:0xa11aec
mstatus:0x80007880
mepc:0x0
ra:0x25d928
sp:0xa2bd40
tp:0x0
t0:0x8
t1:0xa0d952
t2:0x0
s0:0xa146c0
s1:0x1
a0:0x1
a1:0x3
a2:0x0
a3:0xa14040
a4:0xa2cd70
a5:0x0
a6:0x15151515
a7:0x14141414
s2:0xa146c4
s3:0x4
s4:0xa1159c
s5:0xa0a0a0a
s6:0x9090909
s7:0x8080808
s8:0x7070707
s9:0x6060606
s10:0x5050505
s11:0x4040404
t3:0x13131313
t4:0x12121212
t5:0x11111111
t6:0x10101010
APP|cxcptsc = 0x1
APP|backtrace begin
traceback 0 -- ra = 0x0 fp = 0x0
APP|backtrace end
APP|stack txt info begin
APP|traceback 29 -- sp addr= 0xa2bdb4 sp content= 0xa0d952
APP|traceback 31 -- sp addr= 0xa2bdbc sp content= 0x25d928
APP|traceback 79 -- sp addr= 0xa2be7c sp content= 0x25deba
APP|traceback 83 -- sp addr= 0xa2be8c sp content= 0xa0cfe4
APP|traceback 91 -- sp addr= 0xa2beac sp content= 0xa0de70
APP|stack txt info end
APP|Reboot core:2 cause 0x2004boot.
Flash Init Fail! ret = 0x80001341
verify_public_rootkey secure verify disable!
verify_params_key_area secure verify disable!
verify_params_area_info secure verify disable!
verify_image_key_area secure verify disable!
verify_image_code_info secure verify disable!
SSB Uart Init Succ!
SSB Flash Init Succ!
verify_image_key_area secure verify disable!
verify_image_code_info secure verify disable!
Flashboot Uart Init Succ!
Flashboot Malloc Init Succ!
Flash Init Succ!
No need to fix SR!
io level work in hw mode, level[chip]:0x33
flashboot version : 1.10.102
[UPG] upgrade init OK!
No need to upgrade...
flash_encrypt disable.
verify_image_key_area secure verify disable!
verify_image_code_info secure verify disable!
APP|dbg uart init ok.
[UPG] upgrade init OK!
APP|init_sle_mac, mac_addr:0x50,0x65,0x e,0x6c,0x**,0x**,
APP|init_dev_addr, mac_addr:0x50,0x65,0x e,0x55,0x**,0x**,
xo_trim_temp_comp val:0 0
los_at_plt_cmd_register EXCUTE
APP|thread[11] func null
cpu 0 entering scheduler
APP|btc open
[RADAR_LOG] alg ctrl read from nv [1][2][0][0][1][1][20]
device_main_init: 0!
===hal_initialize_phy===226===
device_module_init:: succ!
cali_set_cali_mask:old[0x0] -> new[0x1fa2]
fe_rf_initialize
cali_offline_cali_entry enter
cali_set_cali_done_flag:old[0x0] -> new[0x1]
rf cali OK. time cost:23, ret:0
xo update temp:3,diff:0,xo:0x3083c
[SLE Client] try enable.
[ACore] sle enable cbk in, result:0
sle enable: 0.
sle enable
[SLE Client] try enable.
[SLE Client] sle enbale fail !
APP|[SYS INFO] mem: used:93084, free:272264; log: drop/all[0/0], at_recv 0.