AWR6843ISK: how to generate single bin file from CCS to flash and deploy the application

Part Number: AWR6843ISK
Other Parts Discussed in Thread: AWR6843

Tool/software:

Dear team,

  I m using AWR6843ISK EVM for application development using code composure studio
Version: 12.5.0.00007

 i have imported the outof box demo example  project files from "C:\ti\radar_toolbox_2_30_00_12\source\ti\examples\Out_Of_Box_Demo\src\xwr6843ISK"  to CCS , done the follwing steps:

step 1:(not building  the project yetr)

i am not seeing any .bin file .xe files inside debug folder(attached screenshot for reference)

step2:(post building  the DSS project)

i could see  the following files(attached screenshot for reference)

   1.out_of_box_6843_isk_dss.bin file 

   2. out_of_box_6843_isk_dss.xe674 file

step3:(post building  the MSS project)

i could see  the following files inside debug folder of MSS(attached screenshot for reference)

   1.out_of_box_6843_isk.bin file

   2.out_of_box_6843_isk_mss.xer4f file

my requirement is to get single bin file (like available part of prebuilt binaries folder"C:\ti\radar_toolbox_2_30_00_12\source\ti\examples\Out_Of_Box_Demo\prebuilt_binaries"(screenshot attached for reference) ) to flash  the application into AWR6843ISK and check.

my question:

 1.can you confirm ,how to generate single bin  file (like available part of prebuilt binaries folder) using code composure studio?

 2. does Code composure generate single bin  file to flash, if its yes,where can i get the single bin file?

3. in the above mentioned step3 ,post building MSS project ,it generate  in the name of "out_of_box_6843_isk.bin file" not "out_of_box_6843_isk._mss.bin file,can you confirm whether this file is same as "out_of_box_6843_isk._mss.bin" or different?

4.(reference to question 3) if different ,what exactly use of this file?

regards,

mani

  • Hi Mani,

    Thank you for reaching out. (1)  To generate a single bin file in CCS you will need to use the ImageCreator in the post build phase. You can find examples of this in the [RTB]\source\ti\examples\Automotive_InCabin_Security_and_Safety\AWR6843_CPD_with_Classification\src\68xx\occupancy_detection_3d_68xx_mss.projectspec file. Observe the following:

    postBuildStep="rm -f ${PROJECT_ROOT}/occupancy_detection_3d_68xx.bin;
            ${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/scripts/ImageCreator/out2rprc/out2rprc.exe ${ProjName}.xer4f ${ProjName}.tmp;
            ${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/scripts/ImageCreator/multicore_image_generator/MulticoreImageGen.exe LE 37 0x00000006 occupancy_detection_3d_68xx.bin 0x35510000 ${ProjName}.tmp 0xb5510000 ${COM_TI_MMWAVE_SDK_INSTALL_DIR}/firmware/radarss/xwr6xxx_radarss_rprc.bin 0xd5510000 ${WORKSPACE_LOC}/occupancy_detection_3d_68xx_dss/${ConfigName}/occupancy_detection_3d_68xx_dss.bin;
            ${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/scripts/ImageCreator/crc_multicore_image/crc_multicore_image.exe occupancy_detection_3d_68xx.bin occupancy_detection_3d_68xx.tmp;
            ${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/scripts/ImageCreator/append_bin_crc/gen_bincrc32.exe occupancy_detection_3d_68xx.bin;"
    (2) CCS can generate this single bin file when you specify it in the projectspec.
    (3) The out_of_box_6843_isk.bin is the top level file which will contain the contents of out_of_box_6843_isk._mss.bin so they are different in the sense that the out_of_box_6843_isk.bin contains the combined two images for the dss and mss.
     
    Best,
    Vignesh K.
  • hi vignesh,

     thanks for your reply.

    my question:

     1.can you confirm ,how to generate single bin  file (like available part of prebuilt binaries folder) using code composure studio?

    your answer:"

    (1)  To generate a single bin file in CCS you will need to use the ImageCreator in the post build phase. You can find examples of this in the [RTB]\source\ti\examples\Automotive_InCabin_Security_and_Safety\AWR6843_CPD_with_Classification\src\68xx\occupancy_detection_3d_68xx_mss.projectspec file. Observe the following:

    postBuildStep="rm -f ${PROJECT_ROOT}/occupancy_detection_3d_68xx.bin;
            ${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/scripts/ImageCreator/out2rprc/out2rprc.exe ${ProjName}.xer4f ${ProjName}.tmp;
            ${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/scripts/ImageCreator/multicore_image_generator/MulticoreImageGen.exe LE 37 0x00000006 occupancy_detection_3d_68xx.bin 0x35510000 ${ProjName}.tmp 0xb5510000 ${COM_TI_MMWAVE_SDK_INSTALL_DIR}/firmware/radarss/xwr6xxx_radarss_rprc.bin 0xd5510000 ${WORKSPACE_LOC}/occupancy_detection_3d_68xx_dss/${ConfigName}/occupancy_detection_3d_68xx_dss.bin;
            ${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/scripts/ImageCreator/crc_multicore_image/crc_multicore_image.exe occupancy_detection_3d_68xx.bin occupancy_detection_3d_68xx.tmp;
            ${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/scripts/ImageCreator/append_bin_crc/gen_bincrc32.exe occupancy_detection_3d_68xx.bin;"
    my question:
        if i consider occupancy_detection_3d example as reference  instead of out_of_box_6843_isk example(since all necessary post build steps are added in project spec file)  then the file generated after build process "occupancy_detection_3d_68xx.bin"   is same like single file available in C:\ti\radar_toolbox_1_30_01_03\source\ti\examples\InCabin_Sensing\AWR6843_CPD_with_Classification\prebuilt_binaries\occupancy_detection_3d_68xx.bin in the mentioned radartoolbox folder path. please confirm my understating is correct.
    Regards,
    mani
  • Hi Mani,

    This is a good question. It sounds like you are trying to ensure that the corresponding .bin file that is created contains everything you expect for it to contain. You can ensure that if there is a .bin file created and the post build step ran successfully then the answer to your question is yes. I suggest for you to look in the terminal and find where the postBuildStep is ran and ensure it runs correctly. You can also verify it is the same link single file by running it and seeing whether it performs as expected when running each of the files individually.

    Best,

    Vignesh K.