新手,在DM6467上移植CODEC_ENGINE。
server.tcf文件里的:
DSKT2.DARAM0 = "IRAM";
DSKT2.DARAM1 = "IRAM";
DSKT2.DARAM2 = "IRAM";
DSKT2.SARAM0 = "IRAM";
DSKT2.SARAM1 = "IRAM";
DSKT2.SARAM2 = "IRAM";
DSKT2.ESDATA = "DDRALGHEAP";
IRAM空间在哪? 看遍了server文件夹也没发现…..
然后我看一个历程上DSKT2.DARAM0 = "L1DHEAP";
DSKT2.DARAM1 = "L1DHEAP";
DSKT2.DARAM2 = "L1DHEAP";
DSKT2.SARAM0 = "L1DHEAP";
DSKT2.SARAM1 = "L1DHEAP";
DSKT2.SARAM2 = "L1DHEAP";
我把server里的IRAM 也给改成了L1DHEAP或者 L2DHEAP,则编译不通过 提示没有这个段,如何分配呢?
DSKT2分配的SARAM DARAM分配在哪? 大小受什么限制? IRAM?
DSKT2.ALLOW_EXTERNAL_SCRATCH = false;
DSKT2.SARAM_SCRATCH_SIZES[GROUP_0] = 65536;
DSKT2.SARAM_SCRATCH_SIZES[GROUP_1] = 0;
DSKT2.DARAM_SCRATCH_SIZES[GROUP_0] = 65536;
DSKT2.DARAM_SCRATCH_SIZES[GROUP_1] = 0;
跪求指导 困惑死了…….
Chris Meng:
你好,
DSP的L1/L2是可以配置为RAM或者cache,如果全部配置为Cache你就不可以使用。
如何配置L1/L2 RAM,请参考:http://processors.wiki.ti.com/index.php/Configuring_Codec_Engine_in_Arm_apps_with_createFromServer#Adding_a_memory_segment_when_using_createFromServer.28.29_.28for_advanced_users.29。