Hi,everyone: I have place .sysmem and .stack section into SBARAM.The program runs successfully. As soon as I place .stack section before the .sysmem section in *.cmd file,I get wrong result when call function.I get wrong result when I place .stack into internal data memmory. Why! Are there some links between .sysmem and .stack?Why cannot put .stack and .sysmem sections into different memmory? My *.cmd file is like this: .sysmem:{} > SBSRAM .stack: {} > SBSRAM I have to put .sysmem section into externel RAM because it's too large to into internal memmory.But I want to place .stack section into internal program. Any suggestion is welcom! |
question about .stack section
Started by ●October 8, 2001