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.

Assembly error in generated cfg file, [E0003]



Hi,

I have created a new project and added a DSP/BIOS v5.x tcf file with the dsk6713 platform.  When I try to complie I get no errors or warnings in my source code files but I get the following errer with a failed build.

**** Build of configuration Debug for project 14bo ****

C:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake -k all

'Building file: ../ihex.c'

'Invoking: Compiler'

"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c6000/bin/cl6x" -mv6700 -g --define=CHIP_6713 --include_path="C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c6000/include" --include_path="C:/Program Files/Texas Instruments/ccsv4/C6xCSL/include" --include_path="C:/Program Files/Texas Instruments/ccsv4/DSK6713/c6000/dsk6713/include" --include_path="C:/CCS_projects/14bo/Debug" --include_path="C:/Program Files/Texas Instruments/bios_5_41_09_34/packages/ti/bios/include" --include_path="C:/Program Files/Texas Instruments/bios_5_41_09_34/packages/ti/rtdx/include/c6000" --diag_warning=225 --preproc_with_compile --preproc_dependency="ihex.pp" "../ihex.c"

'Finished building: ../ihex.c'

' '

'Building file: 14bocfg.s62'

'Invoking: Compiler'

"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c6000/bin/cl6x" -mv6700 -g --define=CHIP_6713 --include_path="C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c6000/include" --include_path="C:/Program Files/Texas Instruments/ccsv4/C6xCSL/include" --include_path="C:/Program Files/Texas Instruments/ccsv4/DSK6713/c6000/dsk6713/include" --include_path="C:/CCS_projects/14bo/Debug" --include_path="C:/Program Files/Texas Instruments/bios_5_41_09_34/packages/ti/bios/include" --include_path="C:/Program Files/Texas Instruments/bios_5_41_09_34/packages/ti/rtdx/include/c6000" --diag_warning=225 --preproc_with_compile --preproc_dependency="14bocfg.pp" "14bocfg.s62"

"14bocfg.s62", ERROR! at line 11: [E0003] Invalid binary constant specified

.include 14bocfg.h62

1 Assembly Error, No Assembly Warnings

Errors in Source - Assembler Aborted

>> Compilation failure

gmake: *** [14bocfg.obj] Error 1

gmake: Target `all' not remade because of errors.

Build complete for project 14bo

 

 

This is the start of the generated file ti is reporting the error in,

 

;; Do *not* directly modify this file. It was

;; generated by the Configuration Tool; any

;; changes risk being overwritten.

;; INPUT 14bo.cdb

;; CONFIGURATION/VERSION INFORMATION

.asg "Thu Jan 13 10:15:25 2011", VERS$DATE

;; PROLOGUE

.include 14bocfg.h62

.copy confbeg.s62

 

Does anybody have any idea what could be causing this?

Many thanks

Sean

  • Well it apears to be all down to the name of the .tcf file.  If i rename it from 14bo to something else and it builds fine, back to 14bo and the error returns.

    14bo is just our software code, I also have 14du in ccs4 that works fine with 14du.tcf.

    So in short the problem is solved but I would still be intrested to now why it is a problem if anybody nows.

    Sean

  • Sean,

    I recall seeing a similar issue in the past; it happened when I imported a legacy BIOS project but CCSv4 was picking up automatically some BIOS generated files that were built with the previous CCS but remained in the project directory tree.

    To verify this, do a Project --> Clean and check if any <14bocfg_c.c>, <14bocfg.h>, <14bocfg.s62> files are still remaining in the directory tree of your project.

    When you rename the .tcf file, CCS will only use the source files with the new names, therefore it does not show this error.

    Hope this helps,

    Rafael