在运行profibus-master的样例过程中,出现了错误,报错现象如下:
No source available for "do_AngelSWI(int, void *) [D:/TI\sysbios_ind_sdk_02.01.03.02\sdk\examples\profibus_master\am335x_debug\profibus_master.out] at 0x8004a81c"
但编译时没有错误
不知道问题在哪里?
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.
你的错误提示只是表示没有找到关联上相关的源码文件,但是应该是可以正常跑的,这之后,点击run,跑起来会有问题吗?
继续跑时,又出现了如下的报错信息
Can't find a source file at "/db/ztree/library/trees/xdctargets/xdctargets-k09/src/gnu/targets/arm/rtsv7A/syscalls.c"
Locate the file or edit the source lookup path to include its location.
还是只是提示找不到源文件,这个例程是不是从TI的官网上下的?有确认过,里面的software requirement中的所有组件都被安装了吗?安的一定要是对应的版本。
是的,是从TI官网上下的。使用的CCS6.1.3。
一开始编译有错,提示没有安装了sys_6_42_02_29。安装后编译通过。之后运行就出现了前述错误。
还需要哪些组件?
在release note里有软件版本要求。
http://processors.wiki.ti.com/index.php/SYSBIOS_Industrial_SDK_02.01.03_Release_Notes#Device_Support
现在已经将CCS从6.1.3改成了6.1.2.00015,Compiler Version设置成:GNU v4.8.4。SYS/BIOSb保持为:6.45.1.29后,运行profibus-master时,出现以下错误:
Can't find a source file at "/db/ztree/library/trees/xdctargets/xdctargets-k09/src/gnu/targets/arm/rtsv7A/syscalls.c"
Locate the file or edit the source lookup path to include its location.
再次运行,还是相同的问题,不知还需要哪些地方的确认?
一般release notes中都描述的是当前已经验证的稳定版本,建议你还是升级成推荐的版本,毕竟你用的版本是旧的。
profibus-master应用程序与上位机的UART是USB JTAG吗?若是的话,那个UART是uart0还是uart3?
我修改了starterware/utils/console_utils_uart.c中的一条语句,随后我在对utils工程进行了编译,再对profibus-master进行了编译。
但是在对profibus-master进行跟踪时,发现执行到starterware/utils/console_utils_uart.c中的修改处,发现还是修改之前的代码,正确编译顺序应该如何进行?