Hi,
I am using a linker command file that was used for c6678 DSPs (KSI, I guess). The memory attribute is shown below:
15 -stack 0x2000
16 -heap 0x8000
17
18 MEMORY
19 {
20 LOCAL_L2_SRAM: origin = 0x00800000 length = 0x00080000 /* 512kB LOCAL L2/SRAM */
21 LOCAL_L1P_SRAM: origin = 0x00E00000 length = 0x00008000 /* 32kB LOCAL L1P/SRAM */
22 LOCAL_L1D_SRAM: origin = 0x00F00000 length = 0x00008000 /* 32kB LOCAL L1D/SRAM */
23 SHRAM: origin = 0x0C000000 length = 0x00400000 /* 4MB Multicore shared Memmory */
24
25 EMIF16_CS2: origin = 0x70000000 length = 0x04000000 /* 64MB EMIF16 CS2 Data Memory */
26 EMIF16_CS3: origin = 0x74000000 length = 0x04000000 /* 64MB EMIF16 CS3 Data Memory */
27 EMIF16_CS4: origin = 0x78000000 length = 0x04000000 /* 64MB EMIF16 CS4 Data Memory */
28 EMIF16_CS5: origin = 0x7C000000 length = 0x04000000 /* 64MB EMIF16 CS5 Data Memory */
29
30 DDR3: origin = 0x80000000 length = 0x20000000 /* 2GB CE0 and CE1 external DDR3 SDRAM */
31 }
For it to be used on KeyStone II DSPs, I noticed that this configuration used only for a portion of the L2 and MSMC, etc. which should be OK. But I am wondering if the starting address of each memory on KS I is the same as on KS II? Do you have a specific linker command file which is used for KS II?
Thanks
Cheng