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.

IWR1443BOOST: mmwave studio is not able to process the raw data by missing MSVCR120.dll

Part Number: IWR1443BOOST
Other Parts Discussed in Thread: DCA1000EVM, IWR6843

Hi,

I have a newly installed window 10 operation system. The IWR1443EVM is connected to DCA1000EVM, and they are both connected to be PC.

I can successfully configure the radar front end and DCA1000EVM and capture the raw data using mmwave studio.

But in the last step, the raw data is going to be proceeded using Packet_Recorder_Zerofill.exe and it fails. The error is attached below.

By the way, I have installed MATLAB running time 2015a according to the user manual.

Thanks for your help!

Regards,

Weite Zhang

  • Weite,

    Can you please upload a copy of your output log.

    Alex
  • Weite,

    I hope that your issue was resolved, if you are still experiencing issues please open another thread referencing back to this one.

    Thanks
    Alex
  •  Weite / Alex:

    I have encountered the same problem that Weite has. My "partial" solution was that I realized that the "32-bit" Microsoft Visual C++ 2013 Redistributable package from the link should be installed, instead of the "64-bit" version. Weite: check whether you have installed the 64-bit package.

    I believe the reason is that from the package name "mmwave_studio_02_00_00_02_win32.exe", we can infer that it is a 32-bit .exe, not 64-bit.

    However, after getting over the error message that Weite has encountered, I am seeing another problem: when Packet_Recorder_Zerofill.exe executes to post-process the raw data, the command window flashes then disappears. An error is shown in the Ouput windows. Please see the output log:

    GM: Constructor

    GM: Fri Apr 05 16:20:36 2019

    RSTD.Transmit("/Settings")

    [16:20:37]  

    [16:20:37]  ### Running Startup script: "C:\ti\mmwave_studio_02_00_00_02\mmWaveStudio\Scripts\Startup.lua" ###

    [16:20:37]  RSTD.SetAndTransmit ("/Settings/Scripter/Display DateTime" , "1")

    [16:20:37]  RSTD.SetAndTransmit ("/Settings/Scripter/DateTime Format" , "HH:mm:ss")

    [16:20:37]  Scripter ignored: Attempt to UnBuild() again or before Build.

    [16:20:37]  RSTD.SetVar ("/Settings/Clients/Client 0/Dll" , "C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\Clients\\\\LabClient.dll")

    [16:20:37]  RSTD.SetVar ("/Settings/Clients/Client 0/Use" , "TRUE")

    [16:20:37]  RSTD.SetVar ("/Settings/Clients/Client 1/Use" , "FALSE")

    [16:20:37]  RSTD.SetVar ("/Settings/Clients/Client 2/Use" , "FALSE")

    [16:20:37]  RSTD.SetVar ("/Settings/Clients/Client 3/Use" , "FALSE")

    [16:20:37]  RSTD.SetVar ("/Settings/Clients/Client 4/Use" , "FALSE")

    [16:20:37]  RSTD.SetVar ("/Settings/AL Client/AL Dll" , "C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\RunTime\\SAL.dll")

    [16:20:37]  RSTD.SetVar ("/Settings/Clients/Client 0/GuiDll" , "")

    [16:20:37]  RSTD.SetVar ("/Settings/AutoUpdate/Enabled" , "TRUE")

    [16:20:37]  RSTD.SetVar ("/Settings/AutoUpdate/Interval" , "1")

    [16:20:37]  RSTD.SetVar ("/Settings/Monitors/UpdateDisplay" , "TRUE")

    [16:20:37]  RSTD.SetVar ("/Settings/Monitors/OneClickStart" , "TRUE")

    [16:20:37]  RSTD.SetVar ("/Settings/Automation/Automation Mode" , "false")

    [16:20:37]  RSTD.Transmit("/")

    [16:20:37]  RSTD.SaveSettings(): Settings saved to "C:\Users\UTRC\AppData\Roaming\RSTD\config.xml"

    [16:20:37]  RSTD.Build()

    [16:20:37]  RSTD.SaveSettings(): Settings saved to "C:\Users\UTRC\AppData\Roaming\RSTD\config.xml"

    [16:20:37]  RSTD.Transmit("/")

    [16:20:37]  RSTD.AL_Build()

    [16:20:37]  RSTD.AL_LoadXml()

    [16:20:37]  RSTD.Transmit("/")

    [16:20:37]  RSTD.AL_Init()

    [16:20:37]  RSTD.Clients_Build()

    [16:20:37]  GM: Init

    [16:20:37]  GM: Loaded 'C:\ti\mmwave_studio_02_00_00_02\mmWaveStudio\Clients\\LabClient.dll'

    [16:20:37]  GM: 1 Guest (s) init

    [16:20:37]  GM: 1 Module(s) init

    [16:20:37]  GM: 2 Tab   (s) init

    [16:20:37]  RSTD.Client_LoadXml()

    [16:20:37]  [RadarAPI]: Starting Matlab Engine..

    [16:20:40]  [RadarAPI]: Matlab Engine Started!

    [16:20:46]  [RadarAPI]: ar1.LoadSettings('C:\Users\UTRC\AppData\Roaming\RSTD\ar1gui.ini')

    [16:20:46]  TESTING = false

    [16:20:46]  

    [16:20:46]  ***Script completed successfully.***

    [16:20:57]  [RadarAPI]: Opening Gpio Control Port()

    [16:20:57]  [RadarAPI]: Status: Passed

    [16:20:57]  [RadarAPI]: Opening Board Control Port()

    [16:20:57]  [RadarAPI]: Status: Passed

    [16:20:58]  [RadarAPI]: ar1.FullReset()

    [16:20:58]  [RadarAPI]: Status: Passed

    [16:20:59]  [RadarAPI]: Closing Board Control Port()

    [16:20:59]  [RadarAPI]: Status: Passed

    [16:20:59]  [RadarAPI]: Closing Gpio Control Port()

    [16:20:59]  [RadarAPI]: Status: Passed

    [16:20:59]  [RadarAPI]: ar1.SOPControl(2)

    [16:20:59]  [RadarAPI]: Status: Passed

    [16:21:01]  [RadarAPI]: ar1.Connect(10,921600,1000)

    [16:21:04]  [RadarAPI]: Warning: Connected with baudrate 115200

    [16:21:05]  [RadarAPI]: Warning: Disconnected existing BaudRate

    [16:21:05]  [RadarAPI]: Warning: Trying to connect with baudrate 921600

    [16:21:07]  [RadarAPI]: ar1.Calling_IsConnected()

    [16:21:08]  [RadarAPI]: ar1.SelectChipVersion("IWR6843")

    [16:21:08]  [RadarAPI]: Status: Passed

    [16:21:08]  [RadarAPI]: RS232 is not connected ..!!!!

    [16:21:08]  [RadarAPI]: ar1.frequencyBandSelection("60G")

    [16:21:08]  [RadarAPI]: ar1.SelectChipVersion("IWR6843")

    [16:21:08]  [RadarAPI]: Status: Passed

    [16:21:08]  Device Status : IWR6843/QM/SOP:2/ES:1

    [16:21:09]  [RadarAPI]: ar1.SelectChipVersion("IWR6843")

    [16:21:09]  [RadarAPI]: Status: Passed

    [16:21:09]  [RadarAPI]: ar1.SelectChipVersion("IWR6843")

    [16:21:09]  [RadarAPI]: Status: Passed

    [16:21:09]  Device Status : IWR6843/QM/SOP:2/ES:1

    [16:21:09]  [RadarAPI]: ar1.SaveSettings('C:\Users\UTRC\AppData\Roaming\RSTD\ar1gui.ini')

    [16:21:10]  [RadarAPI]: ar1.DownloadBSSFw("C:\\ti\\mmwave_studio_02_00_00_02\\rf_eval_firmware\\radarss\\xwr68xx_radarss.bin")

    [16:21:11]  [RadarAPI]: Downloading BSS ROM RPRC Binary..

    [16:21:17]  [RadarAPI]: ar1.GetBSSFwVersion()

    [16:21:17]  [RadarAPI]: BSSFwVersion:(06.00.05.00 (01/08/18))

    [16:21:19]  [RadarAPI]: ar1.DownloadMSSFw("C:\\ti\\mmwave_studio_02_00_00_02\\rf_eval_firmware\\masterss\\xwr68xx_masterss.bin")

    [16:21:19]  [RadarAPI]: Downloading MSS RPRC Binary..

    [16:21:23]  [RadarAPI]: ar1.PowerOn(0, 1000, 0, 0)

    [16:21:23]  MSS power up done async event received!

    [16:21:23]  [RadarAPI]: Status: Passed

    [16:21:25]  [RadarAPI]: ar1.RfEnable()

    [16:21:25]  BSS power up done async event received!

    [16:21:25]  [RadarAPI]: Status: Passed

    [16:21:26]  [RadarAPI]: ar1.GetBSSFwVersion()

    [16:21:26]  [RadarAPI]: BSSFwVersion:(06.00.05.00 (01/08/18))

    [16:21:35]  [RadarAPI]: ar1.ChanNAdcConfig(1, 0, 1, 1, 1, 1, 1, 2, 1, 0)

    [16:21:35]  [RadarAPI]: Status: Passed

    [16:21:37]  [RadarAPI]: ar1.LPModConfig(0, 0)

    [16:21:37]  [RadarAPI]: Status: Passed

    [16:21:38]  [RadarAPI]: ar1.RfInit()

    [16:21:38]  RF Init async event received!

    [16:21:38]  [RadarAPI]: Time stamp, Temperture: 13372,43; APLL Status, Update: 1, 0; SynthVCO1 Status, Update: 1, 1; SynthVCO2 Status, Update: 1, 1; LODist Status, Update: 1, 1; RxADCDC Status, Update: 0, 0; HPFcutoff Status, Update: 0, 0; LPFcutoff Status, Update: 0, 0; PeakDetector Status, Update: 0, 0; TxPower Status, Update: 0, 0; RxGain Status, Update: 0, 0; TxPhase Status, Update: 0, 0; RxIQMM Status, Update: 0, 0;

    [16:21:38]  [RadarAPI]: Status: Passed

    [16:21:41]  [RadarAPI]: ar1.DataPathConfig(513, 1216644097, 0)

    [16:21:41]  [RadarAPI]: Status: Passed

    [16:21:43]  [RadarAPI]: ar1.LvdsClkConfig(1, 1)

    [16:21:43]  [RadarAPI]: Status: Passed

    [16:21:44]  [RadarAPI]: ar1.LVDSLaneConfig(0, 1, 1, 0, 0, 1, 0, 0)

    [16:21:44]  [RadarAPI]: Status: Passed

    [16:21:47]  [RadarAPI]: ar1.ProfileConfig(0, 60.25, 100, 6, 60, 0, 0, 0, 0, 0, 0, 29.982, 0, 256, 10000, 0, 131072, 30)

    [16:21:47]  [RadarAPI]: Status: Passed

    [16:21:50]  [RadarAPI]: ar1.ChirpConfig(0, 0, 0, 0, 0, 0, 0, 1, 0, 1)

    [16:21:50]  [RadarAPI]: Status: Passed

    [16:21:54]  Test Source Already Disabled...!!!

    [16:21:54]  [RadarAPI]: Status: Passed

    [16:21:54]  [RadarAPI]: ar1.FrameConfig(0, 0, 80, 128, 40, 0, 1)

    [16:21:54]  [RadarAPI]: Status: Passed

    [16:21:56]  [RadarAPI]: ar1.SelectCaptureDevice("DCA1000")

    [16:21:56]  [RadarAPI]: passed

    [16:21:58]  [RadarAPI]: StatusDCCard Event Registered

    [16:21:58]  [RadarAPI]: Status: Passed

    [16:21:58]  [RadarAPI]: ar1.CaptureCardConfig_EthInit("192.168.33.30", "192.168.33.180", "12:34:56:78:90:12", 4096, 4098)

    [16:21:58]  [RadarAPI]: SYSTEM_CONNECT_CMD_CODE Async event recieved(9)

    [16:21:58]  [RadarAPI]: ConnectRFDCCard Status: Passed

    [16:21:58]  [RadarAPI]: ReadRFDCCarFpgaVersion Status: Passed

    [16:21:58]  [RadarAPI]: READ_FPGA_VERSION_CMD_CODE event recieved(14)

    [16:21:58]  [RadarAPI]: ar1.CaptureCardConfig_Mode(1, 2, 1, 2, 3, 30)

    [16:21:58]  [RadarAPI]: Status: Passed

    [16:21:58]  [RadarAPI]: CONFIG_FPGA_GEN_CMD_CODE Async event recieved(3)

    [16:21:58]  [RadarAPI]: ar1.CaptureCardConfig_PacketDelay(25)

    [16:21:58]  [RadarAPI]: Status: Passed

    [16:21:58]  [RadarAPI]: CONFIG_PACKET_DATA_CMD_CODE Async event recieved(11)

    [16:22:00]  [RadarAPI]: ar1.CaptureCardConfig_StartRecord("C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\PostProc\\adc_data.bin", 1)

    [16:22:00]  [RadarAPI]: Status: Passed

    [16:22:00]  [RadarAPI]: RECORD_START_CMD_CODE Async event recieved(5)

    [16:22:03]  [RadarAPI]: ar1.StartFrame()

    [16:22:03]  [RadarAPI]: RECORD_PKT_OUT_OF_SEQ_ERROR_CODE Async event recieved(195)

    [16:22:03]  [RadarAPI]: RECORD_PKT_OUT_OF_SEQ_ERROR_CODE Async event recieved(195)

    [16:22:03]  [RadarAPI]: RECORD_PKT_OUT_OF_SEQ_ERROR_CODE Async event recieved(195)

    [16:22:03]  [RadarAPI]: Status: Passed

    [16:22:03]  Frame start async event received!

    [16:22:04]  [RadarAPI]: RECORD_PKT_OUT_OF_SEQ_ERROR_CODE Async event recieved(195)

    [16:22:04]  [RadarAPI]: RECORD_PKT_OUT_OF_SEQ_ERROR_CODE Async event recieved(195)

    [16:22:04]  [RadarAPI]: RECORD_PKT_OUT_OF_SEQ_ERROR_CODE Async event recieved(195)

    [16:22:04]  [RadarAPI]: RECORD_PKT_OUT_OF_SEQ_ERROR_CODE Async event recieved(195)

    [16:22:06]  Frame End async event received!

    [16:22:06]  [RadarAPI]: Frame Ended

    [16:22:08]  [RadarAPI]: STS_RECORD_COMPLETED Async event recieved(8)

    [16:22:08]  [RadarAPI]: ar1.CaptureCardConfig_StopRecord()

    [16:22:08]  [RadarAPI]: Status: Passed

    [16:22:08]  [RadarAPI]: RECORD_STOP_CMD_CODE Async event recieved(6)

    [16:22:10]  [RadarAPI]: Packet Reorder Utility Started...please wait...

    [16:22:10]  [RadarAPI]: ar1.PacketReorderZeroFill("C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\PostProc\\adc_data_Raw_0.bin", "C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\PostProc\\adc_data.bin", "C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\PostProc\\pktlogfile.txt")

    [16:22:15]  [RadarAPI]: Packet Reorder Utility process completed!

    [16:22:30]  [RadarAPI]: ar1.StartMatlabPostProc("C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\PostProc\\adc_data.bin")

    [16:22:30]  [RadarAPI]: Error:

    [16:22:30]  

    [16:22:30]  ... MWMCR::EvaluateFunction error ...

    [16:22:30]  05-Apr-2019 16:22:30: The file C:\ti\mmwave_studio_02_00_00_02\mmWaveStudio\PostProc\adc_data.bin is empty. Please capture more data.,1,

    [16:22:30]  Error in => process_adc_data.m at line 52.

    [16:22:30]  

    [16:22:30]  ... Matlab M-code Stack Trace ...

    [16:22:30]      at

    [16:22:30]  file C:\Users\UTRC\AppData\Local\Temp\UTRC\mcrCache8.5.1\Matlab0\Logging\log_status.m, name log_status, line 32.

    [16:22:30]      at

    [16:22:30]  file C:\Users\UTRC\AppData\Local\Temp\UTRC\mcrCache8.5.1\Matlab0\Processing_functions\read_adc_data.m, name read_adc_data, line 28.

    [16:22:30]      at

    [16:22:30]  file C:\Users\UTRC\AppData\Local\Temp\UTRC\mcrCache8.5.1\Matlab0\MatlabPostPr\process_adc_data.m, name process_adc_data, line 52.

    [16:22:30]  

    [16:22:30]  

    [16:22:30]  Trace:

    [16:22:30]     at MathWorks.MATLAB.NET.Utility.MWMCR.EvaluateFunction(String functionName, Int32 numArgsOut, Int32 numArgsIn, MWArray[] argsIn)

    [16:22:30]     at MathWorks.MATLAB.NET.Utility.MWMCR.EvaluateFunction(Int32 numArgsOut, String functionName, MWArray[] argsIn)

    [16:22:30]     at MatlabPostProcGui.MatlabPostProcGUIClass.process_adc_data(MWArray adc_file_name, MWArray force_cont_stream_mode)

    [16:22:30]     at AR1xController.frmAR1Main.iStartCaptureMtlabPostProc()

    Note the error starts from time stamp [16:22:30]. I have captured 80 frames of data. See a screenshot of the folder "PostProcess" below. 

    Can you help with this new error?

    BTW, I have previously successfully set up mmWaveStudio correctly on a workstation running Windows 7. I'm now repeating on a 64-bit Windows 10 laptop. I'm running into this issue.

    Thanks.

    Ziyou

  • Ziyou,

    You are dropping packets, look below.

    change your Packet delay when setting up the DCA1000, range can be from 5 to 500 [us]

    If you continue to have issues after this, please open a separate thread.

    Thanks

    Alex

  • Alex:

    By increasing the "Packet Delay" from the default 25us to 500us, I do not have the problem any more. So it looks like this has fixed the problem. Just curious, does this longer delay leads to any distortion of the post-process data from the raw data?

    Thanks.

    Ziyou
  • Ziyou,

    Glad to hear that it resolved your issue, remember that you can choose any value from 5 to 500us, does not have to be the largest value.
    No it does not distort the post proc data, all it does is increase the delay between packets getting sent from the DCA1000 to your PC.

    Alex

  • Alex:

    Thanks for your explanation. This problem is resolved.

    Ziyou