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.

AWR2243: Error Post Processing Cascade Data

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

Hardware: MMWCAS-RF-EVM + MMWCAS-DSP-EVM for cascade processing

Software

  • mmWave Studio 2.1
  • Matlab Run-Time R2015aSP1
  • DFP-2G 2.01.05.03

I'm following the directions from the mmWave Studio Cascade User Guide:

http://software-dl.ti.com/ra-processors/esd/MMWAVE-STUDIO/latest/exports/mmwave_studio_cascade_user_guide.pdf

I'm on Section 8.2 Post Processing the ADC Data.  I clicked the "Transfer Files" button and all of my files transferred from the board to my PC.  Then I clicked the PostProc button.  I get the following error:

[15:43:06] [RadarAPI]: ar1.StartMatlabPostProc("C:\\ti\\mmwave_studio_02_01_00_00\\mmWaveStudio\\PostProc\\Cascade_Capture.bin")
[15:43:06] [RadarAPI]: No of files Captured: 1, Total no of frames for each device : 10
[15:43:06] [RadarAPI]: Error:
[15:43:06]
[15:43:06] ... MWMCR::EvaluateFunction error ...
[15:43:06] Reference to non-existent field 'NumOfSubFrames'.
[15:43:06] Error in => process_adc_data.m at line 76.
[15:43:06]
[15:43:06] ... Matlab M-code Stack Trace ...
[15:43:06] at
[15:43:06] file C:\Users\a0193370\AppData\Local\Temp\a0193370\mcrCache8.5.1\Matlab0\Processing_functions\prepare_frame.m, name prepare_subframes, line 167.
[15:43:06] at
[15:43:06] file C:\Users\a0193370\AppData\Local\Temp\a0193370\mcrCache8.5.1\Matlab0\Processing_functions\prepare_frame.m, name prepare_frame, line 17.
[15:43:06] at
[15:43:06] file C:\Users\a0193370\AppData\Local\Temp\a0193370\mcrCache8.5.1\Matlab0\Processing_functions\create_current_burst_config.m, name create_current_burst_config, line 5.
[15:43:06] at
[15:43:06] file C:\Users\a0193370\AppData\Local\Temp\a0193370\mcrCache8.5.1\Matlab0\Processing_functions\populate_current_burst_constants.m, name populate_current_burst_constants, line 11.
[15:43:06] at
[15:43:06] file C:\Users\a0193370\AppData\Local\Temp\a0193370\mcrCache8.5.1\Matlab0\MatlabPostPr\process_adc_data.m, name process_adc_data, line 76.
[15:43:06]
[15:43:06]
[15:43:06] Trace:
[15:43:06] at MathWorks.MATLAB.NET.Utility.MWMCR.EvaluateFunction(String functionName, Int32 numArgsOut, Int32 numArgsIn, MWArray[] argsIn)
[15:43:06] at MathWorks.MATLAB.NET.Utility.MWMCR.EvaluateFunction(Int32 numArgsOut, String functionName, MWArray[] argsIn)
[15:43:06] at MatlabPostProcGui.MatlabPostProcGUIClass.process_adc_data(MWArray adc_file_name, MWArray force_cont_stream_mode)
[15:43:06] at AR1xController.frmAR1Main.iStartMtlabPostProc()

As an alternative I tried following the steps in 8.2.2 (standalone processing).  I perform the "Load .log" step ok, but when I click "Load .bin" it pops up an error saying "Missing Log File".

Thanks for any suggestions!

Brad

  • Hi Brad, 

    Is this issue repeatable on every capture, on every frame? Are you just using the default TDMA-MIMO or TX-BF example setups? Can you send over your configuration and capture lua scripts? After you transferred the files over to your PC, did mmWave Studio generate the corresponding JSON setup files for you as well? You should see: 

    • multiple *_data.bin
    • multiple *_idx.bin
    • a single *.mmwave.json
    • a single *.setup.json

    Would you be able to share these generated JSON config files?

    The .mmwave_json and .setup.json are JSON formatted files that store the configuration state of the AWR devices which were just configured and info about the mmwave studio version which produced the captured files. These are the same files generated by going to the "Import_Export" tab of mmWave Studio. 

    Thanks,

    -Randy

  • Randy Rosales said:
    Is this issue repeatable on every capture, on every frame?

    This is my first time trying to run this demo.  I've only ran the demo once.  Everything seemed like it executed well.

    Randy Rosales said:
    Are you just using the default TDMA-MIMO or TX-BF example setups?

    Back in Section 7.2 there are 3 different use cases:

    • Test Source
    • MIMO Configuration
    • TX Beam Forming Configuration

    I was doing the first one since I'm just getting started.  Was that ok, or is that my issue?  Does the post processing only work for use case 2 and 3?  Since I'm just starting, Use Case 1 "Test Source" seemed like the place to go.  Based on your question I'm having doubts!

    Randy Rosales said:
    After you transferred the files over to your PC, did mmWave Studio generate the corresponding JSON setup files for you as well?

    Yes, I received all the expected files.

    Randy Rosales said:
    Would you be able to share these generated JSON config files?

    I shared the complete directory with you internally through TI Drive if you want to look.

  • Hi Brad, 

    I am reviewing the logs internally with the team members responsible for the post-processing GUI. I will get a reply back to you in a few days. 

    There should be nothing wrong with running either with the built-in simulated target (test source), or the other two scenarios. If you can, I would like to see what the TDMA-MIMO example use-case produces in your cases. This is the scenario I usually use to sanity check my own testing. 

    Thank you,

    -Randy

  • Randy,

    I tried again using MMWAVE-STUDIO-2G (v03.00.00.07 specifically) and the post processing worked correctly.

    Best regards,
    Brad

  • Hi Brad Griffis   can you provide MMWAVE-STUDIO-2G  download link, I tried to get MMWAVE-STUDIO-2G, but I couldn't get the download link. Thank you very much

  • user6282660 said:
     can you provide MMWAVE-STUDIO-2G  download link

    You have to request access via this page:

    http://www.ti.com/tool/MMWAVE-STUDIO