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/TMS320C6455: I am converting a project from CCS v3.3 to v7.4 and am having trouble with a generated .s62 file.

Part Number: TMS320C6455
Other Parts Discussed in Thread: SYSBIOS

Tool/software: Code Composer Studio

I am converting this project and when I build a .s62 file is generated that produces build errors. I was using SYS/BIOS v6.42 previously in the project, but because of other problems reverted to DSP/BIOS v5.42. I am using windows 7, and CCS v7.4 .

Thank you

  • Could you please copy the full output seen in the CCS build console to a text file and attach the file here? We'd like to see all the options being passed to the build commands.
  • I have attached the ful output seen in the CCS build console.

    Thank you

    build.txt
    **** Build of configuration Debug for project project ****
    
    "C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 4 all -O 
     
    'Building file: "projectcfg.s62"'
    'Invoking: C6000 Compiler'
    "C:/ti/CCS7_4_23/bin/cl6x" -mv64+ --abi=coffabi -g --include_path="C:/Users/admin/Desktop/project_TRUSTED_DOWNLOAD/build" --include_path="C:/ti/ccsv7/bios_6_42_03_35/packages/ti/bios/lib/release" --include_path="C:/ti/dsplib_c64Px_3_4_0_0" --include_path="C:/ti/dsk6455_v2/csl_c6455/lib" --include_path="C:/ti/include" --include_path="C:/ti/bios_6_42_03_35/packages/ti/sysbios/family/c64p" --include_path="C:/ti/ndk_2_25_01_11/packages/ti/ndk/inc/stack/inc" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft16x32/c64P" --include_path="C:/ti/C6400/dsplib/include" --include_path="C:/ti/dsk6455/ti/ndk/src/hal/dsk6455/eth_c6455" --include_path="C:/ti/dsk6455_v2/csl_c64xplus_intc/inc" --include_path="C:/ti/dsk6455_v2/include" --include_path="C:/ti/dsk6455_v2/csl_c6455/inc" --include_path="C:/ti/dsk6455_v2" --include_path="C:/ti/ndk_2_0_0/src/hal/dsk6455/eth_c6455/inc" --include_path="C:/ti/ndk_2_0_0" --include_path="C:/ti/bios_6_42_03_35" --include_path="C:/ti/bios_6_42_03_35/packages/ti/bios/include" --include_path="C:/ti/ndk_2_25_01_11/packages/ti/ndk/inc" --include_path="C:/ti/bios_6_42_03_35/packages" --include_path="C:/ti/xdctools_3_32_01_22_core_win32/xdctools_3_32_01_22_core/packages/" --include_path="C:/ti/ccsv7/utils/bin" --include_path="C:/ti/xdctools_3_50_04_43_core/packages/xdc" --include_path="C:/ti/xdctools_3_50_04_43_core/packages/" --include_path="C:/ti/bios_6_42_03_35/packages/ti/targets" --include_path=":/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include/sys" --include_path="C:/Users/admin/Desktop/project_TRUSTED_DOWNLOAD/build/project" --include_path="/packages/ti/xdais" --include_path="/include" --include_path="C:/Users/admin/Desktop/project_TRUSTED_DOWNLOAD/build" --include_path="C:/Users/admin/Desktop/project_TRUSTED_DOWNLOAD/shared/include" --include_path="C:/Users/admin/Desktop/project_TRUSTED_DOWNLOAD/include" --include_path="C:/Users/admin/Desktop/project_TRUSTED_DOWNLOAD/src/ex/include" --include_path="C:/Users/admin/Desktop/project_TRUSTED_DOWNLOAD/src/hm/include" --include_path="C:/Users/admin/Desktop/project_TRUSTED_DOWNLOAD/src/rx/include" --include_path="C:/Users/admin/Desktop/project_TRUSTED_DOWNLOAD/src/tx/include" --include_path="C:/Users/admin/Desktop/project_TRUSTED_DOWNLOAD/src/tx/MF_Beamforming" --include_path="C:/Users/admin/Desktop/project_TRUSTED_DOWNLOAD/src/tx/HF_Beamforming" --include_path="/c6455_csl_v03_00_10_01/csl_c6455/inc" --include_path="/c6455_csl_v03_00_10_01/csl_c64xplus_intc/inc" --include_path="/c64plus/dsplib/include" --include_path="/c64plus/dsplib/support/fft" --include_path="/ndk_1_94/packages/ti/ndk/inc" --include_path="C:/Users/admin/Desktop/project_TRUSTED_DOWNLOAD/build/data=far" --include_path="C:/ti/ccsv7/bios_6_42_03_35" --include_path="C:/ti/ccsv7/bios_6_42_03_35/packages/ti/bios/include" --include_path="C:/ti/ccsv7/bios_6_42_03_35/packages" --include_path="C:/ti/ccsv7/bios_6_42_03_35/packages/ti/targets" --include_path="C:/ti/CCS7_4_23/include" --include_path="C:/Users/admin/Desktop/project_TRUSTED_DOWNLOAD/build/project/Debug" --include_path="C:/ti/bios_5_42_02_10/packages/ti/bios/include" --include_path="C:/ti/bios_5_42_02_10/packages/ti/rtdx/include/c6000" --define=c6455 --diag_wrap=off --display_error_number --diag_suppress=238 --diag_suppress=179 --issue_remarks --obj_directory="C:/Users/admin/Desktop/project_TRUSTED_DOWNLOAD/build/Debug" --preproc_with_compile --preproc_dependency="projectcfg.d_raw"  "projectcfg.s62"
    4 Assembly Errors, No Assembly Warnings
    
    >> Compilation failure
    subdir_rules.mk:26: recipe for target 'C:/Users/admin/Desktop/project_TRUSTED_DOWNLOAD/build/Debug/projectcfg.obj' failed
    "projectcfg.s62", ERROR!   at line 493: [E0002] Illegal mnemonic specified
    		//PIP_config  _gNumEmbed, _gNextId, _OBJSIZE
    
    "projectcfg.s62", ERROR!   at line 2550: [E0002] Illegal mnemonic specified
    		//PIP_init
    
    "projectcfg.s62", ERROR!   at line 2591: [E0002] Illegal mnemonic specified
    		//PIP_startup
    
    "projectcfg.s62", ERROR!   at line 2630: [E0002] Illegal mnemonic specified
    		//PIP_end
    
    
    Errors in Source - Assembler Aborted
    gmake: *** [C:/Users/admin/Desktop/project_TRUSTED_DOWNLOAD/build/Debug/projectcfg.obj] Error 1
    gmake: Target 'all' not remade because of errors.
    
    **** Build Finished ****
    

  • Thank you for sending that along. However, the output only shows the output for building the .s62 file and not the prior build of the BIOS tcf file, which would be more interesting. Could you do a project "Rebuild", recapture the build log and attach it again?

    I will assign this thread to the BIOS experts for them to comment further. It might also be helpful for us to have a look at your .tcf file and the generated .s62 file. Could you attach those as well? Thanks.
  • Hi,

    One detail I noticed regarding the build output: the errors are being caused by C/C++ style of comments: the double slashes (//).

    Since I have a few DSP/BIOS 5.x projects for the C6000 family of devices and all of the .s62 files only have assembly style comments using semicolons (;), this leads me to believe that either you are manually editing the .s62 file or the previous build attempts using SYSBIOS may have added these comments.

    My suggestion is to delete the output directory (commonly named Debug or Release) as these files are usually automatically created by the DSP/BIOS builder. This used to help me overcome some of these obscure errors.

    Hope this helps,
    Rafael
  • Note that the same issue is discussed in the thread below:
    e2e.ti.com/.../677039

    Note Judah's post regarding the mismatch of assembly macros

    Thanks
    ki