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.

MMWAVE-STUDIO: + DCA1000 + IWR6843ISK don't work

Part Number: MMWAVE-STUDIO
Other Parts Discussed in Thread: DCA1000EVM, IWR6843ISK

I built the data collection environment according to the document.
My environment is below.
  mmWave Studio 2.1.1.0
  DCA1000EVM Rev.A
  IWR6843ISK
  Core i7 gen11 Windows10
  Matlab Runtime 8.5.1     (Never installed Matlab)

Connection work out correctly as attached picture.   
ConstStream can transmit.
But when I try to set the datapath to get raw data, the error attached below appears.
Error message is

  ... MWMCR::EvaluateFunction error ...
[14:59:34] function 'MatlabPostProcImpl_DataPathConfig' (Argument of  type 'double' ) is not defined.

I tried to delete RSTD folder and disabled firewall.  Those didn't work.

Could anyone guide me to the correct way?

Best regards,
Atsu

[14:59:29] [RadarAPI]: Status: Passed
[14:59:34] [RadarAPI]: ar1.DataPathConfig(513, 1216644097, 0)
[14:59:34] [RadarAPI]: Status: Passed
[14:59:34] [RadarAPI]: Error:
[14:59:34]
[14:59:34] ... MWMCR::EvaluateFunction error ...
[14:59:34] 関数 'MatlabPostProcImpl_DataPathConfig' (タイプ'double' の入力引数) が未定義です。.
[14:59:34]
[14:59:34]
[14:59:34] Trace:
[14:59:34] 場所 MathWorks.MATLAB.NET.Utility.MWMCR.EvaluateFunction(String functionName, Int32 numArgsOut, Int32 numArgsIn, MWArray[] argsIn)
[14:59:34] 場所 MathWorks.MATLAB.NET.Utility.MWMCR.EvaluateFunction(Int32 numArgsOut, String functionName, MWArray[] argsIn)
[14:59:34] 場所 MatlabPostProcGui.MatlabPostProcGUIClass.MatlabPostProcImpl_DataPathConfig(MWArray intfSel, MWArray transferFmtPkt0, MWArray transferFmtPkt1, MWArray cqConfig)
[14:59:34] 場所 AR1xController.ScriptOps.iSetDataPathConfig_Impl(Boolean is_starting_op, Boolean is_ending_op)

  • Hello,

    I have a few questions. Since you have tried deleting the RSTD folder, I want to take a step back and ask in what order are you setting the configs in? It is possible that doing the steps out of order can cause an issue where mmWaveStudio is expecting something to already be set when it is not. You should check and confirm with the DCA1000 mmWave Studio User Guide (https://dev.ti.com/tirex/explore/node?a=VLyFKFf__4.12.0&node=ADM7JMPr28skUt9Iw1fYGQ__VLyFKFf__4.12.0) that you are setting the parameters in the right order. Also it may or may not be related, but I would move BSS firmware directory to the folder where the example radarss firmware is similar to the masterss firmware. This is to minimize any variation between the known working setup and your setup.

    Best Regards,

    Pedrhom Nafisi

  • Hi Pedrhom san,

    Thank you for your propt reply.
    My appologies to fill you confusion.  After I saw the error, I checked similar thread at E2E.  Then I tried deleting the RSTD folder to solve this issue as seen in  (+) MMWAVE-STUDIO: Post Proc Error (MWMCR::EvaluateFunction error) - Sensors forum - Sensors - TI E2E support forums .  Also disabling firewall.
    Both didn't work as I wrote, though.

    According to your suggestion,  
    I moved BSS firmware but didn't work out.  Tested already existing BSS firmware in C:\ti\mmwave_studio_02_01_01_00\rf_eval_firmware\radarss, didn't work out.
    And then, as seen in user guide your mentioned, I built the environment from beginning again.   ...Result in same error

    While checking another PC (Spec is much lower than current PC I want to build the environment), it worked out...   This means the board and its setting seem correct.
    I can't find the difference in the procesure of building environment for both PC.

    Please let me know where I should check.

    Best regards,
    Atsu

  • Hello Atsu,

    Perhaps it would be good to reinstall MATLAB 8.5.1 as well as mmWaveStudio 2.1 since the hardware and software setup when used on your low spec PC works. Generally the error you acquired means something does not exist or is unable to be accessed, as that function is normally defined properly. This could be a corrupted installation file from one if not both applications mentioned earlier.

    Best Regards,

    Pedrhom Nafisi

  • Hello Pedrhom,

    I tried to reinstall both Matlab runtime and mmWaveStudio. Unfortunately, it doesn't work. I think I did it three times....
    Meanwhile, I found some differences between two PCs.

                                          Working                      Not working  
    .NET                                O (3.5)                             x (Not allowed by company's policy)
    Matlab                       full version installed        only runtime
                                      (incl 8.5.1 runtime)
    mmWaveStudio         Three version installed     only 2.1.1
                                       1.0 ,2.1.0 ,2.1.1

    Would one of or all of them be possible causes?
    Old PC's spec is out of date and its strage is almost running out. So I do want to shift the environment to New PC.
    I'm happy if you could help this.

    Thanks,
    Atsu

  • I have deleted the folder C:\Users\%USER%\AppData\Local\Temp\%USER%\mcrCache8.0.
    That works.

    Thank you,
    Atsu