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.

我用的ccs5.5 编译器,在主函数中添加#include "csl_intc.h"然后就出现错误

Expert 2137 points


**** Build of configuration Debug for project Programming ****

"C:\\ti\\ccsv5\\utils\\bin\\gmake" -k all
'Building file: F:/DSP Software/Uart07/UserHSource/UART.c'
'Invoking: C5500 Compiler'
"C:/ti/ccsv5/tools/compiler/c5500_4.4.1/bin/cl55" -v5517 --memory_model=large -O1 -g --include_path="C:/ti/c55_lp/c55_csl_3.06/inc" --include_path="F:/DSP Software/Uart07/UserHSource" --include_path="C:/ti/ccsv5/tools/compiler/c5500_4.4.1/include" --define=c5517 --display_error_number --diag_warning=225 --ptrdiff_size=16 --preproc_with_compile --preproc_dependency="UART.pp" "F:/DSP Software/Uart07/UserHSource/UART.c"
>> WARNING: version specified in option -v5517 is unknown (ignored)
'Finished building: F:/DSP Software/Uart07/UserHSource/UART.c'
' '
'Building file: ../amain.c'
'Invoking: C5500 Compiler'
"C:/ti/ccsv5/tools/compiler/c5500_4.4.1/bin/cl55" -v5517 --memory_model=large -O1 -g --include_path="C:/ti/c55_lp/c55_csl_3.06/inc" --include_path="F:/DSP Software/Uart07/UserHSource" --include_path="C:/ti/ccsv5/tools/compiler/c5500_4.4.1/include" --define=c5517 --display_error_number --diag_warning=225 --ptrdiff_size=16 --preproc_with_compile --preproc_dependency="amain.pp" "../amain.c"
>> WARNING: version specified in option -v5517 is unknown (ignored)
'Finished building: ../amain.c'
' '
'Building file: C:/ti/c55_lp/c55_csl_3.06/src/csl_intc.c'
'Invoking: C5500 Compiler'
"C:/ti/ccsv5/tools/compiler/c5500_4.4.1/bin/cl55" -v5517 --memory_model=large -O1 -g --include_path="C:/ti/c55_lp/c55_csl_3.06/inc" --include_path="F:/DSP Software/Uart07/UserHSource" --include_path="C:/ti/ccsv5/tools/compiler/c5500_4.4.1/include" --define=c5517 --display_error_number --diag_warning=225 --ptrdiff_size=16 --preproc_with_compile --preproc_dependency="csl_intc.pp" "C:/ti/c55_lp/c55_csl_3.06/src/csl_intc.c"
>> WARNING: version specified in option -v5517 is unknown (ignored)
"C:\Users\admin\AppData\Local\Temp\0850410", ERROR! at line 1632:
[E9999]
Syntax Error
BIT (ST1,#ST1_INTM) = #1 ;====> CODE AUTO-GENERATED by CSL

"C:\Users\admin\AppData\Local\Temp\0850410", ERROR! at line 1632:
[E9999]
Invalid instructionsyntax, Xmem or Ymem expected
BIT (ST1,#ST1_INTM) = #1 ;====> CODE AUTO-GENERATED by CSL

"C:\Users\admin\AppData\Local\Temp\0850410", ERROR! at line 1632:
[E9999]
Invalid mnemonic specified
BIT (ST1,#ST1_INTM) = #1 ;====> CODE AUTO-GENERATED by CSL

"C:\Users\admin\AppData\Local\Temp\0850410", ERROR! at line 1632:
[E9999]
Invalid mnemonic specified
BIT (ST1,#ST1_INTM) = #1 ;====> CODE AUTO-GENERATED by CSL

"C:\Users\admin\AppData\Local\Temp\0850410", ERROR! at line 1691:
[E9999]
Syntax Error
BIT (ST1,#ST1_INTM) = #0 ;====> CODE AUTO-GENERATED by CSL

"C:\Users\admin\AppData\Local\Temp\0850410", ERROR! at line 1691:
[E9999]
Invalid instructionsyntax, Xmem or Ymem expected
BIT (ST1,#ST1_INTM) = #0 ;====> CODE AUTO-GENERATED by CSL

"C:\Users\admin\AppData\Local\Temp\0850410", ERROR! at line 1691:
[E9999]
Invalid mnemonic specified
BIT (ST1,#ST1_INTM) = #0 ;====> CODE AUTO-GENERATED by CSL

"C:\Users\admin\AppData\Local\Temp\0850410", ERROR! at line 1691:
[E9999]
Invalid mnemonic specified
BIT (ST1,#ST1_INTM) = #0 ;====> CODE AUTO-GENERATED by CSL

"C:\Users\admin\AppData\Local\Temp\0850410", ERROR! at line 1753:
[E9999]
Syntax Error
BIT (ST1,#ST1_INTM) = #0 ;====> CODE AUTO-GENERATED by CSL

"C:\Users\admin\AppData\Local\Temp\0850410", ERROR! at line 1753:
[E9999]
Invalid instructionsyntax, Xmem or Ymem expected
BIT (ST1,#ST1_INTM) = #0 ;====> CODE AUTO-GENERATED by CSL

"C:\Users\admin\AppData\Local\Temp\0850410", ERROR! at line 1753:
[E9999]
Invalid mnemonic specified
BIT (ST1,#ST1_INTM) = #0 ;====> CODE AUTO-GENERATED by CSL

"C:\Users\admin\AppData\Local\Temp\0850410", ERROR! at line 1753:
[E9999]
Invalid mnemonic specified
BIT (ST1,#ST1_INTM) = #0 ;====> CODE AUTO-GENERATED by CSL

"C:\Users\admin\AppData\Local\Temp\0850410", ERROR! at line 1760:
[E9999]
Syntax Error
BIT (ST1,#ST1_INTM) = #1 ;====> CODE AUTO-GENERATED by CSL

"C:\Users\admin\AppData\Local\Temp\0850410", ERROR! at line 1760:
[E9999]
Invalid instructionsyntax, Xmem or Ymem expected
BIT (ST1,#ST1_INTM) = #1 ;====> CODE AUTO-GENERATED by CSL

"C:\Users\admin\AppData\Local\Temp\0850410", ERROR! at line 1760:
[E9999]
Invalid mnemonic specified
BIT (ST1,#ST1_INTM) = #1 ;====> CODE AUTO-GENERATED by CSL

"C:\Users\admin\AppData\Local\Temp\0850410", ERROR! at line 1760:
[E9999]
Invalid mnemonic specified
BIT (ST1,#ST1_INTM) = #1 ;====> CODE AUTO-GENERATED by CSL

16 Assembly Errors, No Assembly Warnings

Errors in Source - Assembler Aborted

>> Compilation failure

>> Compilation failure
gmake: *** [csl_intc.obj] Error 1
gmake: Target `all' not remade because of errors.

这个是什么问题啊?我csl_intc.c文件也加载进来了!