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.

TDA4VH-Q1: app_tidl_od

Part Number: TDA4VH-Q1

Tool/software:

I have ran successfully app_tidl_od , I have enabled the logs in common.h APP_DEBUG ... 
But i want runtime logs of inference how do i enable it . ??

./vx_app_tidl_od.out --cfg app_od.cfg          
APP: Init ... !!!                                                               
   118.978674 s: MEM: Init ... !!!                                              
   118.978741 s: MEM: Initialized DMA HEAP (fd=5) !!!                           
   118.978887 s: MEM: Init ... Done !!!                                         
   118.978901 s: IPC: Init ... !!!                                              
   119.042443 s: IPC: Init ... Done !!!                                         
REMOTE_SERVICE: Init ... !!!                                                    
REMOTE_SERVICE: Init ... Done !!!                                               
   119.051961 s: GTC Frequency = 200 MHz                                        
APP: Init ... Done !!!                                                          
   119.055402 s:  VX_ZONE_INFO: Globally Enabled VX_ZONE_ERROR                  
   119.055432 s:  VX_ZONE_INFO: Globally Enabled VX_ZONE_WARNING                
   119.055440 s:  VX_ZONE_INFO: Globally Enabled VX_ZONE_INFO                   
   119.064765 s:  VX_ZONE_INFO: [tivxPlatformCreateTargetId:169] Added target M 
   119.064952 s:  VX_ZONE_INFO: [tivxPlatformCreateTargetId:169] Added target M 
   119.065058 s:  VX_ZONE_INFO: [tivxPlatformCreateTargetId:169] Added target M 
   119.065136 s:  VX_ZONE_INFO: [tivxPlatformCreateTargetId:169] Added target M 
   119.065146 s:  VX_ZONE_INFO: [tivxInitLocal:202] Initialization Done !!!     
   119.065156 s:  VX_ZONE_INFO: Globally Disabled VX_ZONE_INFO                  
Default param set!                                                              
Parsed user params!                                                             
Updated user params!                                                            
Scaler Init Done!                                                               
TIDL Init Done!                                                                 
Pre Proc Update Done!                                                           
Pre Proc Init Done!                                                             
Post Proc Update Done!                                                          
Post Proc Init Done!                                                            
Img Mosaic Init Done!                                                           
Display Init Done!                                                              
App Init Done!                                                                  
App Create Graph Done!                                                          
App Verify Graph Done!                                                          
App Send MSC Command Done!                                                      
App Verify Graph Done!                                                          
Running frame 500                                                               
App Reading Input Done!                                                         
App Process Graph Done!                                                         
app_tidl_od: Frame ID 500 of 510 ... Done.                                      
Running frame 501                                                               
App Reading Input Done!                                                         
App Writing Outputs Start...                                                    
App Writing Outputs Done!                                                       
App Reading Input Done!                                                         
App Process Graph Done!                                                         
app_tidl_od: Frame ID 501 of 510 ... Done.                                      
Running frame 502                                                               
App Writing Outputs Start...                                                    
App Writing Outputs Done!                                                       
App Reading Input Done!                                                         
App Process Graph Done!                                                         
app_tidl_od: Frame ID 502 of 510 ... Done.                                      
Running frame 503                                                               
App Writing Outputs Start...                                                    
App Writing Outputs Done!                                                       
App Reading Input Done!                                                         
App Process Graph Done!                                                         
app_tidl_od: Frame ID 503 of 510 ... Done.                                      
Running frame 504                                                               
App Writing Outputs Start...                                                    
App Writing Outputs Done!                                                       
App Reading Input Done!                                                         
App Process Graph Done!                                                         
app_tidl_od: Frame ID 504 of 510 ... Done.                                      
Running frame 505                                                               
App Writing Outputs Start...                                                    
App Writing Outputs Done!                                                       
App Reading Input Done!                                                         
App Process Graph Done!                                                         
app_tidl_od: Frame ID 505 of 510 ... Done.                                      
Running frame 506                                                               
App Writing Outputs Start...                                                    
App Writing Outputs Done!                                                       
App Reading Input Done!                                                         
App Process Graph Done!                                                         
app_tidl_od: Frame ID 506 of 510 ... Done.                                      
Running frame 507                                                               
App Writing Outputs Start...                                                    
App Writing Outputs Done!                                                       
App Reading Input Done!                                                         
App Process Graph Done!                                                         
app_tidl_od: Frame ID 507 of 510 ... Done.                                      
Running frame 508                                                               
App Writing Outputs Start...                                                    
App Writing Outputs Done!                                                       
App Reading Input Done!                                                         
App Process Graph Done!                                                         
app_tidl_od: Frame ID 508 of 510 ... Done.                                      
Running frame 509                                                               
App Writing Outputs Start...                                                    
App Writing Outputs Done!                                                       
App Reading Input Done!                                                         
App Process Graph Done!                                                         
app_tidl_od: Frame ID 509 of 510 ... Done.                                      
app_tidl_od: Iteration 0 of 1 ... Done.                                         
App Run Graph Done!                                                             
App Delete Graph Done!                                                          
Input image release Done!                                                       
Scaler deinit Done!                                                             
Pre-Proc deinit Done!                                                           
TIDL deinit Done!                                                               
Post proc deinit done!                                                          
Mosaic deinit Done!                                                             
Display deinit Done!                                                            
TIDL unload Done!                                                               
ImgProc unload Done!                                                            
EdgeAI ImgProc unload Done!                                                     
VideoIO unload Done!                                                            
HWA unload Done!                                                                
Context released!                                                               
App De-init Done!                                                               
APP: Deinit ... !!!                                                             
REMOTE_SERVICE: Deinit ... !!!                                                  
REMOTE_SERVICE: Deinit ... Done !!!                                             
   121.151756 s: IPC: Deinit ... !!!                                            
   121.152657 s: IPC: DeInit ... Done !!!                                       
   121.152689 s: MEM: Deinit ... !!!                                            
   121.152786 s: DDR_SHARED_MEM: Alloc's: 31 alloc's of 20025216 bytes          
   121.152798 s: DDR_SHARED_MEM: Free's : 31 free's  of 20025216 bytes          
   121.152804 s: DDR_SHARED_MEM: Open's : 0 allocs  of 0 bytes                  
   121.152815 s: MEM: Deinit ... Done !!!                                       
APP: Deinit ... Done !!!                                                        
root@j721e-evm:/opt/vision_apps# 

  • Hi Komal,

    I am not sure what logs you are asking for, can you try enabling APP_TIDL_TRACE_DUMP macro and to debug tidl target you can enable info prints, inside c7x-mma-tidl/arm-tidl/tiovx_kernels/tidl/dsp/vx_tidl_target.c by uncommenting this macro,

    Regards,
    Gokul