Hi
The query regarding the Memory Management. I am in the process of migrating a DSP/BIOS project to Sys/BIOS.
I have converted the tcf to cfg.
The Memory Manager page of the tcf is as follows:
The corresponding version generated in cfg is:
Program.sectMap[".stack"] = new Program.SectionSpec()
Program.sectMap[".stack"] = "DDR";
Program.sectMap[".far"] = new Program.SectionSpec()
Program.sectMap[".far"] = "DDR";
Program.sectMap[".bss"] = new Program.SectionSpec()
Program.sectMap[".bss"] = "DDR";
Program.sectMap[".args"] = new Program.SectionSpec()
Program.sectMap[".args"] = "DDR";
Program.sectMap[".text"] = new Program.SectionSpec()
Program.sectMap[".text"].runSegment = "DDR";
Program.sectMap[".text"].loadSegment = "DDR";
Program.sectMap[".switch"] = new Program.SectionSpec()
Program.sectMap[".switch"].runSegment = "DDR";
Program.sectMap[".switch"].loadSegment = "DDR";
Program.sectMap[".cinit"] = new Program.SectionSpec()
Program.sectMap[".cinit"].runSegment = "DDR";
Program.sectMap[".cinit"].loadSegment = "DDR";
Program.sectMap[".pinit"] = new Program.SectionSpec()
Program.sectMap[".pinit"].runSegment = "DDR";
Program.sectMap[".pinit"].loadSegment = "DDR";
Program.sectMap[".const"] = new Program.SectionSpec()
Program.sectMap[".const"].runSegment = "DDR";
Program.sectMap[".const"].loadSegment = "DDR";
Program.sectMap[".data"] = new Program.SectionSpec()
Program.sectMap[".data"] = "DDR";
Program.sectMap[".cio"] = new Program.SectionSpec()
Program.sectMap[".cio"] = "DDR";
The question is, in the tcf we see Text Section (.text) --> DDR, Load Address - Text Section (.text) --> IRAM.
The converted cfg shows
Program.sectMap[".text"].runSegment = "DDR";
Program.sectMap[".text"].loadSegment = "DDR";
Is the above an equivalent conversion?
We can see similar observations for other sections like .switch, .cinit, etc.
Besides this, sections like .sysinit do not exist in the converted cfg.
Please suggest.
-Dushyant