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.
问题描述:1:我利用TI的CLB空例程实现了一个功能,想要将这个功能移植到我项目工程中,但是我还没有好的方法实现这一想法,所以请求帮助。
自己尝试:我有根据咱们的CLB工具用户指南中的“在现有DriverLib 项目中启用CLB 工具”例子尝试导入,但是导入之后有很多报错。
我是按照CLB Tool User's Guide (Rev. A) (ti.com)中的6 Enabling CLB Tool In Existing DriverLib Projects进行配置的,最后还是出现报错,目前我认为是和导入syscfg文件有关。希望得到帮助
这里是Console中显示的内容
**** Build of configuration Debug for project ES3-10BAI-DSP-2112-DSP28003x_V403 ****
"C:\\ti\\ccs1110\\ccs\\utils\\bin\\gmake" -k -j 8 all -O
Building file: "../ES3_xxBAI_28003x_CCS11_1.syscfg"
Invoking: SysConfig
"C:/ti/ccs1110/ccs/utils/sysconfig_1.11.0/sysconfig_cli.bat" -s "C:/ti/c2000/C2000Ware_4_01_00_00/utilities/clb_tool/clb_syscfg/.metadata/product.json" --script "D:/Project/ES3/Program/ES3-TI2000Software/ES3-10BAI-DSP-2112-DSP28003x_V403/ES3_xxBAI_28003x_CCS11_1.syscfg" -o "syscfg" --compiler ccs
Usage:
cli [-o <dir>] [-s <file>] [-u <string>] [-b <name>] [-d <name>] [-p <name>] [-r <name>] [--treatWarningsAsErrors] <script>
cli --help
cli --version
example: cli -s meta_data/sdk.json -d MSP432P401R scripts/two_uarts.js
example: -s sdk.json -d MSP432P401R -o ./display_cfg sdk/cfgs/display.syscfg
Note that the all arguments other than '--help' and '--version' may also be
specified via the script with an embedded @cliArgs comment directive.
E.g. // @cliArgs -d MSP432P401R
If an argument is embedded in a script and explicitly specified via the CLI
then precedence is given to the CLI arguments. Additionally, specifying
"--board" or "--device" on the CLI will override any "--board" and "--device"
arguments specified in the script.
subdir_rules.mk:9: recipe for target 'build-1438522961' failed
Missing argument: --board or --device must be specified
gmake: *** [build-1438522961] Error 1
gmake: Target 'all' not remade because of errors.
**** Build Finished ***
出现这个问题的原因,我找到了,是因为我在复制到pust_build中时,把地5条画圈的地方,中间应该有个空格,我把两句话中的空格弄丢了,报错的。
然后我,编译出现了SVG文件和HTML文件,但是simulation文件不正常,没有VCD文件出现
帮助一下,已经能看到胜利的曙光了!!如何找到VCD文件
上面找不到VCD文件,我重新clean project和pust_build重新写入编译之后,正常了。
但是有一点我还有疑问,为什么syscfg文件夹中没有board.c文件?我已经对syscfg文件进行编写,并没有board.c文件的产生
我用syscfg tool配置的ssyscfg文件,可以看到有board.c文件生成的,但是在项目工程中导入syscfg文件之后,是没有board.c文件生成的。
所以我把syscfg tool中生成的board.c文件手动加入到工程之中了。我不知道这样做是否合法?
你好!有仔细查找,我去工程所在的文件夹下搜索的该文件,并没有搜索到,所以我选择了自己手动添加!目前工程编译没有报错了,但是出现一个很费解的问题,就是,我编辑syscfg文件之后,然后编译,SVG文件能够跟随改变,但是VCD仿真文件在波形查看时,发现相应的端口并没有发生改变(同时我测量了硬件的端口输出发现是有正确的波形输出的),
请问你知道是什么导致了VCD文件这样吗?
如图,我设置的仿真时钟是100ns,但是仿真出来的是10ns,