Hi All,
I am running the encode demo in DVSDK 4.02.00.06 on DM3730 EVM board. Default H264 encoder parameters in the demo application are used (H.264 Base Profile Encoder version 1.00.02.00). DSP Server memory map is also the default one shown below. The application runs fine for a period of time ranging from 2 minutes to 4 hours, then crashes with DSP MMU error fault error:
DSP MMU Error Fault! MMU_IRQSTATUS = [0x1]. Virtual DSP addr reference that generated the interrupt = [ 0xff123fa0].
The virtual DSP address field in the error message is different for each crash. The MPEG4 encoder works fine for the same configuration. We have experimented with different DSP server memory map configurations with no luck. Also suspected stack overflow and increased encode algorithm stack size to 32K; however it did not help either.
Is there a known bug with the H264 codec? Any suggestions are welcome.
Memory Map for 256MB EVM SDRAM:
Linux: 80M
Cmem: 100M starting from 0x88000000
var mem_ext = [ { comment: "RESET_VECTOR: off-chip memory for the reset vector table", name: "RESET_VECTOR", base: 0x85900000, len: 0x00001000, space: "code/data" }, { comment: "DSPLINK: off-chip memory reserved for DSPLINK code and data", name: "DSPLINKMEM", base: 0x85901000, len: 0x000FF000, space: "code/data" }, { comment: "DDRALGHEAP: off-chip memory for dynamic algmem allocation", name: "DDRALGHEAP", base: 0x85a00000, len: 0x02000000, space: "code/data" }, { comment: "DDR2: off-chip memory for application code and data", name: "DDR2", base: 0x87a00000, len: 0x00600000, space: "code/data" }, { comment: "L4CORE: L4-Core Interconnect Address Space", name: "L4CORE", base: 0x48000000, len: 0x01000000, space: "data" }, { comment: "L4PER: L4-Peripheral Interconnect Address Space", name: "L4PER", base: 0x49000000, len: 0x00100000, space: "data" }, ];
Best regards,
Umut