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.

PROCESSOR-SDK-TDAX: TDA3 -> Vision SDK 3.1 -> LDC based DeWarp, Synthesis & RearView + 3D surround view display -> not working

Part Number: PROCESSOR-SDK-TDAX

HI TDA Team,

after the out of the box build of the vision SDK v3.1, we see an issue on out D3 engineering skateboard (Surround view, TDA3-RVP).

Cannot run use case LDC based DeWarp, Synthesis & RearView + 3D surround view display:

[Cortex_M4_IPU1_C0]  IPU1-0 Remote Log Shared Memory @ 0xbff000a0

IPU1-1 Remote Log Shared Memory @ 0xbff0e8a0

HOST Remote Log Shared Memory @ 0xbff110a0

DSP1 Remote Log Shared Memory @ 0xbff160a0

DSP2 Remote Log Shared Memory @ 0xbff188a0

EVE1 Remote Log Shared Memory @ 0xbff1b0a0

EVE2 Remote Log Shared Memory @ 0xbff1d8a0

EVE3 Remote Log Shared Memory @ 0xbff200a0

EVE4 Remote Log Shared Memory @ 0xbff228a0

IPU2 Remote Log Shared Memory @ 0xbff250a0

SYSTEM: UART: INTERRUPT Mode is Selected

[C66xx_DSP1]  Assertion @ Line: 1102 in src/SV_Synthesis_Run.c: (numBlksW*numBlksH*sizeof(DMAptrs) + (uWord32)dmaTable) <= ((uWord32)sv->L2memory+MAX_L2_MEMORY_SIZE) : failed !!!

Thanks for your help

Jens

  • Hi Jens
    Are you using the prebuilt binaries from the release? If yes, then these prebuilt binaries are only for TI EVM, will not work on D3 RVP.
    please build the RVP binaries from VSDK by setting the make config in Rules.make as below
    MAKECONFIG?=tda3xx_rvp_bios_all

    regards, Shiju
  • Hi Shiju,

    no we were building and creating the image using MAKECONFIG?=tda3xx_rvp_bios_all.

    Please advise. Thanks.

  • Ewald
    Oh, ok.
    Can you please try auto calibartaion before running the 3D SRV usecase?

    regards, Shiju
  • I have to add, that it has been build using the Debug build. That's maybe the reason for the slowness even this error also occurs in realease mode.
  • Hi Ewald

    To run Calibration UC from menu option, select below menu option
    "Surround View Calibration"
    then slect sub menu 1: Auto Calibration
    Please note, you need to place the skate board on the calibration chart before running the calibartion UC
    kindly refer the user guide \vision_sdk\docs\SurroundView\VisionSDK_UserGuide_3D_SurroundView_TDA3xx_Demo.pdf

    regards, Shiju
  • Ewald
    If you do not have the calibration chart, then you can select, calaibration sub menu as
    3: Default Calibration (Using Default Cal Mat)
    This will help you to get the SRV functional, but you will not get proper calibrated output.
    To get the calibrated output you need calibation chart and select sub menu 1: Auto Calibration.

    Also please make sure you build the binaries in release mode (NOT debug mode) for getting real time @30fps demo.

    regards, Shiju
  • Hi Shiju,

    I tried to calibrate the system in all suggested ways (with / without calibration chart) but it always hangs during the calibration process. I've also added the missing LENS-Files etc. which have not been there before.
    Maybe the other .BIN files, which are the original ones delivered with the skateboard do not work with the software from the VDSK3.0.

    Using "3:Default Calibration" I will get the log below before the system hangs:

    [IPU1-0] 1: Auto Calibration
    [IPU1-0] 2: Manual Calibration
    [IPU1-0] 3: Default Calibration (Using Default Cal Mat)
    [IPU1-0]
    [IPU1-0] 4: Save Capture Frames for all channels to MMC/SD card
    [IPU1-0] 5: Unmount File System before removing MMC/SD card
    [IPU1-0] 6: Mount File System after inserting MMC/SD card
    [IPU1-0]
    [IPU1-0] 7: Update 2D Pers Mat (after auto/manual calibration if required)
    [IPU1-0]
    [IPU1-0] d: Save Display Frame to MMC/SD card
    [IPU1-0]
    [IPU1-0]
    [IPU1-0] p: Print Performance Statistics
    [IPU1-0]
    [IPU1-0] Enter Choice:
    [IPU1-0]
    [IPU1-0] 79.575184 s: SRV_CALIB_UC: Reading V2W Mesh for view point 0 ...
    [IPU1-0] 79.644756 s: SRV_CALIB_UC: Generating LDC LUT for view point 0 ...
    [IPU1-0] 79.645061 s: gLensPrm = 0x8CA86A00
    [IPU1-0] 79.653724 s: Lens parameters read
    [IPU1-0] 79.653998 s: gLensPrm2D = 0x8CA88C00
    [IPU1-0] 79.664246 s: Lens parameters read for 2D
    [DSP1 ] 79.669706 s: LDC_LUT: Generating LDC LUT ...
    [DSP1 ] 79.670194 s: LDC_LUT: Generating LDC LUT DONE
    [DSP1 ] 79.670591 s: BLEND_TABLE: Generating Blend table ...
    [DSP1 ] 79.670621 s: CarBoxCenter_x = 9648, CarBoxCenter_y = 8449
    [DSP1 ] 79.670652 s: rotAngle = 0.000,rotAngleMod = 0.000,rotAngleRem = 0
    [DSP1 ] 79.670713 s: slopeAngle[0] = 25.084, slopeAngle[1] = 25.084
    [DSP1 ] 79.670743 s: slopeAngle[2] = 25.084, slopeAngle[3] = 25.084
    [DSP1 ] 79.670774 s: slope[0] = 0.468, slope[1] = 0.468
    [DSP1 ] 79.670804 s: slope[2] = 0.468, slope[3] = 0.468
    [DSP1 ] 79.670835 s: chMap[0] = 0, chMap[1] = 1
    [DSP1 ] 79.670865 s: chMap[2] = 2, chMap[3] = 3
    [DSP1 ] 79.670896 s: sv->seamMarkPts[0] = 0, sv->seamMarkPts[1] = 751
    [DSP1 ] 79.670896 s: sv->seamMarkPts[2] = 351, sv->seamMarkPts[3] = 751
    [DSP1 ] 79.670926 s: sv->seamMarkPts[4] = 351, sv->seamMarkPts[5] = 0
    [DSP1 ] 79.670957 s: sv->seamMarkPts[6] = 0, sv->seamMarkPts[7] = 0
    [DSP1 ] 79.670987 s: Quadrant 0:StartX = 0, EndX = 9648, StartY = 0, EndY = 8449
    [DSP1 ] 79.671018 s: Quadrant 1:StartX = 9648, EndX = 752, StartY = 0, EndY = 8449
    [DSP1 ] 79.671079 s: Quadrant 2:StartX = 9648, EndX = 752, StartY = 8449, EndY = 352


    Currently my work is stalling because I do not find any way to continue my work.

    To avoid any confusion: I'm working at the same "skateboard" system/software which caused opening this thread by Ewald.

    regards, Guenter

  • Ok, I've found the problem:
    The BIN-Files, which have been pre-installed at the SD-crad have not been compatible in all cases. As I replaced all BIN files to those of the VSDK3.0 the System performed the calibration and after that also the 3D view has been shown. Thanks for your help getting my System working.

    regards, Guenter
  • Hi Guenter

    Nice to hear TDA3x SRV is working at your end. 

    Thanks for the confirmation

    regards, Shiju