Hello TI:
We have code that draws on video before H264 encoding in the encLinc_common.c function named EncLink_codecQueueFramesToChQue().
It works great when we have the tiler disabled, however when we enable the tiler we get the exception below, on the very first execution.
pChObj->algObj.algCreateParams.tilerEnable is true in this function.
When using the tiler, we are calling Utils_tilerAddr2CpuAddr() to translate to the tiler address. (It also crashes if we don't translate).
We are using frame pointers from pFrame->addr[][] and note that I have logged the pFrame->addr[][] and the translated tiler address and data format.
This code also worked with the tiler enabled in DVR-RDK 2.80 and we have since migrated to DVR-RDK 03.00.01.03.
Any ideas on where we have introduced a bug and how we can debug?
2013-05-01 12:21:29 iCVR-VS-005354 local1.info : [m3video] TILER TEST:: addr[0,0]=0xF03C80 addr[0][1]=0x8783C80::addr[0][2]=0x0
2013-05-01 12:21:29 iCVR-VS-005354 local1.info : [m3video] addr[1][0]=0x0 addr[1][1]=0x0 addr[1][2]=0x0 dataFormat=0
2013-05-01 12:21:29 iCVR-VS-005354 local1.info : [m3video] tile[0][0]=0x60F03C80, tile[0][1]=0x68783C80
2013-05-01 12:21:29 iCVR-VS-005354 local1.info : [m3video] Unhandled Exception:
2013-05-01 12:21:29 iCVR-VS-005354 local1.info : [m3video] Exception occurred in ThreadType_Task
2013-05-01 12:21:29 iCVR-VS-005354 local1.info : [m3video] handle: 0x35402be0.
2013-05-01 12:21:29 iCVR-VS-005354 local1.info : [m3video] stack base: 0x35e0e140.
2013-05-01 12:21:29 iCVR-VS-005354 local1.info : [m3video] stack size: 0x8000.
2013-05-01 12:21:29 iCVR-VS-005354 local1.info : [m3video] R0 = 0x6878d3d4 R8 = 0x000002c0
2013-05-01 12:21:29 iCVR-VS-005354 local1.info : [m3video] R1 = 0x60f16b14 R9 = 0x000002c0
2013-05-01 12:21:29 iCVR-VS-005354 local1.info : [m3video] R2 = 0x68784a54 R10 = 0x000000ab
2013-05-01 12:21:29 iCVR-VS-005354 local1.info : [m3video] R3 = 0x60f05814 R11 = 0x00000002
2013-05-01 12:21:29 iCVR-VS-005354 local1.info : [m3video] R4 = 0x68784a54 R12 = 0x00000019
2013-05-01 12:21:29 iCVR-VS-005354 local1.info : [m3video] R5 = 0x00000064 SP(R13) = 0x35e15f00
2013-05-01 12:21:29 iCVR-VS-005354 local1.info : [m3video] R6 = 0x60f05815 LR(R14) = 0x00000019
2013-05-01 12:21:29 iCVR-VS-005354 local1.info : [m3video] R7 = 0x000000b2 PC(R15) = 0x952ee96c
2013-05-01 12:21:29 iCVR-VS-005354 local1.info : [m3video] PSR = 0x01000000
2013-05-01 12:21:29 iCVR-VS-005354 local1.info : [m3video] ICSR = 0x0440f803
2013-05-01 12:21:29 iCVR-VS-005354 local1.info : [m3video] MMFSR = 0x00
2013-05-01 12:21:29 iCVR-VS-005354 local1.info : [m3video] BFSR = 0x04
2013-05-01 12:21:29 iCVR-VS-005354 local1.info : [m3video] UFSR = 0x0000
2013-05-01 12:21:29 iCVR-VS-005354 local1.info : [m3video] HFSR = 0x40000000
2013-05-01 12:21:29 iCVR-VS-005354 local1.info : [m3video] DFSR = 0x00000000
2013-05-01 12:21:29 iCVR-VS-005354 local1.info : [m3video] MMAR = 0xe000ed34
2013-05-01 12:21:29 iCVR-VS-005354 local1.info : [m3video] BFAR = 0xe000ed38
2013-05-01 12:21:29 iCVR-VS-005354 local1.info : [m3video] AFSR = 0x00000000
2013-05-01 12:21:29 iCVR-VS-005354 local1.info : [m3video] Terminating Execution...
Thanks
--B