Hi, I am using TMS320C6x EVM (C6200) and CCS version 1.0. In my application I am using DSP/BIOS to generate linker command file. All the source files are compiled without errors individually. But when I build the project, I get the 2 following errors. (1)cannot allocate .text in IPRAM (page 0) (2)errors in input - TurboEncoder.out not built One of the way to rectify the problem which I thought was as follows: Go to the memory section manager in the Configuration Tool. Right click and go to properties. There change IPRAM to SBSRAM or SDRAM for ".text" section. But when I do the above thing and build it again, I get 7 errors. These 7 errors mention "PC Relative Displacement overflow. Located in rtdx ...." Can anyone help me to solve the above problem? Is the problem due to using CCS Version 1.0 ? Another question: Do I have to pay the entire amount to buy the latest version of CCS? or Do I have to pay only the upgradation cost to get the latest version of CCS? Regards, Rajagopalan. |
|
Memory allocation for ".text" section
Started by ●June 18, 2002
Reply by ●June 18, 20022002-06-18
rajagopalan ramamoorthy wrote: > Hi, > > I am using TMS320C6x EVM (C6200) and CCS version 1.0. > > In my application I am using DSP/BIOS to generate linker command > file. > > All the source files are compiled without errors individually. > > But when I build the project, I get the 2 following errors. > > (1)cannot allocate .text in IPRAM (page 0) > (2)errors in input - TurboEncoder.out not built > > One of the way to rectify the problem which I thought was as > follows: > > Go to the memory section manager in the Configuration Tool. > Right click and go to properties. > There change IPRAM to SBSRAM or SDRAM for ".text" section. > You are moving your code from fast internal ram to much slower external ram. Consider enabling the cache. > > But when I do the above thing and build it again, I get 7 > errors. > These 7 errors mention "PC Relative Displacement overflow. Located > in rtdx ...." > > Can anyone help me to solve the above problem? > Some code, the rtdx lib, is still in IPRAM. It was not moved since the rtdx code is not in .text but in .rtdx section. In the default small memory model there are limitations on how "long" a jump from one part of your code to another can be. The "distance" (address space wise) from IPRAM to SDRAM is to long. Either move the .rtdx section to SDRAM also or use a different memory model. > > Is the problem due to using CCS Version 1.0 ? > Nope. /Regards, P Ligander |