Tool/software: TI-RTOS
I get a example project from locale FAE, and the Memory Map of it confuse me.
As told in this file:http://processors.wiki.ti.com/index.php/Linux_IPC_on_AM57xx?keyMatch=am57xx%20ipc&tisearch=Search-EN-Everything#Changing_the_DSP_Memory_Map
"The physical location where the DSP code/data will actually reside is defined by the CMA carveout" and CMA of DSP1 located at 0X9900000.
But , the example given out later set DSP_MEM_TEXT to 0X95000000
in rsc_table_vayu_dsp.c, it define memory:
#define DSP_MEM_TEXT 0x95000000
/* Co-locate alongside TILER region for easier flushing */
#define DSP_MEM_IOBUFS 0x80000000
#define DSP_MEM_DATA 0x95100000
#define DSP_MEM_HEAP 0x95600000
why?
And CMA of IPU2 is 0x95800000, only 8 MByte is left for Dsp1 TEXT and Data?
I try to change this file and the BLD file , to point DSP_MEM_TEXT to 0X99000000. Project pass the compile ,but error when download to DSP in debug
C66xx_DSP1: File Loader: Verification failed: Values at address 0x997A2811 do not match Please verify target memory and memory map.
C66xx_DSP1: GEL: File: E:/AM5728\ivt5728_dsp_with_ipc\Debug\ivt5728_dsp_with_ipc.out: a data verification error occurred, file load failed.
I want to use the hole CMA area of DSP1 that start from 0X9900000, define a 16M memory for code and 32m for data. What should I do ?