Sign in

username:

password:



Not a member?

Search code-comp



Search tips

Subscribe to code-comp



code-comp by Keywords

ARM7 | BIOS | Bug | EVM | JTAG | Linker | LOG_printf | McBSP | Profiling | Relocation | RTDX | Simulator | Target | Watch


Discussion Groups

See Also

Embedded SystemsFPGAElectronics

Discussion Groups | Code-Composer | editing linker file .cmd - file

Technical discussions about Code Composer Studio.

  

Post a new Thread

editing linker file .cmd - file - markan_b - Nov 4 16:08:00 2002

I am working with CCS2.10 and c6711dsk

I have a with creating two buffers each of 8192 bytes in Internal
memory (IRAM)-->I always get linking problem such like:
error: relocation overflow occured at address e.g. 0x00000430 in
section '.text'

Is it possible to create these buffers in IRAM and if so, can
somebody tell me how to edit the linker file...or how can I force
creating these buffers in SDRAM...???

Is there any tutorial describing how to edit linker files ...??? At the bottom of this mail, you can see my .cmd-File ......

It is very important for me ...

Thank you in advance,
Marko Babic //**************************************************************
/*C6xdsk.cmd Generic Linker command file*/

MEMORY
{
VECS: org = 0h, len = 0x220
IRAM: org = 0x00000220, len = 0x0000FDC0 /*internal memory*/
SDRAM: org = 0x80000000, len = 0x01000000 /*external memory*/
FLASH: org = 0x90000000, len = 0x00020000 /*flash memory*/
}

SECTIONS
{
vectors :> VECS
.text :> IRAM
.bss :> IRAM
.cinit :> IRAM
.stack :> IRAM
.sysmem :> SDRAM
.const :> IRAM
.switch :> IRAM
.far :> SDRAM
.cio :> SDRAM
}



______________________________
New Code Sharing Section now Live on DSPRelated.com. Learn about the Reward Program for Contributors here.



(You need to be a member of code-comp -- send a blank email to code-comp-subscribe@yahoogroups.com )