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.
比如程序涉及到的变量和数组 都定义在 共享RAM RAMGS0~ RAMGS1 (ownership分别为cpu1 和 cpu2 ) 以及CPU1 TO CPU2 和 CPU2 TO CPU1 中
那么 如果脱机跑的时候 需不需要修改CMD文件
需不需要 把 RUN = RAMLS0 | RAMLS1 | RAMLS2 |RAMLS3, 修改到共享RAM ????
我认为不需要。
首先要区别一些概念:
ramfuncs中的函数一般是本CPU中需要加载在RAM中运行的函数,如Initflash或是一些运算速度要求加载的算法或是中断函数。
而共享数据,如CPU1和CPU2进行通信交流的数据,一般是变量,只要把变量映射到该共享区间即可,注意一下,CPU1 owner的话,那么CPU1可写可读,CPU2只能读,反之亦然。
关于共享数据的交互,可以参考历程:
C:\ti\controlSUITE\device_support\F2837xD\v190\F2837xD_examples_Dual\RAM_management
ERIC