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.

CCS/AWR1642: CCS/AWR1642

Part Number: AWR1642

Tool/software: Code Composer Studio

Hi all,

Suddenly I am unable to create the multicore image as always did it.

The MAKEFILE is created with changes it includes a new not recognized command.

I receive the following console message:

C:/ti/mmwave_sdk_02_00_00_04/packages/scripts/ImageCreator/xwr16xx/multicore_image_generator/MulticoreImageGen.exe LE 37 0x00000006 srrdemo_16xx.bin 0x35510000 srrdemo_16xx_mss.bin 0xb5510000 C:/ti/mmwave_sdk_02_00_00_04/firmware/radarss/xwr16xx_radarss_rprc.bin 0xd5510000 C:/ti/ccs900/ccs/eclipse/'

Number of Input Files 3

Error opening input image file! C:/ti/ccs900/ccs/eclipse/'

Number of zeros 8

Number of zeros 32

'/srrdemo_16xx_dss/Debug/srrdemo_16xx_dss.bin

makefile:196: recipe for target 'post-build' failed

''' is not recognized as an internal or external command,

operable program or batch file.

gmake[3]: [post-build] Error 1 (ignored)

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

/// New generated MAKEFILE

post-build:

                -C:/ti/mmwave_sdk_02_00_00_04/packages/scripts/ImageCreator/xwr16xx/out2rprc/out2rprc.exe srrdemo_16xx_mss.xer4f srrdemo_16xx_mss.bin

                -C:/ti/mmwave_sdk_02_00_00_04/packages/scripts/ImageCreator/xwr16xx/multicore_image_generator/MulticoreImageGen.exe LE 37 0x00000006 srrdemo_16xx.bin 0x35510000 srrdemo_16xx_mss.bin 0xb5510000 C:/ti/mmwave_sdk_02_00_00_04/firmware/radarss/xwr16xx_radarss_rprc.bin 0xd5510000 C:/ti/ccs900/ccs/eclipse/'

                -'/srrdemo_16xx_dss/Debug/srrdemo_16xx_dss.bin

                -C:/ti/mmwave_sdk_02_00_00_04/packages/scripts/ImageCreator/xwr16xx/crc_multicore_image/crc_multicore_image.exe srrdemo_16xx.bin srrdemo_16xx.bin.tmp

                -C:/ti/mmwave_sdk_02_00_00_04/packages/scripts/ImageCreator/append_bin_crc/gen_bincrc32.exe srrdemo_16xx.bin

                -@echo ' '

 

 

 

/// From Backup working MAKEFILE

post-build:

                -C:/ti/mmwave_sdk_02_00_00_04/packages/scripts/ImageCreator/xwr16xx/out2rprc/out2rprc.exe srrdemo_16xx_mss.xer4f srrdemo_16xx_mss.bin

                -C:/ti/mmwave_sdk_02_00_00_04/packages/scripts/ImageCreator/xwr16xx/multicore_image_generator/MulticoreImageGen.exe LE 37 0x00000006 srrdemo_16xx.bin 0x35510000 srrdemo_16xx_mss.bin 0xb5510000 C:/ti/mmwave_sdk_02_00_00_04/firmware/radarss/xwr16xx_radarss_rprc.bin 0xd5510000 C:/Users/clanu/workspace_v9/srrdemo_16xx_dss/Debug/srrdemo_16xx_dss.bin

                -C:/ti/mmwave_sdk_02_00_00_04/packages/scripts/ImageCreator/xwr16xx/crc_multicore_image/crc_multicore_image.exe srrdemo_16xx.bin srrdemo_16xx.bin.tmp

                -C:/ti/mmwave_sdk_02_00_00_04/packages/scripts/ImageCreator/append_bin_crc/gen_bincrc32.exe srrdemo_16xx.bin

                -@echo ' '

 

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

I took the old working MAKEFILE and disabled, before building, the option Project -> Properties -> C/C++ Build -> Make Generation: Generate Makefiles Automatically

It temporary does the job but I cannot introduce new features as the project is progressing and I want to be able to enable the above feature to do that.

Thank you,

Claudio

  • Hi

    We need to identify if this is caused by an updated in

    1) ccs
    2) update in emulation package
    3) in your code.

    Have you updated any of items above?

    Thank you
    Cesar
  • Hi Cesar,

    Update in CCS9

    Claudio

  • How did you import the project into your CCS9 workspace?  Did you import from the projectspec again or did you browse to the project in your existing workspace and import it directly from there?

      -dave

  • I copied the project(s) into the \\workspace_v9 created by CC9 when I installed it and switched from CCS8

    File -> Import -> Code Composer Studio -> CCS Projects

    It worked fine for about two or three weeks, and then suddenly appeared the issue I am addressing you now.

    Even without any update of the software at all.

    Claudio

  • Yes, that should work.  If you look at your project Property->Build->Post-build steps, you'll see that the second line is similar to this:

    ${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/scripts/ImageCreator/xwr16xx/multicore_image_generator/MulticoreImageGen.exe LE 37 0x00000006 oddemo_16xx.bin 0x35510000 ${ProjName}.bin 0xb5510000 ${COM_TI_MMWAVE_SDK_INSTALL_DIR}/firmware/radarss/xwr16xx_radarss_rprc.bin 0xd5510000 ${WORKSPACE_LOC}/oddemo_16xx_dss/Debug/oddemo_16xx_dss.bin

    It seems as if either this line has changed, or the WORKSPACE_LOC CCS variable has changed to C:/ti/ccs900/ccs/eclipse. You can try fixing this, or simply deleting the project from your workspace and re-importing it as you did before (make sure you save any code changes first!).  If it happens again, we'll report it as a CCS9 issue.

      -dave

  • db_woodall said:
    It seems as if either this line has changed, or the WORKSPACE_LOC CCS variable has changed to C:/ti/ccs900/ccs/eclipse

    This is odd. WORKSPACE_LOC is an internal Eclipse variable that should always point to the active workspace folder. I'm not sure how it could have changed to point to the eclipse folder of CCS. 

    Please check the build variable settings in the Project Properties:

    Check to see if the system level variable is set correctly but that it is being overridden at the project level.

    Thanks

    ki

  • Hi Dave,

    There were three variables where the odd path appeared.

    I replaced all of them with my project path for CCS9 ..\workspace_v9

    PARENT_LOC

    WORKSPACE_LOC

    WorkspaceDirPath

    I checked again the "Properties -> C/C++ Build -> Makefile Generation: Generate Makefiles Automatically"

    I rebuild the mss project and it builds now the multicore image as expected and creates a new Makefile

    This resolved my issue.

    Thank you,

    Claudio