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.

MMWCAS-DSP-EVM: Fail to run the MIMO use case after stop chain

Part Number: MMWCAS-DSP-EVM
Other Parts Discussed in Thread: AWR2243, AWR1243, TDA2

Hi,

My customer is working on TI AWR2243 cascaded EVM with processor sdk for radar v3.08 and now after modified the sdk, the mimo use case (a: Cascade Radar (4 AWR1243) Capture + Radar Object Detect (DSP) + NetworkTx (TDA2xx Only)) can work ok.

But customer found if he runs the mimo case, then select 0 to stop chain. Then try to run the mimo case again, he will meet below error.

[IPU1-0]    232.966662 s:  AR12XX: Firmware Download Started : Ftype: BSS_BUILD
[IPU1-0]    233.038156 s:  AR12XX: Firmware chunk No. 50 download Failed : Ftype: BSS_BUILD
[IPU1-0]    233.038248 s:  Assertion @ Line: 280 in C:/PROCESSOR_SDK_RADAR_03_08/vision_sdk/apps/src/rtos/radar/src/common/chains_common_ar12xx.c: SYSTEM_LINK_STATUS_SOK == retVal : failed !!!

Customer added more print in the code when problem happened. Pls check below.

[IPU1-0] 57.958610 s: AR12XX: Firmware Download Started : Ftype: BSS_BUILD
[IPU1-0] 57.960989 s: 00000AWR12XX: Bsp_ar12xxFmwChunkDwld = 0
[IPU1-0] 57.961080 s: 0001AWR12XX: Bsp_ar12xxFmwSectionDwld = 0
[IPU1-0] 57.963551 s: 00000AWR12XX: Bsp_ar12xxFmwChunkDwld = 0
[IPU1-0] 57.965686 s: 00000AWR12XX: Bsp_ar12xxFmwChunkDwld = 0
[IPU1-0] 57.968035 s: 00000AWR12XX: Bsp_ar12xxFmwChunkDwld = 0
[IPU1-0] 57.970444 s: 00000AWR12XX: Bsp_ar12xxFmwChunkDwld = 0
[IPU1-0] 57.972915 s: 00000AWR12XX: Bsp_ar12xxFmwChunkDwld = 0
[IPU1-0] 57.975080 s: 00000AWR12XX: Bsp_ar12xxFmwChunkDwld = 0
[IPU1-0] 57.977734 s: 00000AWR12XX: Bsp_ar12xxFmwChunkDwld = 0
[IPU1-0] 57.979869 s: 00000AWR12XX: Bsp_ar12xxFmwChunkDwld = 0
[IPU1-0] 57.981974 s: 00000AWR12XX: Bsp_ar12xxFmwChunkDwld = 0
[IPU1-0] 57.984627 s: 00000AWR12XX: Bsp_ar12xxFmwChunkDwld = 0
[IPU1-0] 57.986732 s: 00000AWR12XX: Bsp_ar12xxFmwChunkDwld = 0
[IPU1-0] 57.989141 s: 00000AWR12XX: Bsp_ar12xxFmwChunkDwld = 0
[IPU1-0] 57.991551 s: 00000AWR12XX: Bsp_ar12xxFmwChunkDwld = 0
[IPU1-0] 57.993960 s: 00000AWR12XX: Bsp_ar12xxFmwChunkDwld = 0
[IPU1-0] 57.996095 s: 00000AWR12XX: Bsp_ar12xxFmwChunkDwld = 0
[IPU1-0] 57.998810 s: 00000AWR12XX: Bsp_ar12xxFmwChunkDwld = 0
[IPU1-0] 58.000976 s: 00000AWR12XX: Bsp_ar12xxFmwChunkDwld = 0
[IPU1-0] 58.003141 s: 00000AWR12XX: Bsp_ar12xxFmwChunkDwld = 0
[IPU1-0] 58.005551 s: 00000AWR12XX: Bsp_ar12xxFmwChunkDwld = 0
[IPU1-0] 58.007625 s: 00000AWR12XX: Bsp_ar12xxFmwChunkDwld = 0
[IPU1-0] 58.009973 s: 00000AWR12XX: Bsp_ar12xxFmwChunkDwld = 0
[IPU1-0] 58.012047 s: 00000AWR12XX: Bsp_ar12xxFmwChunkDwld = 0
[IPU1-0] 58.014121 s: 00000AWR12XX: Bsp_ar12xxFmwChunkDwld = 0
[IPU1-0] 58.016500 s: 00000AWR12XX: Bsp_ar12xxFmwChunkDwld = 0
[IPU1-0] 58.018605 s: 00000AWR12XX: Bsp_ar12xxFmwChunkDwld = 0
[IPU1-0] 58.020923 s: 00000AWR12XX: Bsp_ar12xxFmwChunkDwld = 0
[IPU1-0] 58.022997 s: 00000AWR12XX: Bsp_ar12xxFmwChunkDwld = 0
[IPU1-0] 58.025071 s: 00000AWR12XX: Bsp_ar12xxFmwChunkDwld = 0
[IPU1-0] 58.027450 s: 00000AWR12XX: Bsp_ar12xxFmwChunkDwld = 0
[IPU1-0] 58.029555 s: 00000AWR12XX: Bsp_ar12xxFmwChunkDwld = 0
[IPU1-0] 58.031873 s: 00000AWR12XX: Bsp_ar12xxFmwChunkDwld = 0
[IPU1-0] 58.033947 s: 00000AWR12XX: Bsp_ar12xxFmwChunkDwld = 0
[IPU1-0] 58.035990 s: 00000AWR12XX: Bsp_ar12xxFmwChunkDwld = 0
[IPU1-0] 58.038370 s: 00000AWR12XX: Bsp_ar12xxFmwChunkDwld = 0
[IPU1-0] 58.040474 s: 00000AWR12XX: Bsp_ar12xxFmwChunkDwld = 0
[IPU1-0] 58.042823 s: 00000AWR12XX: Bsp_ar12xxFmwChunkDwld = 0
[IPU1-0] 58.044866 s: 00000AWR12XX: Bsp_ar12xxFmwChunkDwld = 0
[IPU1-0] 58.046940 s: 00000AWR12XX: Bsp_ar12xxFmwChunkDwld = 0
[IPU1-0] 58.049289 s: 00000AWR12XX: Bsp_ar12xxFmwChunkDwld = 0
[IPU1-0] 58.051393 s: 00000AWR12XX: Bsp_ar12xxFmwChunkDwld = 0
[IPU1-0] 58.053772 s: 00000AWR12XX: Bsp_ar12xxFmwChunkDwld = 0
[IPU1-0] 58.055847 s: 00000AWR12XX: Bsp_ar12xxFmwChunkDwld = 0
[IPU1-0] 58.057890 s: 00000AWR12XX: Bsp_ar12xxFmwChunkDwld = 0
[IPU1-0] 58.060239 s: 00000AWR12XX: Bsp_ar12xxFmwChunkDwld = 0
[IPU1-0] 58.062343 s: 00000AWR12XX: Bsp_ar12xxFmwChunkDwld = 0
[IPU1-0] 58.064722 s: 00000AWR12XX: Bsp_ar12xxFmwChunkDwld = 0
[IPU1-0] 58.066796 s: 00000AWR12XX: Bsp_ar12xxFmwChunkDwld = 0
[IPU1-0] 58.068840 s: 00000AWR12XX: Bsp_ar12xxFmwChunkDwld = 0
[IPU1-0] 58.071249 s: 00000AWR12XX: Bsp_ar12xxFmwChunkDwld = -10
[IPU1-0] 58.071371 s: AR12XX: Firmware chunk No. 50 download Failed : Ftype: BSS_BUILD
[IPU1-0] 58.071493 s: 0002AWR12XX: Bsp_ar12xxFmwSectionDwld = -10
[IPU1-0] 58.071585 s: 0003AWR12XX: Bsp_ar12xxFmwSectionDwld = -10
[IPU1-0] 58.071676 s: 003AWR12XX: Bsp_ar12xxFmwSpiDwld = -10
[IPU1-0] 58.071768 s: 01AWR12XX: Bsp_ar12xxBoot = -10
[IPU1-0] 58.071859 s: 02AWR12XX: Bsp_ar12xxBoot = -10
[IPU1-0] 58.071951 s: 07AWR12XX: Bsp_ar12xxBoot = -10
[IPU1-0] 58.072042 s: 08AWR12XX: Bsp_ar12xxBoot = -10
[IPU1-0] 58.072103 s: Assertion @ Line: 282 in D:/ti/PROCESSOR_SDK_RADAR_03_08_00_00/radar_app_base_cascade/apps/src/rtos/radar/src/common/chains_common_ar12xx.c: SYSTEM_LINK_STATUS_SOK == retVal : failed !!

I found after stop chain, the DS4/5/6/7 LED on RF board will be off. That means that the nreset is low. When re-run the use case and the firmware is downloading, the DS4 will be on. That means the master chip is out of nreset. But the firmware downloading is still failed.

Would you pls kindly help to solve this problem? 

  • Hello Chris,

    Do you see same behaviour while using mmWave Studio with this board?

    This way we can identify if it HW or SDK issue.

    Regards,

    Jitendra

  • Jitendra,

    There is no problem to run Cascade_Configuration_MIMO.lua multi times in mmwave studio.

    I checked this LUA and think that below two commands may be important for re-config. Would you pls kindly advise what they are actually done in software side?

    -- SOP Mode Configuration
    if (0 == ar1.SOPControl_mult(1, 4)) then
        WriteToLog("Master : SOP Reset Successful\n", "green")
    else
        WriteToLog("Master : SOP Reset Failed\n", "red")
        return -1
    end

    -- SPI Connect
    if (0 == ar1.PowerOn_mult(1, 0, 1000, 0, 0)) then
        WriteToLog("Master : SPI Connection Successful\n", "green")
    else
        WriteToLog("Master : SPI Connection Failed\n", "red")
        return -1
    end

    I tried to add SOP setting by TDA2 GPIO operation in process sdk code, but the problem is still there.

    I also found Bsp_ar12xxBoot is called which calls Bsp_ar12xxRadarDeviceOn before firmware download in processor sdk for radar code.

    Would you pls kindly advise what may be missed in the use case code in processor sdk for radar?

  • Hello Chris,

    I remember you had migrated TDA application with AWR2243 device, where all the sequence was working fine.

    Now coming back to the original issue raised by customer that running MIMO case ON and OFF causing firmware download fail. Based on the log, device abruptly stop responding to fileDownload CMD after many of chunks downloaded successfully.

    It may possible either device nReset is being toggled by Host (due to some reason).

    SOP setting and reset setting is hopefully dome correctly as AWR2243 device is responding to many of file chunks (as per log).

    Please confirm that in this application, customer has migrated the application as per AWR2243 boot flow (what you had ported in past). And Host is reading all the initial async-event (bootup and CPU error async-event message) then start with file download sequence. 

    mmWave DFP example provides single chip AWR2243 boot sequence reference which is similar to cascade (master).

    Regards,

    Jitendra