I'm running through the TI-RTOS examples using SYS/BIOS, and I completed Lab 5, which programmed the HWI. The program compiles, loads and operates perfectly. As part of the follow-on, I programmed Lab 5 using the Timer instead of the HWI. When I went to compile, I received the #10099-D Error stating that .ebss wouldn't fit into my available memory. I've run into this issue earlier in the labs, and I modified my F28335.cmd file (I'm using a different hardware platform than the labs, which has a F28335 on it). I've stuck a condensed version of the F28335.cmd file below, the "..." on some lines are so I don't have to show everything that is in the file.
Memory
{
PAGE 0:
...
...
Page 1:
...
RAML4 : origin = 0x00C000, length 0x001000
RAML5 : origin = 0x00D000, length 0x001000
RAML6 : origin = 0x00E000, length 0x001000
RAML7 : origin = 0x00F000, length 0x001000
...
}
SECTIONS
{
...
.ebss : >> RAML4 | RAML5 | RAML6 | RAML7 PAGE=1
...
}
I tried to do the follow-on lab between Lab 5 and Lab 6, which removes the HWI and uses TIMER instead. When I do the follow-on lab between Lab 5 and Lab 6 for the Timer, the program magically can't fit into the memory anymore and I get the #10099-D error stating that the program won't fit into available memory. On the suggestion of a separate post (https://e2e.ti.com/support/microcontrollers/c2000/f/171/t/204880), I again modified my F28335.cmd file in the following way, which allows the program to compile. Any suggestions as to WHY? Shouldn't the ".ebss : >> RAML4 | RAML5 | RAML6 | RAML7" and ".ebss : > RAML47" do the same thing as RAML47 is defined as RAML4 | RAML5 | RAML6 | RAML7?
Memory
{
PAGE 0:
...
...
Page 1:
...
RAML47: origin = 0x00C000, length 0x004000
...
}
SECTIONS
{
...
.ebss : > RAML47 PAGE=1
...
}