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.

TDA4AL-Q1: Issue with Custom TDA4AL Board - No Display Port and Vision Apps Error

Part Number: TDA4AL-Q1

Hi,

SDK: ti-processor-sdk-rtos-j721s2-evm-08_06_01_03.tar.gz  and ti-processor-sdk-linux-j721s2-evm-08_06_01_02-Linux-x86-Install.bin

I'm working with a custom TDA4AL board that doesn't have a display port. Following guidance from [this link], I removed DSS_EDP in  vision_apps/platform/j721s2/rtos/common/app_cfg_mcu2_0.h

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#define ENABLE_CSI2RX
#define ENABLE_CSI2TX
//#undef ENABLE_CSI2TX
/* IMPORANT NOTE:
* - Only one of ENABLE_DSS_SINGLE or ENABLE_DSS_DUAL should be defined
* - When ENABLE_DSS_SINGLE is defined, only one of ENABLE_DSS_HDMI or ENABLE_DSS_EDP should be defined
* - When ENABLE_DSS_DUAL is defined, ENABLE_DSS_HDMI and ENABLE_DSS_EDP are not used, both EDP and HDMI ar\
e enabled unconditionally
*/
//Brandon for TDA4AL variant
//#define ENABLE_DSS_SINGLE
#undef ENABLE_DSS_SINGLE
#undef ENABLE_DSS_DUAL
/* define below to enable eDP display,
make sure to undef ENABLE_DSS_HDMI & ENABLE_DSS_DSI as well */
//Brandon for TDA4AL variant
//#define ENABLE_DSS_EDP
#undef ENABLE_DSS_EDP
/* define below to enable HDMI display,
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

vision_apps log:

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
root@j721s2-evm:~# cd /opt/vision_apps/
root@j721s2-evm:/opt/vision_apps# source ./vision_apps_init.sh
root@j721s2-evm:/opt/vision_apps# [MCU2_0] 3.815092 s: CIO: Init ... Done !!!
[MCU2_0] 3.815143 s: ### CPU Frequency = 1000000000 Hz
[MCU2_0] 3.815175 s: CPU is running FreeRTOS
[MCU2_0] 3.815197 s: APP: Init ... !!!
[MCU2_0] 3.815217 s: SCICLIENT: Init ... !!!
[MCU2_0] 3.815353 s: SCICLIENT: DMSC FW version [8.6.3--1-g2249f (Chill Capybara]
[MCU2_0] 3.815387 s: SCICLIENT: DMSC FW revision 0x8
[MCU2_0] 3.815417 s: SCICLIENT: DMSC FW ABI revision 3.1
[MCU2_0] 3.815449 s: SCICLIENT: Init ... Done !!!
[MCU2_0] 3.815472 s: UDMA: Init ... !!!
[MCU2_0] 3.816359 s: UDMA: Init ... Done !!!
[MCU2_0] 3.816394 s: UDMA: Init ... !!!
[MCU2_0] 3.816904 s: UDMA: Init for CSITX/CSIRX ... Done !!!
[MCU2_0] 3.816959 s: MEM: Init ... !!!
[MCU2_0] 3.816995 s: MEM: Created heap (DDR_LOCAL_MEM, id=0, flags=0x00000004) @ d9000000 of size 16777216 bytes !!!
[MCU2_0] 3.817053 s: MEM: Created heap (L3_MEM, id=1, flags=0x00000000) @ 60000000 of size 524288 bytes !!!
[MCU2_0] 3.817107 s: MEM: Init ... Done !!!
[MCU2_0] 3.817128 s: IPC: Init ... !!!
[MCU2_0] 3.817174 s: IPC: 5 CPUs participating in IPC !!!
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Now, I'm encountering errors when running vision apps, 

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[MCU2_0] 483.499744 s: VX_ZONE_WARNING:[tivxVpacVissCreate:377] VISS H3A output is not generated due to DCC not being enabled
[MCU2_0] 483.505670 s: VX_ZONE_WARNING:[tivxAewbCreate:1074] No DCC buffer passed. Disabling 2A
[MCU2_0] 483.510551 s: VX_ZONE_ERROR:[ownTargetKernelInstanceAlloc:116] kernel com.ti.hwa.display has not been registered on this CPU
[MCU2_0] 483.510610 s: VX_ZONE_ERROR:[ownTargetKernelInstanceAlloc:117] Please register this kernel on the appropriate target core
[MCU2_0] 483.510664 s: VX_ZONE_ERROR:[ownTargetNodeDescNodeCreate:761] target_kernel_instance is NULL
[MCU2_0] 483.816610 s: ==========================================================
[MCU2_0] 483.816670 s: Capture Status: Instance|0
[MCU2_0] 483.816705 s: ==========================================================
[MCU2_0] 483.816745 s: overflowCount: 0
[MCU2_0] 483.816777 s: spuriousUdmaIntrCount: 0
[MCU2_0] 483.816809 s: frontFIFOOvflCount: 0
[MCU2_0] 483.816838 s: crcCount: 0
[MCU2_0] 483.816864 s: eccCount: 0
[MCU2_0] 483.816893 s: correctedEccCount: 0
[MCU2_0] 483.816921 s: dataIdErrorCount: 0
[MCU2_0] 483.816951 s: invalidAccessCount: 0
[MCU2_0] 483.816980 s: invalidSpCount: 0
[MCU2_0] 483.817014 s: strmFIFOOvflCount[0]: 0
[MCU2_0] 483.817049 s: strmFIFOOvflCount[1]: 0
[MCU2_0] 483.817074 s: Channel Num | Frame Queue Count | Frame De-queue Count | Frame Drop Count | Error Frame Count |
[MCU2_0] 483.817139 s: 0 | 0 | 0 | 0 | 0 |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

My primary goal is capturing raw images.

Could anyone suggest a workaround or solution to run the program successfully?

Best,

Brandon

  • Hi Brandon,

    But which example are you running? Have you removed usage of display node from this node? Since you have removed DSS from vision apps, you would also have to remove display node from this example. Most of the examples use display node for showing the output. So this needs to be removed, otherwise, display node create will fails, as display is removed from R5F. 

    Regards,

    Brijesh

  • Hi Brijesh,

    We are using ./run_app_single_cam.sh for testing. Could you please provide guidance on how to remove the display node? Do you have any example code or steps to share?

    Thank you,

    Brandon

  • Hi Brandon,

    Can you please check the single camera example and remove usage of display node from it? 

    You can find this example in vision_apps\apps\basic_demos\app_single_cam\ folder.

    Regards,

    Brijesh