Hi,
The demo mmf2_video_example_av_rtsp_mp4_init with below audio settings(AAC_TYPE_RAW), failed with bus fault.
static aac_params_t aac_params = { .sample_rate = 8000, .channel = 1, .trans_type = AAC_TYPE_RAW,//AAC_TYPE_ADTS, .object_type = AAC_AOT_LC, .bitrate = 32000, .mem_total_size = 10 * 1024, .mem_block_size = 128, .mem_frame_size = 1024 };
The failure log messages are as below.
== Rtl8735b IoT Platform ==
[Normal mode]
BootFromNORFlash
[Start Boot ROM…]
=== Load PARTBL ===
=== Load Done ===
=== Load ISP_IQ ===
[fcs chk pass]
ISP_IQ @ 0x8461080, 0x40f80, 0x0
mfcs_data version 0x00010001
fcs_data version 0x00010101
=== Process ISP_IQ ===
=== Load Done ===
=== Load BL ===
[Image Start Table @ 0x18200]
=== Load Done ===== Boot Loader ==
Nov 4 2025:14:24:05
=== Load FCS Para ===
=== Load Done ===
[crc pass]
=== Load ISP_IQ Sensor ===
ISP_IQ @ 0x8461080, 0x40f80
=== Process ISP_IQ ===
=== Load Done ===
=== Load FW1 ===
FW_ISP_IQ @ 0x8061080, 0x42f80
=== Process FW_ISP_IQ ===
DRAM_TYPE is DDR2 128MB.
ddr_freq = 533
VOE flash @ 0x80a4080, 0x81f80
FCS KM_status 0x00002081 err 0x0000200a
Wait KM fcs done 0 us
FCS TM_status 0x003f0000
store fcs data for application
It don’t do the sensor s
RAM TM_STATUS 0x00bf1208 err 0x00001208
read fcs_status 0x000000bf
read fcs_staf[Image Start Table @ 0x20106200]
RAM Load @ 0x8126100->0x20106200, 0x6ae0
DDR Load @ 0x812d080->0x70100000, 0x2cc4ab
=== FW Load Done ===Boot Loader <==
== RAM Start ==
Build @ 18:33:05, Nov 26 2025$8735b>interface 0 is initialized
interface 1 is initialized
cfg_size_lib = 120, cfg_size_user = 120Initializing WIFI …[Driver]: [HALMAC]
11692M HALMAC_MAJOR_VER = 1
HALMAC_PROTOTYPE_VER = 4
HALMAC_MINOR_VER = 20
HALMAC_PATCH_VER =
[Driver]: The driver include MP
[Driver]: Ver = libwlan:2025.10.31.11.50_b9.6_6684581f9cdde4f53a1c33af8ec72229f6
RFE type = 0
start_addr=(0x4000), end_addr=(0x8000), buffer_size=(0x4000), smp_number_max=(2)WIFI initialized
[Driver]: PSCAN_FAST_SURVEY channel: 36[Driver]: set ssid [JioFiber-rdGAu_5G]
[Driver]: rtw_joinbss_cmd MGMT_FRAME_PROTECTION_OPTIONAL no pmf.
[Driver]: Bcn (ie: 307, rsn: 0, wpa: 0) ch: 36, seq: 1958, ts: 14872985698[Driver]: start auth to b4:a7:c6:58:3a:1f
[Driver]: auth success, start assoc
[Driver]: listen_interval: 10, bcn_interval: 100[Driver]: association success(res=1)
[Driver]: set pairwise key to hw: alg:4(WEP40-1 WEP104-5 TKIP-2 AES-4)
[Driver]: set group key to hw: alg:4(WEP40-1 WEP104-5 TKIP-2 AES-4) keyid:1
(0) Scan: 1, Auth: 1, Assoc: 1, 4way: 1, connect: 1, reason: 0
[Driver]: TSFValue = 14874214496, tsf = 0, shift_set= 0x8000, bcn int = 100[video_voe_presetting] fps:30 w:1920 h:1080
Interface 0 IP address : 192.168.29.164
[LwIP_DHCP] dhcp offered_t0_lease: 86400
init_thread(59), Available heap 0x683cdc0voe heap size = 19897344
fwin(1),enc_en(0),IQ_OFFSET = 0x28e00
fwin(1),enc_en(0),SENSOR_OFFSET = 0x40e40
sensor id 2 iq_data 28e00 sensor_data 40e40
set ASP print offctx->enc_info.frameLength * 2 = 2048
RTSP[0] port: 554
connect successful sta modeRegister disk driver to Fatfs.
FATFS Register: disk driver 0
SD_Init 0
Start MP4 recording (3 files)
siso started
hal_voe_ready 0x0 0xbf1208
read fcs_status 0x000000bf
[video_init] uvcd iq is null, use default.
[video_init] uvcd SNR is null, use default.
IQ:FW size (98342)
sensor:date 2024/9/12 version:RTL8735B_VOE_1.5.7.0
sensor:FW size (5412)
sensor timestamp: 2024/09/12
STORAGE_INIT
iq timestamp: 2023/05/15 14:48:54
voe_heap malloc 0x708c6460, size 19897344
ISP:1 ENC:1 H265:1 NN:1
hal_voe_ready 0x0 0xbf1208
voe :RTL8735B_VOE_1.6.7.0
sensor:RTL8735B_VOE_1.5.7.0
hal :RTL8735B_VOE_1.6.7.0
load time sensor:151us iq:2707us itcm:0us dtcm:0us ddr:0us ddr2:0us
open file (0:/AmebaPro_recording_0.mp4) len = 30 seconds
Set H264 default HIGH profile
rc_version RC_v1
STORAGE_INIT → STORAGE_START
[video_pre_init_procedure] START
hal_voe_send2voe too long 51402 cmd 0x00000206 p1 0x00000000 p2 0x00000000
mimo started
Text/Logo OSD Test
[osd] Heap available:87228768
font resize new size: 4840 byte-w:2 byte-h:32.
font resize new size: 3688 byte-w:4 byte-h:32.
font resize from 32 64 to 16 32.
font resize from 64 64 to 32 32.
font resize:22.
osd_update_custom_init Sep 25 2025
[OSD] picture resize from (w:256 h:82) to (w:298 h:96)
0xFC00, 0xFC00
[OSD] picture resize from (w:340 h:176) to (w:340 h:176)
[OSD] picture resize from (w:128 h:128) to (w:214 h:214)
[osd] Heap available:86717568
osd channel id: 0.
rtsp stream enabled
[Local] Connected by 192.168.29.248
[Local] Enter rtsp request_loop
check_rtsp_url
No config
rtsp_cmd_options
check_rtsp_url
No config
rtsp_cmd_describe
[Local] REQUEST_PLAYrtp started (UDP)
Bus Fault:
SCB Configurable Fault Status Reg = 0x00000400Bus Fault Status:
BusFault Address Reg is invalid(Asyn. BusFault)
Imprecise data bus error:
a data bus error has occurred, but the return address in the stack frame is not.S-domain exception from Thread mode, Extended Stack frame on S-PSP
Registers Saved to stackStacked:
R0 = 0x70855a42
R1 = 0xa0f4e3e1
R2 = 0x70806ce0
R3 = 0x70855a42
R4 = 0xffffffef
R5 = 0x80000000
R6 = 0xcf8b8900
R7 = 0x30747900
R8 = 0x0000000e
R9 = 0x71d58f00
R10 = 0x7085282c
R11 = 0xcf8b8900
R12 = 0x00000000
LR = 0x20106905
PC = 0x100219a0
PSR = 0x31100000Current:
LR = 0xffffffed
MSP = 0x20003fd8
PSP = 0x70855968
xPSR = 0x30000005
CFSR = 0x00000400
HFSR = 0x00000000
DFSR = 0x00000000
MMFAR = 0x00000000
BFAR = 0x00000000
AFSR = 0x00000000
PriMask = 0x00000000
SVC priority: 0x00
PendSVC priority: 0xf0
Systick priority: 0xf0MSP Data:
20003FD8: 703E69E8 FFFFFFF9 20004000 000003E8
20003FE8: E000E000 703E69E8 07070707 701306C5
20003FF8: 70130738 21000000 7A0DF7BB C5FED36E
20004008: D2EDBE3E 2BB6D80A FBC59A7B 66CD6779
20004018: FBED05D8 208F366F F78BE3DD A7887F06
20004028: E05FCDE7 FF7FD33F B5F957C7 EFEFDF79
20004038: DD1F79EF DAA53F7A F102F3CA AC563E2F
20004048: E528D869 1E1400D1 39B23EEC 97E4880C
20004058: 4B0EB031 A3302B0E 325A5031 72A66DD2
20004068: 7929D654 17625D02 FC0530AD 02D2C361
20004078: 0CFA6266 1DAB0012 928EE703 7935D938
20004088: A8529EA4 ECE7A82C D56AD6C8 BEBDF6F6
20004098: FF232681 DC26A519 522FD793 2159AF63
200040A8: 4D3FDEB4 D106FE21 BDA57ADB 0996E271
200040B8: 25B5002A 6E4C5E00 E821F229 5DA38C15
200040C8: 164ECF73 8DE3760E EDC84CFE 296CEC98PSP Data:
70855968: 70855A42 A0F4E3E1 70806CE0 70855A42
70855978: 00000000 20106905 100219A0 31100000
70855988: 708559A8 00000063 703E6EC8 70131F2D
70855998: 00000000 70132D0F 00000063 70855A24
708559A8: 00000000 00000000 F81DA8C0 7085E6D8
708559B8: 71D58E60 70852720 70229CC4 7012FDED
708559C8: 00000001 701D06C9 7085282C 70855A34
708559D8: CF8B8900 30747900 0000000E 20106905
708559E8: 000005A6 701D0E23 00000003 00000001
708559F8: 70855A34 70855A40 70851E60 000005B4
70855A08: 00000010 00000001 0000000C 70806AE0
70855A18: 71D58EFC A5A5A5A5 A5A5A5A5 80C20280
70855A28: F81DA8C0 00000000 7C2E413C 0000E180
70855A38: 00000000 01000000 B3EF0000 928DB4B7
70855A48: 0D3872DD 7A84459F F285BFDC FF0FB30E
70855A58: A044674A 0948DB98 9E6801BD 61402066== NS Dump ==
CFSR_NS = 0x00000000
HFSR_NS = 0x00000000
DFSR_NS = 0x00000000
MMFAR_NS = 0x00000000
BFAR_NS = 0x00000000
AFSR_NS = 0x00000000
MSP_NS = 0x00000000
PSP_NS = 0x00000000
NS HardFault Status Reg = 0x00000000
SCB Configurable Fault Status Reg = 0x00000000
No Back Trace!
We tested AAC_TYPE_RAW because we need to provide 2 live streams RTSP and Amazon KVS in our app.
How to fix this issue? Please suggest if anyone has similar issue.
Note: The mmf2_video_example_av_init has no issues when used same AAC_TYPE_RAW, My doubt is the modules miso and mimo may have different implementation logic and producing the reported issue.
Thanks,
Yugandhar