This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DVRRDK_04.01.00.02 Audio_Create Fail

Hi,

   I had worked in DVRRDK_03.00.00.00. I have worked in RDK 3.0 . Audio also.

Now I have to develop audio applications in  DVRRDK_04.01.00.02.

My Platform : TI DM8168 EVM + VS Daughter card

I installed DVRRDK_04.01.00.02, Extracted the NFS (rfs_816x). Following are my build settings..

DDR_MEM := DDR_MEM_1024M

LINUX_MEM := LINUX_MEM_256M

  • I copied the executable...

(dvr_rdk_fw_c6xdsp_1024M_256M.xe674,dvr_rdk_fw_m3video_1024M_256M.xem3, dvr_rdk_fw_m3vpss_1024M_256M.xem3 )

  • When I try to load the firmware I got one DSP error...

-----------------------------------------------------------------------

After Ipc_loadcallback status [0x00000000]
[m3vpss ] ***** VPSS Firmware build time 10:36:28 Feb 5 2014 EDG gcc 3.0 mode
[m3vpss ] ***** SYSTEM : Frequency <ORG> - 250000000, <NEW> - 246857136
[m3vpss ] notify_attach rtnVal 0
After Ipc_startcallback status [0x00000000]
[m3vpss ] initProxyServer rtnVal 0
[m3vpss ]
[m3vpss ] *** UTILS: CPU KHz = 493714 Khz ***
[m3vpss ]
[m3vpss ] 38: SYSTEM : System Common Init in progress !!!
[m3vpss ] 38: SYSTEM: IPC init in progress !!!
[m3vpss ] 38: SYSTEM: Attaching to [HOST] ...
[m3vpss ] 41: SYSTEM: Attaching to [HOST] ... SUCCESS !!!
Attached to slave procId 1.
DMA: Module install successful, device major num = 251
DRV: Module install successful
DRV: Module built on Oct 23 2013 13:48:02
Attached to slave procId 0.
Loaded file ../firmware/dvr_rdk_fw_m3video_1024M_256M.xem3 on slave procId 1.
Started slave procId 1.
After Ipc_loadcallback status [0x00000000]
After Ipc_startcallback status [0x00000000]
Loaded file ../firmware/dvr_rdk_fw_c6xdsp_1024M_256M.xe674 on slave procId 0.
Started slave procId 0.
After Ipc_loadcallback status [0x00000000]
After Ipc_startcallback status [0x00000000]
[c6xdsp ] ***** VIDEO Firmware build time 10:34:38 Feb 5 2014 EDG gcc 3.0 mod
e
[m3video] ***** VIDEO Firmware build time 10:37:54 Feb 5 2014 EDG gcc 3.0 mod
e
[m3vpss ] 465: SYSTEM: Attaching to [DSP] ... SUCCESS !!!
[c6xdsp ] ***** SYSTEM : Frequency <ORG> - 800000000, <NEW> - 813176448
[m3video] ***** SYSTEM : Frequency <ORG> - 250000000, <NEW> - 246857136
[m3vpss ] 467: SYSTEM: Attaching to [VIDEO-M3] ... SUCCESS !!!
[c6xdsp ]
[m3video]
[m3vpss ] 467: SYSTEM: Creating MsgQ Heap [IPC_MSGQ_MSG_HEAP_2] ...
[c6xdsp ] *** UTILS: CPU KHz = 813176 Khz ***
[m3video] *** UTILS: CPU KHz = 493714 Khz ***
[m3vpss ] 468: SYSTEM: Creating MsgQ [VPSS-M3_MSGQ] ...
[c6xdsp ]
[m3video]
[m3vpss ] 468: SYSTEM: Creating MsgQ [VPSS-M3_ACK_MSGQ] ...
[c6xdsp ] 5: SYSTEM : System Common Init in progress !!!
[m3video] 442: SYSTEM : System Common Init in progress !!!
[m3vpss ] 470: SYSTEM: Notify register to [HOST] line 0, event 15 ...
[c6xdsp ] 5: SYSTEM: IPC init in progress !!!
[m3video] 442: SYSTEM: IPC init in progress !!!
[m3vpss ] 470: SYSTEM: Notify register to [DSP] line 0, event 15 ...
[c6xdsp ] 5: SYSTEM: Attaching to [HOST] ...
[m3video] 442: SYSTEM: Attaching to [HOST] ...
[m3vpss ] 470: SYSTEM: Notify register to [VIDEO-M3] line 0, event 15 ...
[c6xdsp ] 9: SYSTEM: Attaching to [HOST] ... SUCCESS !!!
[m3video] 446: SYSTEM: Attaching to [HOST] ... SUCCESS !!!
[m3vpss ] 470: SYSTEM: IPC init DONE !!!
[c6xdsp ] 11: SYSTEM: Attaching to [VIDEO-M3] ... SUCCESS !!!
[m3video] 464: SYSTEM: Attaching to [DSP] ... SUCCESS !!!
[c6xdsp ] 13: SYSTEM: Attaching to [VPSS-M3] ... SUCCESS !!!
[m3video] 467: SYSTEM: Attaching to [VPSS-M3] ... SUCCESS !!!
[c6xdsp ] 13: SYSTEM: Creating MsgQ Heap [IPC_MSGQ_MSG_HEAP_0] ...
[m3video] 467: SYSTEM: Creating MsgQ Heap [IPC_MSGQ_MSG_HEAP_1] ...
[c6xdsp ] 13: SYSTEM: Creating MsgQ [DSP_MSGQ] ...
[m3video] 468: SYSTEM: Creating MsgQ [VIDEO-M3_MSGQ] ...
[c6xdsp ] 13: SYSTEM: Creating MsgQ [DSP_ACK_MSGQ] ...
[m3video] 468: SYSTEM: Creating MsgQ [VIDEO-M3_ACK_MSGQ] ...
[c6xdsp ] 13: SYSTEM: Notify register to [HOST] line 0, event 15 ...
[m3video] 470: SYSTEM: Notify register to [HOST] line 0, event 15 ...
[c6xdsp ] 13: SYSTEM: Notify register to [VIDEO-M3] line 0, event 15 ...
[m3video] 470: SYSTEM: Notify register to [DSP] line 0, event 15 ...
[c6xdsp ] 13: SYSTEM: Notify register to [VPSS-M3] line 0, event 15 ...
[m3video] 470: SYSTEM: Notify register to [VPSS-M3] line 0, event 15 ...
[c6xdsp ] 13: SYSTEM: IPC init DONE !!!
[m3video] 470: SYSTEM: IPC init DONE !!!
[c6xdsp ] 16: MEM: Shared Region 2: Base = 0xae000000, Length = 0x109c0000 (26
5 MB)
[c6xdsp ] 16: MEM: ERROR: SharedRegion_setEntry (2, 0x9ffba17c) FAILED !!! (s
tatus=-1)
[m3video] 477: MEM: Shared Region 2: Base = 0xae000000, Length = 0x109c0000 (2
65 MB)
[m3vpss ] 476: MEM: Shared Region 2: Base = 0xae000000, Length = 0x109c0000 (2
65 MB)
[m3video] 477: MEM: Shared Region 1: Base = 0x90000000, Length = 0x0c900000 (2
01 MB)
[m3vpss ] 477: MEM: Shared Region 1: Base = 0x90000000, Length = 0x0c900000 (2
01 MB)
[m3video] 479: SYSTEM : System Common Init Done !!!
[m3vpss ] 479: SYSTEM : System Common Init Done !!!
[m3video] 479: SYSTEM : System Video Init in progress !!!
[m3vpss ] 479: SYSTEM : System VPSS Init in progress !!!
[m3video] 479: SYSTEM : System Video Init Done !!!
[m3video] 479: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_0] in region 0 ...
[m3video] 480: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_0] in region 0 ...
[m3video] 480: SYSTEM: ListElem Shared Addr = 0xbf273e00
[m3video] 482: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_1] in region 0 ...
[m3video] 482: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_1] in region 0 ...
[m3video] 483: SYSTEM: ListElem Shared Addr = 0xbf277300
[m3video] 489: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_19] in region 0 ...
[m3vpss ] === HDVPSS Clocks are enabled ===
[m3video] 489: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_19] in region 0 ...
[m3vpss ] === HDVPSS is fully functional ===
[m3video] 489: SYSTEM: ListElem Shared Addr = 0xbf27a800
[m3vpss ] === HDVPSS module is not in standby ===
[m3video] 492: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_20] in region 0 ...
[m3vpss ] === I2C1 Clk is active ===
[m3video] 492: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_20] in region 0 ...
[m3vpss ] PLATFORM: UNKNOWN CPU detected, defaulting to VPS_PLATFORM_CPU_REV_2_
0
[m3video] 493: SYSTEM: ListElem Shared Addr = 0xbf2a3780
[m3vpss ] 490: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_0] in region 0 ...
[m3video] 495: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_21] in region 0 ...
[m3vpss ] 490: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_0] in region 0 ...
[m3video] 495: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_21] in region 0 ...
[m3vpss ] 490: SYSTEM: ListElem Shared Addr = 0xbf2a0000
[m3video] 496: SYSTEM: ListElem Shared Addr = 0xbf2cc200
[m3vpss ] 492: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_1] in region 0 ...
[m3video] 510: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_24] in region 0 ...
[m3vpss ] 493: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_1] in region 0 ...
[m3video] 511: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_24] in region 0 ...
[m3vpss ] 493: SYSTEM: ListElem Shared Addr = 0xbf2c8d00
[m3video] 511: SYSTEM: ListElem Shared Addr = 0xbf317200
[m3vpss ] 508: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_19] in region 0 ...
[m3video] 513: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_25] in region 0 ...
[m3vpss ] 508: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_19] in region 0 ...
[m3video] 513: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_25] in region 0 ...
[m3vpss ] 509: SYSTEM: ListElem Shared Addr = 0xbf2f1a00
[m3video] 514: SYSTEM: ListElem Shared Addr = 0xbf35b480
[m3vpss ] 511: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_20] in region 0 ...
[m3video] 516: HDVICP: Doing PRCM for IVAHD[0] ...
[m3vpss ] 511: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_20] in region 0 ...
[m3video] 516: HDVICP: PRCM for IVAHD[0] ... DONE.
[m3vpss ] 512: SYSTEM: ListElem Shared Addr = 0xbf335c80
[m3video] 516: HDVICP: Doing PRCM for IVAHD[1] ...
[m3vpss ] 514: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_21] in region 0 ...
[m3video] 516: HDVICP: PRCM for IVAHD[1] ... DONE.
[m3vpss ] 515: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_21] in region 0 ...
[m3video] 516: HDVICP: Doing PRCM for IVAHD[2] ...
[m3vpss ] 515: SYSTEM: ListElem Shared Addr = 0xbf379f00
[m3video] 516: HDVICP: PRCM for IVAHD[2] ... DONE.
[m3vpss ] 517: SYSTEM : HDVPSS Drivers Version: HDVPSS_01_00_01_37
[m3video] 517: SYSTEM : Initializing Links !!!
[m3vpss ] 517: SYSTEM : FVID2 Init in progress !!!
[c6xdsp ] Remote Debug Shared Memory @ 0xbf000000
[m3video] Remote Debug Shared Memory @ 0xbf010820
[m3vpss ] Remote Debug Shared Memory @ 0xbf021040
[m3vpss ] Received character 's'
[c6xdsp ] Remote Debug Shared Memory @ 0xbf000000
[m3video] Remote Debug Shared Memory @ 0xbf010820
[m3vpss ] Remote Debug Shared Memory @ 0xbf021040
[m3video] Received character 's'
[m3video] 517: SYSTEM : FREE SPACE : System Heap = 6279304 B, Mbx = 1024
0 msgs)
[c6xdsp ] Remote Debug Shared Memory @ 0xbf000000
[m3video] Remote Debug Shared Memory @ 0xbf010820
[m3vpss ] Remote Debug Shared Memory @ 0xbf021040
[m3video] 517: SYSTEM : FREE SPACE : SR0 Heap = 12979968 B (12 MB)
[m3vpss ] TILER_STATS: CNT :8BIT
[m3video] 517: SYSTEM : FREE SPACE : Frame Buffer = 278658944 B (265 MB)
[m3vpss ] TILER_STATS: CNT RESOLUTION: 16384 x 8192
[m3video] 517: SYSTEM : FREE SPACE : Bitstream Buffer = 210763648 B (200 MB)
[m3vpss ] TILER_STATS: BUCKET RESOLUTION: 16384 x 8188
[m3video] 517: SYSTEM: Opening MsgQ [VPSS-M3_MSGQ] ...
[m3video] 519: SYSTEM : FREE SPACE : Tiler 8-bit = 134152192 B (127 MB)
- TILER ON
[m3vpss ] TILER_STATS: NUM FREE BUCKETS: 1
[m3video] 519: SYSTEM : FREE SPACE : Tiler 16-bit = 100663296 B (96 MB)
- TILER ON
[m3vpss ] TILER_STATS: NUM USED BUCKETS: 0
[m3video] 558: SYSTEM : Initializing Links ... DONE !!!
[m3vpss ] TILER_STATS: TOTAL FREE AREA: 134152192 (99 %)
[m3vpss ] TILER_STATS: TOTAL USED AREA: 0 (0 %)
[m3vpss ] TILER_STATS: CNT :16BIT
[m3vpss ] TILER_STATS: CNT RESOLUTION: 32768 x 3072
[m3vpss ] TILER_STATS: BUCKET RESOLUTION: 32768 x 3072
[m3vpss ] TILER_STATS: NUM FREE BUCKETS: 1
[m3vpss ] TILER_STATS: NUM USED BUCKETS: 0
[m3vpss ] TILER_STATS: TOTAL FREE AREA: 100663296 (100 %)
[m3vpss ] TILER_STATS: TOTAL USED AREA: 0 (0 %)
[m3vpss ] 590: SYSTEM : FVID2 Init in progress DONE !!!
[m3vpss ] 590: SYSTEM : Device Init in progress !!!
[m3vpss ] 593: SYSTEM : Device Init in progress DONE !!!
[m3vpss ] 638: SYSTEM : System VPSS Init Done !!!
[m3vpss ] 638: UTILS: DMA: HWI Create for INT63 !!!
[m3vpss ] 639: SYSTEM : Initializing Links !!!
[m3vpss ] 639: SYSTEM : FREE SPACE : System Heap = 74056 B, Mbx = 10240
msgs)
[m3vpss ] 639: SYSTEM : FREE SPACE : SR0 Heap = 12979968 B (12 MB)
[m3vpss ] 639: SYSTEM : FREE SPACE : Frame Buffer = 274348928 B (261 MB)
[m3vpss ] 639: SYSTEM : FREE SPACE : Bitstream Buffer = 210763648 B (200 MB)
[m3vpss ] TILER_STATS: CNT :8BIT
[m3vpss ] TILER_STATS: CNT RESOLUTION: 16384 x 8192
[m3vpss ] TILER_STATS: BUCKET RESOLUTION: 16384 x 8188
[m3vpss ] TILER_STATS: NUM FREE BUCKETS: 1
[m3vpss ] TILER_STATS: NUM USED BUCKETS: 0
[m3vpss ] TILER_STATS: TOTAL FREE AREA: 134152192 (99 %)
[m3vpss ] TILER_STATS: TOTAL USED AREA: 0 (0 %)
[m3vpss ] TILER_STATS: CNT :16BIT
[m3vpss ] TILER_STATS: CNT RESOLUTION: 32768 x 3072
[m3vpss ] TILER_STATS: BUCKET RESOLUTION: 32768 x 3072
[m3vpss ] TILER_STATS: NUM FREE BUCKETS: 1
[m3vpss ] TILER_STATS: NUM USED BUCKETS: 0
[m3vpss ] TILER_STATS: TOTAL FREE AREA: 100663296 (100 %)
[m3vpss ] TILER_STATS: TOTAL USED AREA: 0 (0 %)
[m3vpss ] 641: SYSTEM : FREE SPACE : Tiler 8-bit = 134152192 B (127 MB)
- TILER ON
[m3vpss ] 641: SYSTEM : FREE SPACE : Tiler 16-bit = 100663296 B (96 MB)
- TILER ON
[m3vpss ] 766: SYSTEM : Initializing Links ... DONE !!!
[m3vpss ] 766: SYSTEM : Set Static L3 pressure for HDVPSS as High
[c6xdsp ] 1023: MEM: Shared Region 1: Base = 0x90000000, Length = 0x0c900000 (
201 MB)
[c6xdsp ] 1023: SYSTEM : System Common Init Done !!!
[c6xdsp ] 1010: SYSTEM : System DSP Init in progress !!!
[c6xdsp ] 1010: SYSTEM : RpeServer_init() done... Ret Val 0!!!
[c6xdsp ] 1026: SYSTEM: Creating ListMP [DSP_IPC_OUT_19] in region 0 ...
[c6xdsp ] 1026: SYSTEM: Creating ListMP [DSP_IPC_IN_19] in region 0 ...
[c6xdsp ] 1026: SYSTEM: ListElem Shared Addr = 0xbf39f700
[c6xdsp ] 1026: SYSTEM: Creating ListMP [DSP_IPC_OUT_20] in region 0 ...
[c6xdsp ] 1027: SYSTEM: Creating ListMP [DSP_IPC_IN_20] in region 0 ...
[c6xdsp ] 1027: SYSTEM: ListElem Shared Addr = 0[module] vpss probe done.
xbf3c4f00
[c6xdsp ] 1027: SYSTEM: Creating ListMP [DSP_IPC_OUT_21] in region 0 ...
[c6xdsp ] 1027: SYSTEM: Creating ListMP [DSP_IPC_IN_21] in region 0 ...
[c6xdsp ] 1027: SYSTEM: ListElem Shared Addr = 0xbf3ea700
[c6xdsp ] 1028: SYSTEM: Creating ListMP [DSP_IPC_OUT_24] in region 0 ...
[c6xFB: no memory to allocate
dsp ] 1028: SYSti81xxfb ti81xxfb: failed to allocate framebuffer
TEM: Creating Liti81xxfb ti81xxfb: failed to allocate fb memory.
stMP [DSP_IPC_INti81xxfb: probe of ti81xxfb failed with error -12
_24] in region 0 ...
[c6xdsp ] 1028: SYSTEM: ListElem Shared Addr = 0xbf40ff00
[c6xdsp ] 1029: SYSTEM: Creating ListMP [DSP_IPC_OUT_25] in region 0 ...
[c6xdsp ] 1029: SYSTEM: CreatinHDMI W1 rev 2.0
g ListMP [DSP_IPHDMI CEC Spec version 1.2
C_IN_25] in region 0 ...
[c6xdsp ] 1029: SYSTEM: ListElem Shared Addr = 0xbf42e980
[c6xdsp ] !!WARNING.Resource already registered:2
[c6xdsp ] 1016: SYSTEM : Initializing Links !!!
[c6xdsp ] Received character 's'
/opt/dvr_rdk/ti816x
[c6xdsp ] 1029: SYSTEM : FREE SPACE : System Heap = 10342016 B, Mbx = 10
240 msgs)
[c6xdsp ] 1026: SYSTEM : Initializing Links ... DONE !!!
[c6xdsp ] ETH_OFFLOAD: Init !!!
[c6xdsp ] 1027: SYSTEM : System DSP Init Done !!!
I2C No Ack

HDMI failed to read E-EDID

ORG 0x46c00524: 0
NEW 0x46c00524: 2

-----------------------------------------------------------------------

I followed demo_audio_encode.c & developed a sample application with the following settings...

aencParams.bitRate = 192 * 1000;
aencParams.encoderType = AUDIO_CODEC_TYPE_AAC_LC;
aencParams.numberOfChannels = 2;
aencParams.sampleRate = 44100;

encHandle = Aenc_create(&aencParams);

  • The Aenc_create returned with the following ERROR...

host] AUDIO: ENC Handle 451008, Int Handle 451014

[host] AUDIO: ENC -> bitrate - 192000 inputBitsPerSample - 16, sampleRate - 441
00, numberOfChannels - 2...
RpeClient_initConfigDB() returned ERROR=-1021

[host] AUDIO: ENC -> Rpe_create failed, status: Client not found(-1006)
ITTIAM INFO >>> AENC Create failed...........
[HOST]
ThreadName:Demo_run,ThreadID:678

Any Idea why Aenc_create() fails for the existing AAC CODEC ?

Thanks

Subash

  • The error you have seen during loading is not an issue and can be ignored.

    The failure in Aenc_create() is due to worng bitrate - sample rate combination. Refer the aac encoder user guide in ti_tools folder for allowed combination. Possible failure conditions are documented in audio app notes.

  • Hi Sivagamy,

       Thanks for your fast reply...

    I get the same error for almost all the values.. I have opened the Test App in the Codec folder and set the Default codec parameters. Even for those values it fails...


    [host] AUDIO: ENC Handle 451008, Int Handle 451014

    [host] AUDIO: ENC -> bitrate - 128000 inputBitsPerSample - 16, sampleRate - 441
    00, numberOfChannels - 2...
    RpeClient_initConfigDB() returned ERROR=-1021

    [host] AUDIO: ENC -> Rpe_create failed, status: Client not found(-1006)
    ITTIAM INFO >>> AENC Create failed...........
    [HOST]
    ThreadName:Demo_run,ThreadID:671

    ---------------------------------------------------------------------------------

    [host] AUDIO: ENC Handle 451008, Int Handle 451014

    [host] AUDIO: ENC -> bitrate - 88000 inputBitsPerSample - 16, sampleRate - 4410
    0, numberOfChannels - 2...
    RpeClient_initConfigDB() returned ERROR=-1021

    [host] AUDIO: ENC -> Rpe_create failed, status: Client not found(-1006)
    ITTIAM INFO >>> AENC Create failed...........

     

    Thanks

    Subash

  • Hi Sivagamy.

       I figured out that Audio_systemInit() was not called before to initialize audio sub system. Sorry for the confusion.

      So I called Audio_systemInit() to initialize, But when this function calls, SysLink_setup (), I get the following crash...

    Unable to handle kernel paging request at virtual address d0d6cfdc
    = 1

    [host]pgd = cc680000
    AUDIO: ENC Hand[d0d6cfdc] *pgd=8dc63011le 4524B8, Int H, *pte=00000000andle 452
    4C4

    [host] AUDIO: 0
    ENC -> bitrate -Internal error: Oops: 7 [#1]
    last sysfs file: /sys/devices/virtual/TI81XX_HDMI/TI81XX_HDMI/uevent
    Modules linked in: ti81xxhdmi ti81xxfb vpss osa_kermod syslink
    CPU: 0 Not tainted (2.6.37 #1)
    PC is at SharedRegion_getSRPtr+0x5c/0xf0 [syslink]
    LR is at SharedRegion_getSRPtr+0x34/0xf0 [syslink]
    pc : [<bf0242ec>] lr : [<bf0242c4>] psr: 20000013
    sp : cde51e78 ip : 00000000 fp : cde51e94
    r10: be9978b8 r9 : cde50000 r8 : 00000000
    r7 : 000002ae r6 : be9978b8 r5 : 0000ffff r4 : d3ee6000
    r3 : bf07e52c r2 : 0023ffdc r1 : d0b2d000 r0 : d0d6cfdc
    Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
    Control: 10c5387d Table: 8c680019 DAC: 00000015
    Process dvr_rdk_demo_mc (pid: 686, stack limit = 0xcde502e8)
    Stack: (0xcde51e78 to 0xcde52000)
    1e60: 0000ffff bf01b99c
    1e80: d3ee6000 cd1d9f00 cde51efc cde51e98 bf04cfc0 bf02429c c018f35a be9978b8
    1ea0: 00000000 00000084 d3ed7000 be9978f0 00000000 00000012 c008fa0c c01ccea0
    1ec0: cde51f04 cde51ed0 c03b81b8 c008fa08 c00f6f14 00000017 ce163600 00000004
    1ee0: be9978b8 00000004 00000000 00000000 cde51f74 cde51f00 c00d957c bf04ce48
    1f00: c0041298 c03b805c 00000000 00000000 cd1d9e00 0000006c cdc3e308 00000002
    1f20: ce620ce0 00000000 00000002 00000000 fffffffe 00000000 cde51f6c cde51f48
    1f40: c03b833c c00469ec ffffffff ce47001c cd1d9f00 be9978b8 c018f35a 00000004
    1f60: 00000000 cde50000 cde51fa4 cde51f78 c00d9648 c00d90b8 cde51fac 00000001
    1f80: c03b4bb0 be9978b8 0026ea38 c018f35a 00000036 c004b568 00000000 cde51fa8
    1fa0: c004b3c0 c00d95fc be9978b8 0026ea38 00000004 c018f35a be9978b8 00000002
    1fc0: be9978b8 0026ea38 c018f35a 00000036 00000002 0016b0ec 00000001 be99795c
    1fe0: 0026ea1c be997890 0008506c 402aa1cc 20000010 00000004 00000000 00000000
    Backtrace:
    [<bf024290>] (SharedRegion_getSRPtr+0x0/0xf0 [syslink]) from [<bf04cfc0>] (Messa
    geQDrv_ioctl+0x184/0x848 [syslink])
    r5:cd1d9f00 r4:d3ee6000
    [<bf04ce3c>] (MessageQDrv_ioctl+0x0/0x848 [syslink]) from [<c00d957c>] (do_vfs_i
    octl+0x4d0/0x544)
    [<c00d90ac>] (do_vfs_ioctl+0x0/0x544) from [<c00d9648>] (sys_ioctl+0x58/0x7c)
    r9:cde50000 r8:00000000 r7:00000004 r6:c018f35a r5:be9978b8
    r4:cd1d9f00
    [<c00d95f0>] (sys_ioctl+0x0/0x7c) from [<c004b3c0>] (ret_fast_syscall+0x0/0x30)
    r8:c004b568 r7:00000036 r6:c018f35a r5:0026ea38 r4:be9978b8
    Code: e3a02024 e5931008 e0020592 e0810002 (e7912002)
    88000 inputBits---[ end trace faf71f87d006514b ]---
    PerSample - 16, sampleRate - 44100, numberOfChannels - 2...

     

    Is there any important step Am I missing?

    Thanks

    Subash

     

     

  • Can you just try to run standard release demo to see if audio encode works?

    Audio_systemInit() should be called after Vsys_init().

  • Hi Sivagamy,

      The Issue is resolved after ...

    System_init(); and 

    Audio_systemInit();

    Thanks for your valid input. which enabled me to resolve it in a day.

    Thanks

    Subash