Hi,
I want to use single application image for all the 8 cores but because i want to debug the code i need to use the Multiple image method (the image is duplicate in the memory). I can't place all the code and data in L2 because it is too big so i must use the DDR.
The simple way is to generate 8 platform settings and define in each platform the DDR base address and length so there won't be memory overlapping between the cores - the disadvantage of this approach is the needs for 8 different platform files.
I want to use a single cfg with single platform file for all the cores and define in the cfg file the DDR base address and length as dependence of the active core.
For example, if want that each core will use 10MB of DDR (without overlap among the cores) i will use in the cfg file something like this:
var currentExternalMemory = new platform.Memory
currentExternalMemory.base = 0x80000000 + 0x00A00000 * DNUM
currentExternalMemory.len = 0xa00000
Can i do that thing? How?