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.

求助:本地内存、共享内存、SharedRegion,MSMC关系问题



刚入手6678,菜鸟一枚,希望各位大佬们不吝赐教!

芯片手册上说,每个核都有一个512K自己的L2 SDRAM,所有核又有一个4M的MSMC SDRAM,其中MSMC可以配置成LL2。

All cores have full acess to the device memory map,this means that any core can read from or write to any memory。

那么,1.数据传递的时候,是否可以用EDMA直接把CORE0 L2SDRAM里的数直接传给CORE1呢?也不一定去自己定义一个专门的SharedMemory吧?

2.IPC模式下,SharedRegion和SharedMemory有什么不同呢?手册上说T SharedRegion module itself dose not use any shared memory,because all of its state is stored locally。这句话是什么具体含义呢?

3.地址转换为题,如果我都使用全局地址的话,是不是就不用进行地址转换了?

提前谢过各位啦!!!

  • 1. 可以用edma直接把core0 l2里的数据直接传给core1,不需要定义专门的sharedmemory。

    2. SharedRegion是BIOS中IPC 的模块每个核都有一个lookup table 去映射到共享的内存区域,shared memory是物理memory。可以看一下下面的文档。
    http://processors.wiki.ti.com/images/6/69/IPC_Training_2_21.pdf

    3. 跟是不是全局地址没有关系,SharedRegion地址转换是想通过映射不同的核使用不同的虚拟地址(核0使用0x80000000,  核1使用0x90000000),使各个核的虚拟地址空间完全独立。