CCS3.3 OMPAL138
我在VS2010写的图像处理的程序,里面的图片比较大,有一些函数是逐个对像素点处理,所以用new int 开辟了很多数组,在VS里面是可以正常运行的。 但是到CCS里面后,运行到一些函数时,有的数组不能正常赋值,在watch window里面看到说memory map prevented read of target memory at****,这是怎么回事啊? 需要改什么呢? 求帮助!
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.
CCS3.3 OMPAL138
我在VS2010写的图像处理的程序,里面的图片比较大,有一些函数是逐个对像素点处理,所以用new int 开辟了很多数组,在VS里面是可以正常运行的。 但是到CCS里面后,运行到一些函数时,有的数组不能正常赋值,在watch window里面看到说memory map prevented read of target memory at****,这是怎么回事啊? 需要改什么呢? 求帮助!
这里出现问题的变量如rea是局部变量还是全局变量,如果是局部变量在退出所在的函数后会找不到的,如果是全局变量,你先查看一下全局变量的地址,然后试试在CCS的memory窗口中能否直接显示这个输入的地址。