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.

AWR1642BOOST: Error in Loading the mmw demo program

Part Number: AWR1642BOOST
Other Parts Discussed in Thread: AWR1642, UNIFLASH, AWR1443

Hi,

I am new to CCS and AWR1642. Bear with me for the basic doubt. I want to load the mmw demo program into flash to work with the mmWave Demo Visualizer. These are the things I have done.

Process1: I used Uniflash as given by the demo videos/PDFs. In the Meta image 1 and meta image 2, I chose the 16xx version (C:\ti\mmwave_sdk_01_00_00_05\firmware\radarss\ xwr16xx_radarss_rprc.bin). The step by step guide asked to load the "C:\ti\mmwave_sdk_<ver>\firmware\radarss\xwr12xx_xwr14xx_radarss.bin".

Error seen was  Header of C:/ti/mmwave_sdk_01_00_00_05/firmware/radarss/xwr16xx_radarss_rprc.bin file indicates it is not a valid file to flash to AWR1642: 0x43525052

[ERROR] CortexR4_0: !!! Aborting flashing of specified files!!!

Process 2: After going through the mmWave Sensors forum, I got the idea to use the Radar Studio. I downloaded the DFP and installed the 0.7.0.0.4 version. Used the user guide and modified the batch file as below:

FORMAT,SFLASH
C:\ti\mmwave_sdk_01_00_00_05\packages\ti\demo\xwr16xx\mmw\xwr16xx_mmw_demo.bin,META_IMAGE1,SFLASH

and executed the command as : mmwaveprog_cmdline.exe -c -p 3 -b xwr16xx_package.txt

the error displayed was :

.......port opened
Downloading file to AR1XXX device..
Traceback (most recent call last):
  File "mmwaveprog_cmdline.py", line 48, in <module>
  File "mmwaveprog.pyc", line 345, in download_file
  File "mmwaveprog.pyc", line 212, in _send_start_download
KeyError: 'META_IMAGE1'

Now I have erased the flash, which came with the out of box demo. And I am unable to load any image into the flash or the processors directly.

Kindly help me.

  • Hello Santhana,

    DFP is not needed to run the mmWave SDK demo.

    xwr16xx_radarss_rprc.bin is the correct file for AWR1642. Can you please confirm that file is not corrupted and may be try a re-download of SDK to get the bin file again.


    Thank you,
    Vaibhav
  • Hello Santhana,

    You will only need to select the xwr16xx_mmw_demo.bin file from the C:\ti\mmwave_sdk_01_00_00_05\packages\ti\demo\xwr16xx\mmw folder. You do not need to use the radarSS .bin file.

    Please try flashing this image and let me know if it works.

    Regards,

    Adrian

  • Santhana, 
     
     the xwr16xx_mmw_demo.bin already includes the radarss. Try Uniflash one more time and only select xwr16xx_mmw_demo.bin.

  • Hi Adrian & Ewald,

    Thank You. It worked.

    I used 2 meta images, as told in the demo but I realize that the demo pdf was for AWR1443.

    Can you say me, when to use 2 meta images and when to use 1, and most importantly, why were require 2 (or 4) images at all??When should I use radarss_rprc and 16xx_ccsdebug meta images??

    I think if I use the radar_rprc and ccsdubug meta images, I can use debug mode in CCS to load my code and run them. Am I correct. If that is the case, How do I do it now, as I am not able to use this radar_rprc metaimge using uniflash.??

    Just for my understanding so as not to make this silly mistake as before.

  • Hello Santhana,

    For the AWR1642 you will always just use one image. This is because the radarSS and masterSS are contained in the single image for the AWR16xx. Two images will always be required for the AWR1443.

    To load your code in CSS you will only need to use the ccsdebug binary, just as you did with the demo. The radar_rprc binary is not needed. To be honest, I am not entirely sure when the radar_rprc is used. I will have to get back to you on that.
  • Hello Santhana,

    The xwr16xx_radarss_rprc.bin is used in building binaries. If you refer to page 31 of the SDK User's Guide you can see it is used in setting up the build environment with the setenv_tools.bat batch file.
  • Thank you Aozer. Now it was clear.

    If possible the demo videos can bring out this difference in AWR1642 clearly, to avoid confusion.

    Thank you everyone.