作者在 2008-11-09 00:21:20 发布以下内容
VDSP5.0查看共享内存变量时出现一个BUG(已证实)
VDSP5.0双核工程下sml3中的变量查看问题
我的BF561的工程在VDSP4.5(update_6)下能正常运行,但是升级到VDSP5.0(updata3)后就不行了,板子是优视的BF561的开发板,仿真器为原厂HPUSBICE。
尝试使用VDSP5的双核单应用方式建造一个最简单的双核工程(5个工程的工程组那种),发现相同的函数,如果实现部分放在A或B核中则没有问题,如果放在SML3中并单步调试,会发现虽然可以正常运行,但是无法实时得知其中变量的值(无论是通过鼠标直接观测还是通过Expression窗口)。
咨询ADI官方的技术支持,他们的回信证明该问题是一个VDSP5.0自身的一个Bug,回信如下:
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Hi,
Thank you for the concise example demonstrating the problem. The issue you are encountering is indeed a bug, resulting in the inability to view variables in shared memory. The only options for being able to view the value of these local variables are to move the function into CoreA , or make use of global variables when a function is located in shared memory. This issue is due to be resolved in the next update to VisualDSP++ 5.0, due later this year.
We apologise for the inconvenience this issue has caused.
Regards,
Processor Tools Support