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.

Compiler/IWR6843ISK: mmWave-SDK: generated .bin file is too large for demo build

Part Number: IWR6843ISK


Tool/software: TI C/C++ Compiler

Hello,

We are trying to build the demo firmware for xwr68xx devices using provided makefiles (on Linux). The "make all" command runs successfully and produces all the necessary output files: *dss.xe647, *mss.xe647 and also the xwr68xx_mmw_demo.bin. However, the obtained bin file size seems to be too large, about 3MB. What is the reason and what should I do to fix it?

We are using mmwave_sdk_03_03_00_03 version.

  • Hi Victoria,

    Which version of Linux are you using to build the SDK demo? The supported Linux versions are noted in the SDK release notes as given below: 

    mmwave_sdk_<version>-Linux-x86-Install.bin: Linux installer verified on Ubuntu 14.04 & Ubuntu 16.04 64 bit machines.

    Going by your description, it appears that the post build steps (which are executed after the compiler has generated the CCS debuggable executables namely .xe67 and .xer4f output files) which generate the meta-image binary, are not working as expected.

    The reason for this is that the .xe674 and .xer4f files are ~3MB and the meta-image generator converts these to the flash-able binary which is about 500KB for the SDK mmw demo.

    Besides making sure that you're using the right version of Linux, please also ensure that you have mono installed on your machine, which is needed to run the Windows based image generator binary "out2rprc" under Linux (Refer to table 2.3 and 2.4 in SDK release notes).

    Thanks

    -Nitin 

  • Sorry, it was a mistake on my part. I was checking my makefile settings and realized one of the variables was not set up correctly. Running the checkenv.sh helped to pin this out. I fixed this and now the build is of the correct size.