记录CCS中遇到的错误

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/Mr_zhuo_/article/details/88852955

1. ICEPICK_C: Error connecting to the target:

(Error -180 @ 0xFFFFFF4C) The controller has detected a target power loss.

The user must turn-on or connect the power supply for the target. (Emulation package 5.1.232.0) 

说明仿真器驱动出现问题

【解决办法】:重新安装一下XDS560仿真器的驱动程序。然后计算机重新启动即可。

2.  could not open source file "interrupt.h"    main.c    /FaceDetect    line 28    C/C++ Problem

【解决办法】:(以下针对CCS 5.5,其他版本可能不适用)

1)、右键工程名字,选择Properties。(或者左键单击选中工程,按Alt+Enter)

2)、选择Build->C6000 Compiler->Include Options,选择相应的头文件目录   注意:../include为include的上级目录

3)、选择Build->C6000 Linker->File Search Path, 选择相应的库文件目录

怎么添加头文件?Library Filers的作用
Rst.lib:C语言实时运行支持库,建立C运行环境,由_c_int00主要完成设置堆栈指针、初始化全局变量、调用main()
Csl.lib:芯片支持库,实现片内外设的操作
DSPLIB/IMGLIB:信号处理库,利用针对不同DSP的优化的函数进行数学运算
通用的视/音LIB:例如263、264、jpeg、G.7XX、mp3、wmv。。。
其他自己封装的LIB:例如bsl.lib(board source library),对DSP系统板上资源的操作。

《CCS中各个项目文件的作用》https://blog.csdn.net/wordwarwordwar/article/details/83445444

 

猜你喜欢

转载自blog.csdn.net/Mr_zhuo_/article/details/88852955
CCS