Part Number:AM5728
AM5728 如何扩充堆内存,堆内存只能地址只能3M
var evmDRA7XX_ExtMemMapDsp = {
EXT_CODE: {
name: "EXT_CODE",
base: 0x95000000,
len: 0x00100000,
space: "code",
access: "RWX"
},
EXT_DATA: {
name: "EXT_DATA",
base: 0x95100000,
len: 0x00100000,
space: "data",
access: "RW"
},
EXT_HEAP: {
name: "EXT_HEAP",
base: 0x95200000,
len: 0x00300000,
space: "data",
access: "RW"
},
TRACE_BUF: {
name: "TRACE_BUF",
base: 0x9F000000,
len: 0x00060000,
space: "data",
access: "RW"
},
EXC_DATA: {
name: "EXC_DATA",
base: 0x9F060000,
len: 0x00010000,
space: "data",
access: "RW"
},
PM_DATA: {
name: "PM_DATA",
base: 0x9F070000,
len: 0x00020000,
space: "data",
access: "RWX" /* should this have execute perm? */
},
};
Nancy Wang:
参考以下帖子看一下是否有帮助:
e2e.ti.com/…/am5726-dsp-ext_heap-section-size
,
xu zhengzheng:
谢谢,但是我的主要问题是,buffer开辟不了更大的,目前配置文件我只能在堆上申请2M内存,如果再大点就导致IPC起不来
,
Nancy Wang:
是不是有可能CMA pool中的分配的空间不够大,参考以下链接看一下。
www.ti.com/…/sprac60.pdf
https://e2e.ti.com/support/processors-group/processors/f/processors-forum/839462/tmdxidk5718-ipc-questions
https://e2echina.ti.com/support/processors/f/processors-forum/191543/am5708-1g-ddr-arm-dsp1-ddr-dsp1-500m-arm-500m-ipu
,
xu zhengzheng:
好的,谢谢!还有个疑问。就是资源中 rsc_table_vayu_dsp.h定义了地址的宏,但是对于堆内存定义了两个宏 #define DSP_MEM_HEAP0 0x95200000#define DSP_MEM_HEAP1 0x95300000 ;heap0和heap1是做什么用的
,
Nancy Wang:
请问是看的ipc_3_50_03_05\packages\ti\ipc\remoteproc\rsc_table_vayu_dsp.h中的定义吗?
我的文件中只有 #define DSP_MEM_HEAP 0x95200000