I have a sample project that I am working on that was fitting nicely in the internal RAM but has grown. There is external RAM on board so I copied code from an example to setup the XINTF. I have the pins correct. I have DSP Bios enabled and setup zones 6 and 7 in the tcf file. The code compiles but on download to the target I get:
"Error found during data verification. Ensure the linker command file matches the memory map."
I cannot find anything in the cmd file, mine or from the example , that indicates anything about the external RAM. I know that there must be something I am overlooking but cannot seem to fins it. Any help is appreciated.
This is what was added to the tcf file:
bios.MEM.create("ZONE6");
bios.MEM.instance("ZONE6").base = 0x100000;
bios.MEM.instance("ZONE6").len = 0x100000;
bios.MEM.instance("ZONE6").space = "code/data";
bios.MEM.TEXTSEG = prog.get("ZONE6");
bios.MEM.EBSSSEG = prog.get("ZONE6");
bios.MEM.create("ZONE7");
bios.MEM.instance("ZONE7").comment = "This object defines space for the DSP's off-chip memory";
bios.MEM.instance("ZONE7").len = 0x100000;
bios.MEM.instance("ZONE7").space = "code/data";
bios.MEM.instance("ZONE7").base = 0x200000;
The XINTF is setup for 32 bit access. Let me know if there is any additional information that would be useful.