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.

TDA3MV: Modify fastboot usecase hangs

Part Number: TDA3MV
Other Parts Discussed in Thread: PGA460

Hi,

I am having problems modifying the fastboot usecase,

If I open IPU1_1 in  "cfg.mk", the program will hang on the app , 

else work well.

My SDK version : PROCESSOR_SDK_VISION_03_04_00_00

Modified use case :

Debug with CCS :

Uart Log compare :

"gmake showconfig" :

# CPUs included in application,
# PROC_IPU1_0_INCLUDE=yes
# PROC_IPU1_1_INCLUDE=yes
# PROC_IPU2_INCLUDE=no
# PROC_DSP1_INCLUDE=yes
# PROC_DSP2_INCLUDE=no
# PROC_EVE1_INCLUDE=no
# PROC_EVE2_INCLUDE=no
# PROC_EVE3_INCLUDE=no
# PROC_EVE4_INCLUDE=no
# PROC_A15_0_INCLUDE=no
#
# Platform config,
# VSDK_BOARD_TYPE=TDA3XX_RVP [options: TDA2XX_EVM TDA2EX_EVM TDA3XX_EVM TDA3XX_RVP TDA2XX_RVP]
# PLATFORM=tda3xx-rvp
# DUAL_A15_SMP_BIOS=no
# IPU1_SMP_BIOS=no
# DDR_MEM=DDR_MEM_1024M [options: DDR_MEM_128M DDR_MEM_512M DDR_MEM_1024M]
# EMIFMODE=SINGLE_EMIF_1GB [options: SINGLE_EMIF_512MB SINGLE_EMIF_1GB ref build_pdk.mk]
# NDK_PROC_TO_USE=none [options: a15_0 ipu1_0 ipu1_1 ipu2 none]
# NSP_TFDTP_INCLUDE=no [options: yes no]
# TDA2EX_ETHSRV_BOARD=no [options: yes no]
# FATFS_PROC_TO_USE=ipu1_0 [options: ipu1_0 none]
# RADAR_BOARD=none [options: TDA3XX_AR12_ALPS TDA3XX_AR12_VIB_DAB_BOOSTER TDA3XX_RADAR_RVP none]
#
# Build config,
# BUILD_OS=Windows_NT [options: Windows_NT Linux]
# BUILD_DEPENDENCY_ALWAYS=no
# BUILD_ALGORITHMS=no
# BUILD_INFOADAS=no
# PROFILE=release [options: debug release]
# KW_BUILD=no
# CPLUSPLUS_BUILD=no
# IPU_PRIMARY_CORE=ipu1_0 [options: ipu1_0 ipu2]
# IPU_SECONDARY_CORE=ipu2 [options: ipu1_0 ipu2]
# A15_TARGET_OS=Bios [options: Bios Linux Qnx]
# BSP_STW_PACKAGE_SELECT=all [options: all vps-iss-dss-only vps-vip-vpe]
#
# Safety Module config,
# RTI_INCLUDE=no
# ECC_FFI_INCLUDE=no
# DCC_ESM_INCLUDE=no
#
# Video Module config,
# IVAHD_INCLUDE=no
# VPE_INCLUDE=no
# CAL_INCLUDE=yes
# ISS_INCLUDE=yes
# ISS_ENABLE_DEBUG_TAPS=no
# WDR_LDC_INCLUDE=yes
# DSS_INCLUDE=yes
#
# Open Compute config,
# OPENCL_INCLUDE=no
# TARGET_ROOTDIR=C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/src/rtos/opencl
# ENABLE_OPENCV=no
# ENABLE_OPENCV_TESTS=no
# OPENVX_INCLUDE=no
#
# Log config,
# ENABLE_UART_LOG=yes
# ENABLE_NETWORK_LOG=no
# ENABLE_CCS_LOG=no
# CIO_REDIRECT=no
#
# IPC config,
# WORKQ_INCLUDE=no
# IPC_LIB_INCLUDE=no
#
# Surround View config,
# SRV_FAST_BOOT_INCLUDE=no
#
# Other Module config,
# AVB_INCLUDE=no
# DCAN_INCLUDE=yes
# RADAR_ONLY=no
# CPU_IDLE_ENABLED=yes
# FAST_BOOT_INCLUDE=yes
# DATA_VIS_INCLUDE=no
# HS_DEVICE=no
# ULTRASONIC_INCLUDE=no
# PGA450=
# PGA460=
# ENABLE_ALL_DEPTH=
#
# Linux config,
# DEFAULT_UBOOT_CONFIG=dra7xx_evm_vision_config
# DEFAULT_KERNEL_CONFIG=ti_sdk_dra7x_release_defconfig
# DEFAULT_DTB=dra7-evm-infoadas.dtb
# CMEM_INCLUDE=no
# IPUMM_INCLUDE=no
# IPU1_EVELOADER_INCLUDE=no
# ROBUST_RVC_INCLUDE=no
# BUILD_ADAM_CAR=no
#
# Alg plugins included in build,
# ALG_framecopy
#
# Use-cases included in build,
# UC_fast_boot_iss_capture_isp_simcop_pd_display UC_vip_single_cam_frame_copy
#
gmake -s -fbuild_makeconfig.mk check_cpu_include
gmake[2]: Entering directory `C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/configs'
#
# CPUs that are NOT required but included in config [ tda3xx_rvp_bios_all ],
#
#
# CPUs that are required but not included in config [ tda3xx_rvp_bios_all ],
#
# ERROR: EVE1 MUST be included in application

  • Hi,

    can you try to change "PROC_EVE1_INCLUDE=no" to "PROC_EVE1_INCLUDE=yes" and see it it works?

    Also try a clean build (including deleting vision_sdk/binaries folder)

    Regards,

    Yordan

  • Hi.

    I fixed the problem with EVE error because I didn't turn off other usecase, and then I tested it again but didn't helpful.

    After that I tried changing "PROC_EVE1_INCLUDE = yes and gmake clean" to clean up the build and remove the vision_sdk / binaries folder,

    but didn't helpful too.

    Please give me some advice 

    C:\PROCESSOR_SDK_VISION_03_04_00_00\vision_sdk\build>gmake -s -j
    # Compiling tda3xx-rvp:arp32_1:release:app_alg_plugins: framecopy/draw.c
    # Compiling tda3xx-rvp:arp32_1:release:app_alg_plugins: framecopy/LDW.c
    # Compiling tda3xx-rvp:arp32_1:release:app_alg_plugins: framecopy/LDW_Fun.c
    # Compiling tda3xx-rvp:arp32_1:release:app_alg_plugins: framecopy/FCW.c
    # Compiling tda3xx-rvp:arp32_1:release:app_alg_plugins: framecopy/FCW_Fun.c
    "framecopy/FCW.c", line 3: warning: variable "FCW_INIT" was set but never used
    "framecopy/FCW_Fun.c", line 161: warning: variable "j" was declared but never referenced
    "framecopy/FCW_Fun.c", line 162: warning: variable "x0" was declared but never referenced
    "framecopy/FCW_Fun.c", line 170: warning: variable "wd_f" was declared but never referenced
    "framecopy/FCW_Fun.c", line 171: warning: variable "temp_width" was declared but never referenced
    "framecopy/FCW_Fun.c", line 172: warning: variable "temp_y" was declared but never referenced
    "framecopy/FCW_Fun.c", line 342: warning: variable "y_mid" was declared but never referenced
    "framecopy/FCW_Fun.c", line 491: warning: variable "y_mid" was declared but never referenced
    "framecopy/FCW_Fun.c", line 820: warning: nested comment is not allowed
    "framecopy/FCW_Fun.c", line 954: warning: variable "x0" was declared but never referenced
    "framecopy/FCW_Fun.c", line 956: warning: variable "x1" was declared but never referenced
    "framecopy/FCW_Fun.c", line 958: warning: variable "w0" was declared but never referenced
    "framecopy/FCW_Fun.c", line 959: warning: variable "w1" was declared but never referenced
    "framecopy/FCW_Fun.c", line 970: warning: variable "vgm_max" was declared but never referenced
    "framecopy/FCW_Fun.c", line 977: warning: variable "night_detected" was declared but never referenced
    "framecopy/FCW_Fun.c", line 978: warning: variable "status_temp" was set but never used
    "framecopy/FCW_Fun.c", line 1118: warning: variable "drawUpBound" was declared but never referenced
    "framecopy/FCW_Fun.c", line 1237: warning: variable "j" was declared but never referenced
    "framecopy/FCW_Fun.c", line 1243: warning: variable "vehicle_buff" was declared but never referenced
    "framecopy/FCW_Fun.c", line 1974: warning: use of "=" where "==" may have been intended
    "framecopy/FCW_Fun.c", line 1981: warning: use of "=" where "==" may have been intended
    "framecopy/FCW_Fun.c", line 1347: warning: variable "ret" was declared but never referenced
    "framecopy/FCW_Fun.c", line 1348: warning: variable "ii" was declared but never referenced
    "framecopy/FCW_Fun.c", line 1348: warning: variable "jj" was declared but never referenced
    "framecopy/FCW_Fun.c", line 1349: warning: variable "x0" was declared but never referenced
    "framecopy/FCW_Fun.c", line 1349: warning: variable "y0" was declared but never referenced
    "framecopy/FCW_Fun.c", line 1350: warning: variable "x_temp" was declared but never referenced
    "framecopy/FCW_Fun.c", line 1351: warning: variable "ch" was declared but never referenced
    "framecopy/FCW_Fun.c", line 1361: warning: variable "ptr_y" was declared but never referenced
    "framecopy/FCW_Fun.c", line 1361: warning: variable "ptr_cr" was declared but never referenced
    "framecopy/FCW_Fun.c", line 1361: warning: variable "ptr_cb" was declared but never referenced
    "framecopy/FCW_Fun.c", line 1378: warning: variable "r_max_pos" was declared but never referenced
    "framecopy/FCW_Fun.c", line 1379: warning: variable "r_max_cnt" was declared but never referenced
    "framecopy/FCW_Fun.c", line 1382: warning: variable "r_avg" was set but never used
    "framecopy/FCW_Fun.c", line 1382: warning: variable "nz_r_avg" was declared but never referenced
    "framecopy/FCW_Fun.c", line 1382: warning: variable "r_cnt" was declared but never referenced
    "framecopy/FCW_Fun.c", line 1387: warning: variable "vg_max_pos" was declared but never referenced
    "framecopy/FCW_Fun.c", line 1388: warning: variable "vg_max_cnt" was declared but never referenced
    "framecopy/FCW_Fun.c", line 1391: warning: variable "hg_max_pos" was declared but never referenced
    "framecopy/FCW_Fun.c", line 1392: warning: variable "hg_max_cnt" was declared but never referenced
    "framecopy/FCW_Fun.c", line 1395: warning: variable "nz_hg_avg" was declared but never referenced
    "framecopy/FCW_Fun.c", line 1395: warning: variable "hg_cnt" was declared but never referenced
    "framecopy/FCW_Fun.c", line 1396: warning: variable "vg_avg" was set but never used
    "framecopy/FCW_Fun.c", line 1396: warning: variable "nz_vg_avg" was declared but never referenced
    "framecopy/FCW_Fun.c", line 1396: warning: variable "vg_cnt" was declared but never referenced
    "framecopy/FCW_Fun.c", line 1400: warning: variable "vehicle_width_std" was declared but never referenced
    "framecopy/FCW_Fun.c", line 1407: warning: variable "vehicle_height" was declared but never referenced
    "framecopy/FCW_Fun.c", line 1603: warning: variable "rm_flag" was declared but never referenced
    "framecopy/FCW_Fun.c", line 1613: warning: variable "hvd_peaks_status" was declared but never referenced
    "framecopy/FCW_Fun.c", line 1614: warning: variable "r_peaks_status" was declared but never referenced
    "framecopy/FCW_Fun.c", line 1714: warning: variable "stride_left" was declared but never referenced
    "framecopy/FCW_Fun.c", line 1714: warning: variable "stride_right" was declared but never referenced
    "framecopy/FCW_Fun.c", line 1716: warning: variable "peak_type" was declared but never referenced
    "framecopy/FCW_Fun.c", line 1717: warning: variable "red_cnt" was set but never used
    "framecopy/FCW_Fun.c", line 1831: warning: variable "size_temp" was declared but never referenced
    "framecopy/FCW_Fun.c", line 1832: warning: variable "flag_paired" was declared but never referenced
    "framecopy/FCW_Fun.c", line 1882: warning: variable "N_idx" was set but never used
    "framecopy/FCW_Fun.c", line 1927: warning: variable "NF" was set but never used
    "framecopy/FCW_Fun.c", line 2323: warning: variable "x" was declared but never referenced
    "framecopy/FCW_Fun.c", line 2324: warning: variable "y" was declared but never referenced
    "framecopy/FCW_Fun.c", line 2325: warning: variable "width" was declared but never referenced
    "framecopy/FCW_Fun.c", line 2326: warning: variable "height" was declared but never referenced
    "framecopy/FCW_Fun.c", line 2251: warning: variable "j" was declared but never referenced
    "framecopy/FCW_Fun.c", line 2427: warning: variable "angle" was declared but never referenced
    "framecopy/FCW_Fun.c", line 2428: warning: variable "gradient" was declared but never referenced
    "framecopy/FCW_Fun.c", line 2569: warning: last line of file ends without a newline
    "framecopy/FCW_Fun.c", line 2518: warning: variable "ptr_rgmap" was declared but never referenced
    "framecopy/LDW_Fun.c", line 141: warning: variable "carType" was set but never used
    "framecopy/LDW_Fun.c", line 260: warning: variable "x1" was declared but never referenced
    "framecopy/LDW_Fun.c", line 262: warning: variable "x1R" was declared but never referenced
    "framecopy/LDW_Fun.c", line 294: warning: variable "diffHigherLineCnt" was declared but never referenced
    "framecopy/LDW_Fun.c", line 303: warning: variable "ca" was declared but never referenced
    "framecopy/LDW_Fun.c", line 303: warning: variable "cb" was declared but never referenced
    "framecopy/LDW_Fun.c", line 328: warning: variable "world_centOfLaneX" was declared but never referenced
    "framecopy/LDW_Fun.c", line 329: warning: variable "world_centOfLaneLx" was declared but never referenced
    "framecopy/LDW_Fun.c", line 330: warning: variable "world_centOfLaneRx" was declared but never referenced
    "framecopy/LDW_Fun.c", line 341: warning: variable "world_centOfROI_tx" was set but never used
    "framecopy/LDW_Fun.c", line 341: warning: variable "world_centOfROI_ty" was set but never used
    "framecopy/LDW_Fun.c", line 342: warning: variable "world_centOfROI_bx" was set but never used
    "framecopy/LDW_Fun.c", line 342: warning: variable "world_centOfROI_by" was set but never used
    "framecopy/LDW_Fun.c", line 343: warning: variable "pixel_centOfROI_tx" was declared but never referenced
    "framecopy/LDW_Fun.c", line 343: warning: variable "pixel_centOfROI_ty" was declared but never referenced
    "framecopy/LDW_Fun.c", line 344: warning: variable "pixel_centOfROI_bx" was declared but never referenced
    "framecopy/LDW_Fun.c", line 344: warning: variable "pixel_centOfROI_by" was declared but never referenced
    "framecopy/LDW_Fun.c", line 347: warning: variable "pixel_lx" was declared but never referenced
    "framecopy/LDW_Fun.c", line 347: warning: variable "pixel_rx" was declared but never referenced
    "framecopy/LDW_Fun.c", line 347: warning: variable "pixel_ty" was declared but never referenced
    "framecopy/LDW_Fun.c", line 347: warning: variable "pixel_by" was declared but never referenced
    "framecopy/LDW_Fun.c", line 348: warning: variable "departureRate" was declared but never referenced
    "framecopy/LDW_Fun.c", line 350: warning: variable "ch_departureRate" was declared but never referenced
    "framecopy/LDW_Fun.c", line 351: warning: variable "ch_laneWidth" was declared but never referenced
    "framecopy/LDW_Fun.c", line 356: warning: variable "lbFarEndY" was set but never used
    "framecopy/LDW_Fun.c", line 356: warning: variable "rbFarEndY" was set but never used
    "framecopy/LDW_Fun.c", line 383: warning: variable "drawWorldRate" was declared but never referenced
    "framecopy/LDW_Fun.c", line 388: warning: variable "preFound" was set but never used
    "framecopy/LDW_Fun.c", line 1567: warning: variable "latest_lx" was declared but never referenced
    "framecopy/LDW_Fun.c", line 1569: warning: variable "latest_rx" was declared but never referenced
    "framecopy/LDW_Fun.c", line 1711: warning: variable "j" was declared but never referenced
    "framecopy/LDW_Fun.c", line 1724: warning: variable "meanErr" was set but never used
    "framecopy/LDW_Fun.c", line 1732: warning: variable "num" was declared but never referenced
    "framecopy/LDW_Fun.c", line 1733: warning: variable "denom" was declared but never referenced
    "framecopy/LDW_Fun.c", line 1889: warning: variable "dt" was declared but never referenced
    "framecopy/LDW_Fun.c", line 1920: warning: variable "dt" was declared but never referenced
    "framecopy/LDW_Fun.c", line 1985: warning: last line of file ends without a newline
    "framecopy/draw.c", line 514: warning: unrecognized character escape sequence
    "framecopy/draw.c", line 31: warning: variable "closeDis" was declared but never referenced
    "framecopy/draw.c", line 1042: warning: unrecognized #pragma
    "framecopy/draw.c", line 1047: warning: unrecognized #pragma
    "framecopy/draw.c", line 1068: warning: unrecognized #pragma
    "framecopy/draw.c", line 1073: warning: unrecognized #pragma
    "framecopy/draw.c", line 1470: warning: variable "dst30mRY" was declared but never referenced
    "framecopy/draw.c", line 1476: warning: variable "dst60mRY" was declared but never referenced
    "framecopy/draw.c", line 1712: warning: variable "yDrawBase" was declared but never referenced
    "framecopy/draw.c", line 1713: warning: variable "yDrawStep" was declared but never referenced
    "framecopy/draw.c", line 1714: warning: variable "ch_FPS" was declared but never referenced
    "framecopy/draw.c", line 1715: warning: variable "ch_departureRate" was declared but never referenced
    "framecopy/draw.c", line 1716: warning: variable "ch_laneWidth" was declared but never referenced
    "framecopy/draw.c", line 1717: warning: variable "ch_laneStatus" was declared but never referenced
    "framecopy/draw.c", line 1718: warning: variable "ch_leftLaneStatus" was declared but never referenced
    "framecopy/draw.c", line 1719: warning: variable "ch_rightLaneStatus" was declared but never referenced
    "framecopy/draw.c", line 1720: warning: variable "ch_AllLaneStatus" was declared but never referenced
    "framecopy/draw.c", line 1721: warning: variable "ch_grayAvg" was declared but never referenced
    "framecopy/draw.c", line 1729: warning: variable "far_lane_pixel_ltx" was declared but never referenced
    "framecopy/draw.c", line 1729: warning: variable "far_lane_pixel_lty" was declared but never referenced
    "framecopy/draw.c", line 1729: warning: variable "far_lane_pixel_lbx" was declared but never referenced
    "framecopy/draw.c", line 1729: warning: variable "far_lane_pixel_lby" was declared but never referenced
    "framecopy/draw.c", line 1730: warning: variable "far_lane_pixel_rtx" was declared but never referenced
    "framecopy/draw.c", line 1730: warning: variable "far_lane_pixel_rty" was declared but never referenced
    "framecopy/draw.c", line 1730: warning: variable "far_lane_pixel_rbx" was declared but never referenced
    "framecopy/draw.c", line 1730: warning: variable "far_lane_pixel_rby" was declared but never referenced
    "framecopy/draw.c", line 1733: warning: variable "latest_pixel_ltx" was declared but never referenced
    "framecopy/draw.c", line 1733: warning: variable "latest_pixel_lty" was declared but never referenced
    "framecopy/draw.c", line 1733: warning: variable "latest_pixel_lbx" was declared but never referenced
    "framecopy/draw.c", line 1733: warning: variable "latest_pixel_lby" was declared but never referenced
    "framecopy/draw.c", line 1734: warning: variable "latest_pixel_rtx" was declared but never referenced
    "framecopy/draw.c", line 1734: warning: variable "latest_pixel_rty" was declared but never referenced
    "framecopy/draw.c", line 1734: warning: variable "latest_pixel_rbx" was declared but never referenced
    "framecopy/draw.c", line 1734: warning: variable "latest_pixel_rby" was declared but never referenced
    "framecopy/draw.c", line 1737: warning: variable "earlist_pixel_ltx" was declared but never referenced
    "framecopy/draw.c", line 1737: warning: variable "earlist_pixel_lty" was declared but never referenced
    "framecopy/draw.c", line 1737: warning: variable "earlist_pixel_lbx" was declared but never referenced
    "framecopy/draw.c", line 1737: warning: variable "earlist_pixel_lby" was declared but never referenced
    "framecopy/draw.c", line 1738: warning: variable "earlist_pixel_rtx" was declared but never referenced
    "framecopy/draw.c", line 1738: warning: variable "earlist_pixel_rty" was declared but never referenced
    "framecopy/draw.c", line 1738: warning: variable "earlist_pixel_rbx" was declared but never referenced
    "framecopy/draw.c", line 1738: warning: variable "earlist_pixel_rby" was declared but never referenced
    "framecopy/draw.c", line 1741: warning: variable "ldw_pixel_ltx" was declared but never referenced
    "framecopy/draw.c", line 1741: warning: variable "ldw_pixel_lty" was declared but never referenced
    "framecopy/draw.c", line 1741: warning: variable "ldw_pixel_lbx" was declared but never referenced
    "framecopy/draw.c", line 1741: warning: variable "ldw_pixel_lby" was declared but never referenced
    "framecopy/draw.c", line 1742: warning: variable "ldw_pixel_rtx" was declared but never referenced
    "framecopy/draw.c", line 1742: warning: variable "ldw_pixel_rty" was declared but never referenced
    "framecopy/draw.c", line 1742: warning: variable "ldw_pixel_rbx" was declared but never referenced
    "framecopy/draw.c", line 1742: warning: variable "ldw_pixel_rby" was declared but never referenced
    "framecopy/draw.c", line 1744: warning: variable "la" was declared but never referenced
    "framecopy/draw.c", line 1744: warning: variable "lb" was declared but never referenced
    "framecopy/draw.c", line 1744: warning: variable "ra" was declared but never referenced
    "framecopy/draw.c", line 1744: warning: variable "rb" was declared but never referenced
    "framecopy/draw.c", line 1744: warning: variable "ca" was declared but never referenced
    "framecopy/draw.c", line 1744: warning: variable "cb" was declared but never referenced
    "framecopy/draw.c", line 1747: warning: variable "world_centOfROI_tx" was declared but never referenced
    "framecopy/draw.c", line 1747: warning: variable "world_centOfROI_ty" was declared but never referenced
    "framecopy/draw.c", line 1748: warning: variable "world_centOfROI_bx" was declared but never referenced
    "framecopy/draw.c", line 1748: warning: variable "world_centOfROI_by" was declared but never referenced
    "framecopy/draw.c", line 1749: warning: variable "pixel_centOfROI_tx" was declared but never referenced
    "framecopy/draw.c", line 1749: warning: variable "pixel_centOfROI_ty" was declared but never referenced
    "framecopy/draw.c", line 1750: warning: variable "pixel_centOfROI_bx" was declared but never referenced
    "framecopy/draw.c", line 1750: warning: variable "pixel_centOfROI_by" was declared but never referenced
    "framecopy/draw.c", line 1753: warning: variable "pixel_lx" was declared but never referenced
    "framecopy/draw.c", line 1753: warning: variable "pixel_rx" was declared but never referenced
    "framecopy/draw.c", line 1753: warning: variable "pixel_ty" was declared but never referenced
    "framecopy/draw.c", line 1753: warning: variable "pixel_by" was declared but never referenced
    "framecopy/draw.c", line 1755: warning: variable "lane_pixel_lx" was declared but never referenced
    "framecopy/draw.c", line 1755: warning: variable "lane_pixel_rx" was declared but never referenced
    "framecopy/draw.c", line 1756: warning: variable "distanceLX" was declared but never referenced
    "framecopy/draw.c", line 1756: warning: variable "distanceLY" was declared but never referenced
    "framecopy/draw.c", line 1756: warning: variable "distanceRX" was declared but never referenced
    "framecopy/draw.c", line 1756: warning: variable "distanceRY" was declared but never referenced
    "framecopy/draw.c", line 2055: warning: variable "ch_TTC" was declared but never referenced
    "framecopy/draw.c", line 2056: warning: variable "ch_HMW" was declared but never referenced
    >> INTERNAL ERROR: Space required for local variables exceeds maximum in
       LDW_T2_ver2
    
    This may be a serious problem.  Please contact customer support with a
    description of this problem and a sample of the source files that caused this
    INTERNAL ERROR message to appear.
    
    Cannot continue compilation - ABORTING!
    
    
    >> Compilation failure
    gmake[5]: *** [C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/binaries/apps/tda3xx_rvp_bios_all/obj/app_alg_plugins/tda3xx-rvp/arp32/release/LDW_Fun.oearp32F] Error 1
    gmake[5]: *** Waiting for unfinished jobs....
    gmake[4]: *** [arp32_1] Error 2
    gmake[3]: *** [libs] Error 2
    gmake[2]: *** [app_alg_plugins] Error 2
    gmake[1]: *** [apps] Error 2
    gmake: *** [vision_sdk] Error 2
    
    C:\PROCESSOR_SDK_VISION_03_04_00_00\vision_sdk\build>
    C:\PROCESSOR_SDK_VISION_03_04_00_00\vision_sdk\build>gmake -s showconfig
    #
    # Build Config is [ tda3xx_rvp_bios_all ]
    # Build Config file is @ C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/configs/tda3xx_rvp_bios_all/cfg.mk
    # Build Config .h file is @ C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/links_fw/include/config/apps/tda3xx_rvp_bios_all/system_cfg.h
    # Build CPUs is @ ipu1_0 ipu1_1 dsp1 eve1
    #
    # CPUs included in application,
    # PROC_IPU1_0_INCLUDE=yes
    # PROC_IPU1_1_INCLUDE=yes
    # PROC_IPU2_INCLUDE=no
    # PROC_DSP1_INCLUDE=yes
    # PROC_DSP2_INCLUDE=no
    # PROC_EVE1_INCLUDE=yes
    # PROC_EVE2_INCLUDE=no
    # PROC_EVE3_INCLUDE=no
    # PROC_EVE4_INCLUDE=no
    # PROC_A15_0_INCLUDE=no
    #
    # Platform config,
    # VSDK_BOARD_TYPE=TDA3XX_RVP [options: TDA2XX_EVM TDA2EX_EVM TDA3XX_EVM TDA3XX_RVP TDA2XX_RVP]
    # PLATFORM=tda3xx-rvp
    # DUAL_A15_SMP_BIOS=no
    # IPU1_SMP_BIOS=no
    # DDR_MEM=DDR_MEM_1024M [options: DDR_MEM_128M DDR_MEM_512M DDR_MEM_1024M]
    # EMIFMODE=SINGLE_EMIF_1GB [options: SINGLE_EMIF_512MB SINGLE_EMIF_1GB ref build_pdk.mk]
    # NDK_PROC_TO_USE=none [options: a15_0 ipu1_0 ipu1_1 ipu2 none]
    # NSP_TFDTP_INCLUDE=no [options: yes no]
    # TDA2EX_ETHSRV_BOARD=no [options: yes no]
    # FATFS_PROC_TO_USE=ipu1_0 [options: ipu1_0 none]
    # RADAR_BOARD=none [options: TDA3XX_AR12_ALPS TDA3XX_AR12_VIB_DAB_BOOSTER TDA3XX_RADAR_RVP none]
    #
    # Build config,
    # BUILD_OS=Windows_NT [options: Windows_NT Linux]
    # BUILD_DEPENDENCY_ALWAYS=no
    # BUILD_ALGORITHMS=no
    # BUILD_INFOADAS=no
    # PROFILE=release [options: debug release]
    # KW_BUILD=no
    # CPLUSPLUS_BUILD=no
    # IPU_PRIMARY_CORE=ipu1_0 [options: ipu1_0 ipu2]
    # IPU_SECONDARY_CORE=ipu2 [options: ipu1_0 ipu2]
    # A15_TARGET_OS=Bios [options: Bios Linux Qnx]
    # BSP_STW_PACKAGE_SELECT=all [options: all vps-iss-dss-only vps-vip-vpe]
    #
    # Safety Module config,
    # RTI_INCLUDE=no
    # ECC_FFI_INCLUDE=no
    # DCC_ESM_INCLUDE=no
    #
    # Video Module config,
    # IVAHD_INCLUDE=no
    # VPE_INCLUDE=no
    # CAL_INCLUDE=yes
    # ISS_INCLUDE=yes
    # ISS_ENABLE_DEBUG_TAPS=no
    # WDR_LDC_INCLUDE=yes
    # DSS_INCLUDE=yes
    #
    # Open Compute config,
    # OPENCL_INCLUDE=no
    # TARGET_ROOTDIR=C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/src/rtos/opencl
    # ENABLE_OPENCV=no
    # ENABLE_OPENCV_TESTS=no
    # OPENVX_INCLUDE=no
    #
    # Log config,
    # ENABLE_UART_LOG=yes
    # ENABLE_NETWORK_LOG=no
    # ENABLE_CCS_LOG=no
    # CIO_REDIRECT=no
    #
    # IPC config,
    # WORKQ_INCLUDE=no
    # IPC_LIB_INCLUDE=no
    #
    # Surround View config,
    # SRV_FAST_BOOT_INCLUDE=no
    #
    # Other Module config,
    # AVB_INCLUDE=no
    # DCAN_INCLUDE=yes
    # RADAR_ONLY=no
    # CPU_IDLE_ENABLED=yes
    # FAST_BOOT_INCLUDE=yes
    # DATA_VIS_INCLUDE=no
    # HS_DEVICE=no
    # ULTRASONIC_INCLUDE=no
    # PGA450=
    # PGA460=
    # ENABLE_ALL_DEPTH=
    #
    # Linux config,
    # DEFAULT_UBOOT_CONFIG=dra7xx_evm_vision_config
    # DEFAULT_KERNEL_CONFIG=ti_sdk_dra7x_release_defconfig
    # DEFAULT_DTB=dra7-evm-infoadas.dtb
    # CMEM_INCLUDE=no
    # IPUMM_INCLUDE=no
    # IPU1_EVELOADER_INCLUDE=no
    # ROBUST_RVC_INCLUDE=no
    # BUILD_ADAM_CAR=no
    #
    # Alg plugins included in build,
    # ALG_framecopy
    #
    # Use-cases included in build,
    # UC_fast_boot_iss_capture_isp_simcop_pd_display
    #
    #
    # CPUs that are NOT required but included in config [ tda3xx_rvp_bios_all ],
    #
    # WARNING: EVE1 can be excluded from application
    #
    # CPUs that are required but not included in config [ tda3xx_rvp_bios_all ],
    #
    #
    # Edit C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/build/configs/tda3xx_rvp_bios_all/cfg.mk to include or exclude CPUs in an application
    #
    
    C:\PROCESSOR_SDK_VISION_03_04_00_00\vision_sdk\build>

    C:\PROCESSOR_SDK_VISION_03_04_00_00\vision_sdk\build>gmake -s showconfig
    #
    # Build Config is [ tda3xx_rvp_bios_all ]
    # Build Config file is @ C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/configs/tda3xx_rvp_bios_all/cfg.mk
    # Build Config .h file is @ C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/links_fw/include/config/apps/tda3xx_rvp_bios_all/system_cfg.h
    # Build CPUs is @ ipu1_0 ipu1_1 dsp1 eve1
    #
    # CPUs included in application,
    # PROC_IPU1_0_INCLUDE=yes
    # PROC_IPU1_1_INCLUDE=yes
    # PROC_IPU2_INCLUDE=no
    # PROC_DSP1_INCLUDE=yes
    # PROC_DSP2_INCLUDE=no
    # PROC_EVE1_INCLUDE=yes
    # PROC_EVE2_INCLUDE=no
    # PROC_EVE3_INCLUDE=no
    # PROC_EVE4_INCLUDE=no
    # PROC_A15_0_INCLUDE=no
    #
    # Platform config,
    # VSDK_BOARD_TYPE=TDA3XX_RVP [options: TDA2XX_EVM TDA2EX_EVM TDA3XX_EVM TDA3XX_RVP TDA2XX_RVP]
    # PLATFORM=tda3xx-rvp
    # DUAL_A15_SMP_BIOS=no
    # IPU1_SMP_BIOS=no
    # DDR_MEM=DDR_MEM_1024M [options: DDR_MEM_128M DDR_MEM_512M DDR_MEM_1024M]
    # EMIFMODE=SINGLE_EMIF_1GB [options: SINGLE_EMIF_512MB SINGLE_EMIF_1GB ref build_pdk.mk]
    # NDK_PROC_TO_USE=none [options: a15_0 ipu1_0 ipu1_1 ipu2 none]
    # NSP_TFDTP_INCLUDE=no [options: yes no]
    # TDA2EX_ETHSRV_BOARD=no [options: yes no]
    # FATFS_PROC_TO_USE=ipu1_0 [options: ipu1_0 none]
    # RADAR_BOARD=none [options: TDA3XX_AR12_ALPS TDA3XX_AR12_VIB_DAB_BOOSTER TDA3XX_RADAR_RVP none]
    #
    # Build config,
    # BUILD_OS=Windows_NT [options: Windows_NT Linux]
    # BUILD_DEPENDENCY_ALWAYS=no
    # BUILD_ALGORITHMS=no
    # BUILD_INFOADAS=no
    # PROFILE=release [options: debug release]
    # KW_BUILD=no
    # CPLUSPLUS_BUILD=no
    # IPU_PRIMARY_CORE=ipu1_0 [options: ipu1_0 ipu2]
    # IPU_SECONDARY_CORE=ipu2 [options: ipu1_0 ipu2]
    # A15_TARGET_OS=Bios [options: Bios Linux Qnx]
    # BSP_STW_PACKAGE_SELECT=all [options: all vps-iss-dss-only vps-vip-vpe]
    #
    # Safety Module config,
    # RTI_INCLUDE=no
    # ECC_FFI_INCLUDE=no
    # DCC_ESM_INCLUDE=no
    #
    # Video Module config,
    # IVAHD_INCLUDE=no
    # VPE_INCLUDE=no
    # CAL_INCLUDE=yes
    # ISS_INCLUDE=yes
    # ISS_ENABLE_DEBUG_TAPS=no
    # WDR_LDC_INCLUDE=yes
    # DSS_INCLUDE=yes
    #
    # Open Compute config,
    # OPENCL_INCLUDE=no
    # TARGET_ROOTDIR=C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/src/rtos/opencl
    # ENABLE_OPENCV=no
    # ENABLE_OPENCV_TESTS=no
    # OPENVX_INCLUDE=no
    #
    # Log config,
    # ENABLE_UART_LOG=yes
    # ENABLE_NETWORK_LOG=no
    # ENABLE_CCS_LOG=no
    # CIO_REDIRECT=no
    #
    # IPC config,
    # WORKQ_INCLUDE=no
    # IPC_LIB_INCLUDE=no
    #
    # Surround View config,
    # SRV_FAST_BOOT_INCLUDE=no
    #
    # Other Module config,
    # AVB_INCLUDE=no
    # DCAN_INCLUDE=yes
    # RADAR_ONLY=no
    # CPU_IDLE_ENABLED=yes
    # FAST_BOOT_INCLUDE=yes
    # DATA_VIS_INCLUDE=no
    # HS_DEVICE=no
    # ULTRASONIC_INCLUDE=no
    # PGA450=
    # PGA460=
    # ENABLE_ALL_DEPTH=
    #
    # Linux config,
    # DEFAULT_UBOOT_CONFIG=dra7xx_evm_vision_config
    # DEFAULT_KERNEL_CONFIG=ti_sdk_dra7x_release_defconfig
    # DEFAULT_DTB=dra7-evm-infoadas.dtb
    # CMEM_INCLUDE=no
    # IPUMM_INCLUDE=no
    # IPU1_EVELOADER_INCLUDE=no
    # ROBUST_RVC_INCLUDE=no
    # BUILD_ADAM_CAR=no
    #
    # Alg plugins included in build,
    # ALG_framecopy
    #
    # Use-cases included in build,
    # UC_fast_boot_iss_capture_isp_simcop_pd_display
    #
    #
    # CPUs that are NOT required but included in config [ tda3xx_rvp_bios_all ],
    #
    # WARNING: EVE1 can be excluded from application
    #
    # CPUs that are required but not included in config [ tda3xx_rvp_bios_all ],
    #
    #
    # Edit C:/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/build/configs/tda3xx_rvp_bios_all/cfg.mk to include or exclude CPUs in an application

    Best Regards,

    YI_TING

  • Hi YI_TING,

    I see this error in the log "INTERNAL ERROR: Space required for local variables exceeds maximum in LDW_T2_ver2" - it indicates that there are too many local variables in a function (I think it comes from DSP or EVE compiler). Also there are a lot 'variable "...." was declared but never referenced' errors from FCW.c, FCW_Fun.c, LDW_Fun.c and other files. Can you check those files and remove the unused variables and see if the error persists?

    Regards,

    Yordan

  • Hi, Yordan

    I have fixed the compiler error according to your suggestion., this is an error from EVE.

    After that I running program will still hang on the app.

    Uart printing stops at "Jumping to IPU1_0 App" .

     TDA3xx SBL Boot 
    
     Identified 15X15 Silicon 
    
     DPLL Configuration Completed 
    
     Clock Domain Configuration Completed 
    
     Module Enable Configuration Completed 
    
     TI EVM PAD Configuration Completed 
    
     DDR Configuration Completed 
    
     TDA3xx SOC Init Completed 
    
     App Image Download Begins 
    
     Manufacturer ID - 0x9d
     Device ID - 0x18
     IPU1 CPU0 Image Load Completed 
    
     IPU1 CPU1 Image Load Completed 
    
     App Image Download Completed 
    
     EVE MMU configuration completed 
    
    *****************************************************************
    
     32K Timer is used to measure cycles, divide by 32K to get time in seconds 
    
     Reset to SBL Init Cycles - 342  (10.43 ms) 
    
     SBL Initial Config Cycles - 178  (5.43 ms) 
    
     SOC Init Cycles - 468  (14.28 ms) 
    
     DDR Config Clock Cycles - 229  (6.98 ms) 
    
     App Image Load Cycles - 5827  (177.82 ms) 
    
     Slave Core Bootup Cycles - 113  (3.44 ms) 
    
     SBL Boot-up Cycles - 6818  (208.06 ms) 
    
     Time at which SBL started IPU1_0 - 7160  (218.50 ms) 
    
    *****************************************************************
    
     Jumping to IPU1 CPU1 App 
    
     Jumping to IPU1 CPU0 App 
    

    CCS debugs as shown below :

    I have tried everything I thought.
    Can you give me a suggestion? 

  • Hi,

    Are you trying this demo with default configuration? Have you done any changes in the configuration?

    It seems to be handing in the VPDMA. Do you require VIP or VPE driver? Can we disable the try it out?

    Rgds,

    Brijesh

  • Hi.

    AN : I do not require VIP but I need VPE driver , beacause I need issm2mresizer link.

    Q1 : Can I add IPU1_1 if I use the fastboot use case?

    Beacause I restore original sdk and only cange below  but still hang .

    Q2: How can I disable VIP_VPE_BUILD ?? I could not find it.

    1."C:\PROCESSOR_SDK_VISION_03_04_00_00\ti_components\drivers\pdk_01_10_00_08\packages\ti\boot\sbl_auto\sbl_app\src\tda3xx\sbl_tda3xx_main.c"

    2."C:\PROCESSOR_SDK_VISION_03_04_00_00ti_components\drivers\pdk_01_10_00_08\packages\ti\boot\sbl_auto\sbl_utils\src\tda3xx\

    sbl_utils_tda3xx_ddr_config.c"

    3."C:\PROCESSOR_SDK_VISION_03_04_00_00\ti_components\drivers\pdk_01_10_00_08\packages\ti\build\

    Rules.make"

    4."C:\PROCESSOR_SDK_VISION_03_04_00_00\vision_sdk\apps\configs\tda3xx_evm_bios_all\cfg.mk"

    5."C:\PROCESSOR_SDK_VISION_03_04_00_00\vision_sdk\apps\configs\tda3xx_evm_bios_all\uc_cfg.mk"

    6."C:\PROCESSOR_SDK_VISION_03_04_00_00\vision_sdk\build\Rules.make"

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/7217.code.7z

     Clock Domain Configuration Completed
    
     Module Enable Configuration Completed
    
     TI EVM PAD Configuration Completed
    
     DDR Configuration Completed
    
     TDA3xx SOC Init Completed
    
     App Image Download Begins
    
     Manufacturer ID - 0x9d
     Device ID - 0x18
     IPU1 CPU0 Image Load Completed
    
     IPU1 CPU1 Image Load Completed
    
     Valid App Image only on IPU1 CPU0 and IPU CPU1, load Completed
    
     EVE MMU configuration completed
    
    *****************************************************************
    
     32K Timer is used to measure cycles, divide by 32K to get time in seconds
    
     Reset to SBL Init Cycles - 342  (10.43 ms)
    
     SBL Initial Config Cycles - 209  (6.37 ms)
    
     SOC Init Cycles - 469  (14.31 ms)
    
     DDR Config Clock Cycles - 229  (6.98 ms)
    
     App Image Load Cycles - 7820  (238.64 ms)
    
     Slave Core Bootup Cycles - 113  (3.44 ms)
    
     SBL Boot-up Cycles - 8843  (269.86 ms)
    
     Time at which SBL started IPU1_0 - 9185  (280.30 ms)
    
    *****************************************************************
    
     Jumping to IPU1 CPU0 App
    

    Regards,

    YI_ING

  • hI,

    If you've got it, could you please reply

    Thanks a lot

    YI-TING

  • Hi Ying,

    Iss Resizer link does not require VPE link. You could disable VPE and VIP links to bypass VPDMA loading. Please try bypassing these links..

    Rgds,

    Brijesh

  • Hi,

    Thank you for your reply.

    Give me some time to clarify this issue.

    Best Regard

    YI TING

  • Hi,

    I found out how to disable VPE , but could not find VIP disable.

    The VPE disable :

    C:\PROCESSOR_SDK_VISION_03_04_00_00\vision_sdk\apps\configs\tda3xx_evm_bios_all\cfg.mk

    VPE_INCLUDE=no

    Can I disable VIP by this way?

  • Yes, you could disable VIP in the same way.

    Rgds,

    Brijesh

  • HI,

    Is the VIP closed in this file?

    C:\PROCESSOR_SDK_VISION_03_04_00_00\vision_sdk\apps\configs\tda3xx_evm_bios_all\cfg.mk

    I do not find "showconfig" have VIP disable option.

  • Hi,

    I borrowed the EVM Board to do the test and just open IPU1_0, IPU1_1, DSP1, DSP2, EVE, FAST_BOOT_INCLUDE, there will be a hang problem, if I do not open IPU1_1, it will not

    I do not modify any src code ,  make sure it is clean.

  • Hi YiTing,

    There are multiple threads opened for the same issue. Can we please keep the discussion to only one thread?

    Rgds,

    Brijesh

  • Hi Brijesh,

    OK  You can lock this thread.