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.

AWR1243BOOST: Error found when postprocessing Raw_X.bin file

Part Number: AWR1243BOOST
Other Parts Discussed in Thread: AWR1243

                                                                                                                                                        Fig1 Command

                                                                                               

                                                                                                                                                             Fig2 command message

                                           

                                                                                                                                                             Fig 3 command result

I am using AWR1243 Boost+DCA1000+mmwve studio 2.00.00.02 to  capture data.

Once i config a largre number frame and get 3 raw bin files (raw_0, raw_1,and raw_2) on PC1.

then i copy the three raw file and logfile.txt  to  PC2.

Next i convert  the three raw bin files to bin files. i use command in fig1, and get error in fig2.

my question is where am i wrong? i doult i forget to copy the file "pktlogfile.txt"  which lies in "C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\PostProc\\pktlogfile.txt"). 

Am I right?

  • Another question

    I also postprocessed the raw bin file immediately after i finished capturing data.
    i remembered no error came out, but only i got a bin file about 1G size.
    Obviously i should got a larger bin file.

    Does mmwave studio postprocess raw bin file only Raw_0.bin file by default?

    If i want to the whole bin file converting from the all Raw_X files, how to do?
  • Hi,

    As per mmwave studio user's guide here are the steps to collect raw data

    1) Collect raw data. If files more than 1GB, raw_0.bin, raw_1.bin ... will be created

    2) packet reorder and zero fill utility

    3) matlab post processing

    See Note in user's guide:

    NOTE: The matlab post processing utility in mmWaveStudio processes only the first captured raw ADC file successfully. For processing other files, user will have to develop his own processing

    Thank you
    Cesar
  • We need to postprocess all the raw_X.bin files. 

    What is the format of the raw_X.bin for postprocess it?

    Wath is the format  realation among all raw_X.bin files? i mean is there any difference for programme when i postprocess Raw_0 and othe Raw_X.bin files?

    Could you please provide the programme , even the programme in the mmawve studio for Raw_0.bin? or other referenece documents?

  • Hi,

    The format of the raw.bin files is the same format.

    It is described in the

    C:\ti\mmwave_studio_02_00_00_02\docs\mmwave_studio_user_guide.pdf

    Section 23.6

    The following AppNote provides matlabl examples to parse the raw data file

    thank you
    Cesar
  • Section 23.6 just shows me the saving data order.

    1/Now taht the format of the raw.bin files is the same format of ,bin files, why the data from Raw_X.bin has a larger size then that from .bin?
    2/"The following AppNote provides matlabl examples to parse the raw data file." Wher is the "The following AppNote"?
  • Here is the appnote

    www.ti.com/.../swra581b.pdf

    Thank you
    Cesar
  •                                                                                                                                            (1) end frame of adc_data-20190312-1400-1-0.bin

                                                                                                                                               (2) start frame of adc_data-20190312-1400-1-1.bin

                                                                                                                                        (3) end frame of adc_data-20190312-1400-1-1.bin

                                                                                                                                        (4) start frame of adc_data-20190312-1400-1-2.bin

                                                                                                                                       fig4  postprocess results of different Raw_X.bin files

    I transfer Raw_X .files to X.bin files using the steps in fig1,and get X.bin files in fig2.
    Then i use post process in mmwave studio, load logfile “adc_data-20190312-1400-1_LogFile.txt” and load X.bin file"adc_data-20190312-1400-1-0.bin“,”adc_data-20190312-1400-1-1.bin“,”adc_data-20190312-1400-1-2.bin“. I  get results in fig4.
    I am confused:
    Why the end of adc_data-20190312-1400-1-0.bin(fig4(1)) is different from the start of adc_data-20190312-1400-1-1.bin(fig4(2)), which means the start of adc_data-20190312-1400-1-1.bin suddenly  appears a a yellow detection at velocity=0 meters/sec. fig4(2) is the next frame of  fig4(1) . That means their results are almost at the same time. So I think something must be wrong.
    And the same to the end of adc_data-20190312-1400-1-1.bin(fig4(3)) is different from the start of adc_data-20190312-1400-1-2.bin(fig4(4)).
  • see my reply
  • Hi,

    It is important to understand that the files raw_X.bin may not include an integer number of frames.

    For example, you may have in raw_0.bin 100.3 frames. Then the data in raw_1.bin will not start on a frame boundary.

    You would have to re-built the frames in matlab.

    You can't process the raw_1.bin with mmWave Studio because it does not start on a frame boundary.

    Please create your own parser in C/matlab/python to read the raw data.

    Thank you
    Cesar
  • i read mmave studio userguide and appnote "swra581b.pdf"。
    1/Section 3.2 in mmave studio userguide tells me when finishing capturing raw bin file, i have to packet recorder and zero utility to get bin files, then i can next postprocess.
    And Section 3.2 in mmave studio userguide tells me i can ues the script "Packet_Reorder_Zerofill.exe <InputFileName> <OutputFilename> <LogFile>" to remove the packet header and packet sequence number from the received raw data.
    2/Section 23 in mmave studio userguide and appnote "swra581b.pdf" tell me the bin files format of DCA1000.
    3/Section 9 in appnote "swra581b.pdf" tell me the matlab programme for interpreting binary file.

    my questions are
    1/ When i develop my own programme for processing to transfer raw bin files to bin files, i just use the script above repeatly?
    for example:
    Packet_Reorder_Zerofill.exe <raw0_bin file> <bin0_file> <LogFile>
    Packet_Reorder_Zerofill.exe <raw1_bin file> <bin1_file> <LogFile>
    Packet_Reorder_Zerofill.exe <raw2_bin file> <bin2_file> <LogFile>

    2/example in queation1 seems the same steps to fig1. I think it maybe fail.
    If it fail, to transfer raw_bin files to bin files, i have to know how DCA100 EVM packet the data, where does UDP datagrams store in data and other necessary message.

    3/ Can TI provide the programme of transfering raw_bin files to bin files,even part programme or the programme for the first captured raw?

    4/Section 3.2 in mmave studio userguide tells me "For processing other files, user will have to develop his own processing and visualization routines."
    Does it mean the programme for interpreting binary file in Section 9 of appnote "swra581b.pdf" is not usefull any more. I have to creat a new programme?
  • see my reply,thanks~
  • Hi,

    I am sorry for the troubles you had with this project.

    I will create an FAQ that may help other customers as well.

    Thank you
    Cesar
  • appreciate, Cesar!

    if  any possible solution,  progress, or new FAQ link, please let me know. 

    Thanks.

  • Hi,

    Sorry for the delay. Please see

    e2e.ti.com/.../795067

    Thank you
    Cesar