软件工具:CCS5.4
使用vlib库:vlib 3.0.0.7
问题:
使用CCS直接打开vlib***/packages\ti\vlib\src\VLIB_Canny_Edge_Detection\c64P下的ccs工程, 添加ccxml文件后直接编译运行,程序通过没问题,但是我需要处理的图像分辨率为352*288,故我将程序里的width和height分别修改成了352和288,执行VLIB_Canny_Edge_Detection函数时,出现了以下错误信息:
TMS320C64X+_0: Error: Illegal opcode (05530000) at pc = 0x80322ef0 Illegal opcode at pc = 0x80322ef0 Illegal opcode (05cb0000) at pc = 0x80322f18 Illegal opcode at pc = 0x80322f18 Illegal opcode (081b0000) at pc = 0x80322f44 Illegal opcode at pc = 0x80322f44 Illegal opcode (061b0000) at pc = 0x80322f54 Illegal opcode at pc = 0x80322f54 Illegal opcode (041f0000) at pc = 0x80322f5c Illegal opcode at pc = 0x80322f5c Illegal opcode (05220000) at pc = 0x80322f8c Illegal opcode at pc = 0x80322f8c Illegal opcode (02120000) at pc = 0x80322f94 Illegal opcode at pc = 0x80322f94 Illegal opcode (011a0000) at pc = 0x80322fa0 Illegal opcode at pc = 0x80322fa0 Illegal opcode (059e0000) at pc = 0x80322fb4 Illegal opcode at pc = 0x80322fb4 Illegal opcode (02420000) at pc = 0x80322fb8 Illegal opcode at pc = 0x80322fb8 Illegal opcode (06460000) at pc = 0x80322fc0 Illegal opcode at pc = 0x80322fc0 Illegal opcode (03260000) at pc = 0x80322fd0 Illegal opcode at pc = 0x80322fd0 Illegal opcode (06c20000) at pc = 0x80322fe0
,我尝试过以下分辨率,均能正常运行:400x400,352x255,150x200,100x100x64x64,32x32;
在函数中,VLIB_Canny_Edge_Detection函数的参数及对应内存地址如下:
另外,在vlib3.2.0.2版本中,我进行同样的修改(将图像分辨率修改为352x288),程序能正常运行,请问这是3.0.0.7版本的一个bug吗?
以下是VLIB_Canny_Edge_Detection函数的相关说明内容:


