我在做EDMA数据搬移时,定义了一个hEdma全局变量,每次运行到sys/Bios系统启动,进入任务时,hEdma变量就会改变。请问这是我创建任务的问题吗?
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.
我在做EDMA数据搬移时,定义了一个hEdma全局变量,每次运行到sys/Bios系统启动,进入任务时,hEdma变量就会改变。请问这是我创建任务的问题吗?
应该不是创建任务的问题,是不是存在内存溢出导致变量被篡改,加大堆栈试一下,该问题只能简化程序自己调试看一下了。
借助ROV工具对比看一下task是否能看出异常。
https://software-dl.ti.com/ccs/esd/documents/rov_guide/html/src/rov.html