I have found lots of information on adding Memory Sections to a xconfig file, but am having a hard time understanding how to add a new Memory Map.
I have some external devices that I would like to define and some internal registers so that I can use DATA_SECTIONS pragma to assign variables to them.
I tired to use the GUI to add a Program/Memory Sectuion Placement and add a "Avilable Memory Segments, it created the following code that produces the following error: "Cannot set property "base" of undefined to "167721600".
Thanks,
var execontextInstance0 = xdc.lookup('xdc.platform.ExeContext.Instance#0');
execontextInstance0.memoryMap["ms_1553_ram"].base = 0x64000000;
execontextInstance0.memoryMap["ms_1553_ram"].len = 0x00020000;
execontextInstance0.memoryMap["ms_1553_ram"].access = "RW";
execontextInstance0.memoryMap["ms_1553_ram"].name = "ms_1553_ram";