In my application i dont have enough memory in MSMC and L2 RAM, so can i place some of the memory sections required to be used by NDK in DDR Memory. Im posting the configuration file contents for NDK working, please let me know if some sections can be moved into DDR memory. Pls guide
Can we change :
Program.sectMap[".far:IMAGEDATA"] = {loadSegment: "LL2RAM", loadAlign: 8};
Program.sectMap[".far:NDK_OBJMEM"] = {loadSegment: "LL2RAM", loadAlign: 8};
Program.sectMap[".far:NDK_PACKETMEM"] = {loadSegment: "LL2RAM", loadAlign: 128};
To:
Program.sectMap[".far:IMAGEDATA"] = {loadSegment: "DDR3", loadAlign: 8};
Program.sectMap[".far:NDK_OBJMEM"] = {loadSegment: "DDR3", loadAlign: 8};
Program.sectMap[".far:NDK_PACKETMEM"] = {loadSegment: "DDR3", loadAlign: 128};
What all memory sections can we change below to "DDR3" for successful running of the NDK EMAC:
Program.sectMap[".vecs"] = "LL2RAM";
Program.sectMap["emacComm"] = "SL2RAM";
Program.sectMap["systemHeap"] = "LL2RAM";
Program.sectMap[".switch"] = "SL2RAM";
Program.sectMap[".sysmem"] = "DDR2";
Program.sectMap[".args"] = "DDR2";
Program.sectMap[".cio"] = "LL2RAM";
Program.sectMap[".far"] = "LL2RAM";
Program.sectMap[".cinit"] = "SL2RAM";
Program.sectMap[".bss"] = "LL2RAM";
Program.sectMap[".const"] = "SL2RAM";
Program.sectMap[".text"] = "SL2RAM";
Program.sectMap[".code"] = "SL2RAM";
Program.sectMap[".data"] = "DDR2";
Program.sectMap[".taskStackSection"] = "LL2RAM";
Program.sectMap[".stack"] = "LL2RAM";