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.

TDA4VM: enable writing LDC output fail

Part Number: TDA4VM

Hi ,

I use TDA4 evaluation board, SDK v8.04 and a IMX390 camera.

I want to get LDC image output file.

I tried the vx_app_multi_cam.out.

The configuration parameter "en_out_ldc_write" change from 0 to 1.

Following is my configuration file.

app_multi_cam_ldc_write.cfg

The screen freezes after run vx_app_multi_cam.out.

No LDC image file output after key in "s" command.

Following is the log.

app_multi_cam_ldc_write_log.txt
root@j7-evm:/opt/vision_apps# ./run_app_multi_cam.sh                                                                   
APP: Init ... !!!                                                                                                      
MEM: Init ... !!!                                                                                                      
MEM: Initialized DMA HEAP (fd=4) !!!                                                                                   
MEM: Init ... Done !!!                                                                                                 
IPC: Init ... !!!                                                                                                      
IPC: Init ... Done !!!                                                                                                 
REMOTE_SERVICE: Init ... !!!                                                                                           
REMOTE_SERVICE: Init ... Done !!!                                                                                      
  2173.299646 s: GTC Frequency = 200 MHz                                                                               
APP: Init ... Done !!!                                                                                                 
  2173.299709 s:  VX_ZONE_INIT:Enabled                                                                                 
  2173.299715 s:  VX_ZONE_ERROR:Enabled                                                                                
  2173.299721 s:  VX_ZONE_WARNING:Enabled                                                                              
  2173.300404 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!                                             
  2173.301646 s:  VX_ZONE_INIT:[tivxHostInitLocal:86] Initialization Done for HOST !!!                                 
  2173.305320 s: ISS: Enumerating sensors ... !!!                                                                      
  2173.705713 s: ISS: Enumerating sensors ... found 0 : IMX390-UB953_D3                                                
  2173.705767 s: ISS: Enumerating sensors ... found 1 : AR0233-UB953_MARS                                              
  2173.705773 s: ISS: Enumerating sensors ... found 2 : AR0820-UB953_LI                                                
  2173.705779 s: ISS: Enumerating sensors ... found 3 : UB9xxx_RAW12_TESTPATTERN                                       
  2173.705784 s: ISS: Enumerating sensors ... found 4 : UB96x_UYVY_TESTPATTERN                                         
  2173.705789 s: ISS: Enumerating sensors ... found 5 : GW_AR0233_UYVY                                                 
6 sensor(s) found                                                                                                      
Supported sensor list:                                                                                                 
a : IMX390-UB953_D3                                                                                                    
b : AR0233-UB953_MARS                                                                                                  
c : AR0820-UB953_LI                                                                                                    
d : UB9xxx_RAW12_TESTPATTERN                                                                                           
e : UB96x_UYVY_TESTPATTERN                                                                                             
f : GW_AR0233_UYVY                                                                                                     
Select a sensor above or press '0' to autodetect the sensor                                                            
a                                                                                                                      
Sensor selected : IMX390-UB953_D3                                                                                      
Querying IMX390-UB953_D3                                                                                               
  2175.786383 s: ISS: Querying sensor [IMX390-UB953_D3] ... !!!                                                        
  2175.786735 s: ISS: Querying sensor [IMX390-UB953_D3] ... Done !!!                                                   
LDC Selection Yes(1)/No(0)                                                                                             
Invalid selection                                                                                                      
. Try again                                                                                                            
LDC Selection Yes(1)/No(0)                                                                                             
1                                                                                                                      
Max number of cameras supported by sensor IMX390-UB953_D3 = 8                                                          
Please enter number of cameras to be enabled                                                                           
Invalid selection                                                                                                      
. Try again                                                                                                            
Max number of cameras supported by sensor IMX390-UB953_D3 = 8                                                          
Please enter number of cameras to be enabled                                                                           
1                                                                                                                      
  2177.625180 s: ISS: Initializing sensor [IMX390-UB953_D3], doing IM_SENSOR_CMD_PWRON ... !!!                         
  2177.625691 s: ISS: Initializing sensor [IMX390-UB953_D3], doing IM_SENSOR_CMD_CONFIG ... !!!                        
[MCU2_0]   2177.625489 s: IMX390_PowerOn : chId = 0x0                                                                  
[MCU2_0]   2178.526412 s:  Configuring IMX390 imager 0x40.. Please wait till it finishes                               
  2180.639437 s: ISS: Initializing sensor [IMX390-UB953_D3] ... Done !!!                                               
read_test_image_raw : Unable to open file /opt/vision_apps/test_data//img_test.raw, setting error message as all 0s    
  2180.800272 s: ISS: Starting sensor [IMX390-UB953_D3] ... !!!                                                        
  2181.354527 s: ISS: Starting sensor [IMX390-UB953_D3] ... !!!                                                        
                                                                                                                       
                                                                                                                       
 =========================                                                                                             
 Demo : Camera Demo                                                                                                    
 =========================                                                                                             
                                                                                                                       
 s: Save CSIx, VISS and LDC outputs                                                                                    
                                                                                                                       
 p: Print performance statistics                                                                                       
                                                                                                                       
 x: Exit                                                                                                               
                                                                                                                       
 Enter Choice:                                                                                                         
                                                                                                                       
                                                                                                                       
 =========================                                                                                             
 Demo : Camera Demo                                                                                                    
 =========================                                                                                             
                                                                                                                       
 s: Save CSIx, VISS and LDC outputs                                                                                    
                                                                                                                       
 p: Print performance statistics                                                                                       
                                                                                                                       
 x: Exit                                                                                                               
                                                                                                                       
 Enter Choice: [MCU2_0]   2181.389497 s: IMX390_GetWBPrgFxn: sensor_pre_gain = 0                                       
s                                                                                                                      
                                                                                                                       
                                                                                                                       
                                                                                                                       
 =========================                                                                                             
 Demo : Camera Demo                                                                                                    
 =========================                                                                                             
                                                                                                                       
 s: Save CSIx, VISS and LDC outputs                                                                                    
                                                                                                                       
 p: Print performance statistics                                                                                       
                                                                                                                       
 x: Exit                                                                                                               
                                                                                                                       
 Enter Choice:                                                                                                         
                                                                                                                       
                                                                                                                       
 =========================                                                                                             
 Demo : Camera Demo                                                                                                    
 =========================                                                                                             
                                                                                                                       
 s: Save CSIx, VISS and LDC outputs                                                                                    
                                                                                                                       
 p: Print performance statistics                                                                                       
                                                                                                                       
 x: Exit                                                                                                               
                                                                                                                       
 Enter Choice: 

Could you give me suggestion?

Best regards

-Jason