How to create a linker file

Started by head...@yahoo.com in TMS320c6x12 years ago 1 reply

I have been working with the DSP kit for quite some time now and I have been using CCS 3.1 and it didnt ask me for the linker file. Now, I am...

I have been working with the DSP kit for quite some time now and I have been using CCS 3.1 and it didnt ask me for the linker file. Now, I am using CCS 2.0, and it simply doesnt build any project because it keeps on asking for the linker file (.cmd file). Can anyone explain how to create a linker file!!!


Linker Fill

Started by Calvert, Paul in TMS320c6x17 years ago

I am trying to specify through the -f option on the linker for it to fill all holes in the output image with FF. I get the...

I am trying to specify through the -f option on the linker for it to fill all holes in the output image with FF. I get the following warning: TMS320C6x COFF Linker Version 4.20 Copyright (c) 1996-2001 Texas Instruments Incorporated >> warning: -c requires fi


Re: doubts about linker

Started by Bhooshan Iyer in TMS320c6x15 years ago 5 replies

Giovanni-- There is an excellent TI manual called assembly language users guide(spru186n.pdf) which has a few section on...

Giovanni-- There is an excellent TI manual called assembly language users guide(spru186n.pdf) which has a few section on linker,coff sections etc...you shd find that a good place to start. And in general to get strength in system software,like Common Object File Format, linker


RUN_ADRESS and other linker command

Started by bdnremi in TMS320c6x15 years ago 2 replies

DSP Discussion Groups High Performance Digital Signal Processing - C6000 RUN_ADRESS and other linker command myTI_0391262...

DSP Discussion Groups High Performance Digital Signal Processing - C6000 RUN_ADRESS and other linker command myTI_0391262 - 03:08am Sep 29, 2004 CST hi, I would like to use the linker command command run adress. So I've defined my text section


Visual Linker

Started by Doreen Yeo Lee Guek in TMS320c6x19 years ago

Good day. In Linker Command File, a section can be aligned to a certain boundary by using the directive "align". How can a...

Good day. In Linker Command File, a section can be aligned to a certain boundary by using the directive "align". How can a section be aligned in visual linker? Thanks & regards, Doreen


Does C6X linker command file accept words instead of actual addresses

Started by Venkat Rajagopalan in TMS320c6x11 years ago 4 replies

Hi, Does C6X linker command file accept words instead of actual addresses and size values in hexadecimal numbers? This way if the same address...

Hi, Does C6X linker command file accept words instead of actual addresses and size values in hexadecimal numbers? This way if the same address is have many memory sections in my linker command, and a base address, I can use #defines for them, that compute the memory map and the sections can be apportioned to appropriate addresses represented as letters in linker command file, but #defined in s...


DSP/BIOS II

Started by Thomas Schwere in TMS320c6x19 years ago 2 replies

Hi all, If I create a DSP/BIOS configuration file, the code composer also generates a linker command file. I have some user...

Hi all, If I create a DSP/BIOS configuration file, the code composer also generates a linker command file. I have some user specific memory section which I add manually into the linker command file. If I change the DSP/BIOS configuration file, the linker command file will also


Relocatable Exes (-ar linker swithc)

Started by Robert E. Payan in TMS320c6x15 years ago 3 replies

Hello, I need to link some code in CCStudio with the -ar switch to get a relocatable executable type of output file. The code...

Hello, I need to link some code in CCStudio with the -ar switch to get a relocatable executable type of output file. The code links without error with the -a linker switch enabled. The linker gives me a series of warnings and errors. The warnings and error


about CCS 2.1 visual linker problem

Started by daniel lusef in TMS320c6x15 years ago

Dear all, I am using CCS 2.1 version.I try to see amount of memory used on the SDRAM of the C6711 DSK. For CCS always i found in the file...

Dear all, I am using CCS 2.1 version.I try to see amount of memory used on the SDRAM of the C6711 DSK. For CCS always i found in the file menu Visual linker always inactive. I cannot see the memory. Any help regarding this is greatly appreciate. Regards Daniel


symbol overloading in CCS 3.1?

Started by Clem Taylor in TMS320c6x14 years ago 6 replies

Hi, I'm trying to overload _assert() with a version that calls my own printf-like routine instead of fprintf. I'm getting a...

Hi, I'm trying to overload _assert() with a version that calls my own printf-like routine instead of fprintf. I'm getting a 'defined multiple times' linker error between my .obj file and assert.obj in rts6400.lib. I tried putting my .obj first in the link order and adding -priority to the linker options, but it seems rts6400.lib is stil


Linker error : relocation value truncated

Started by behcsiang in TMS320c6x17 years ago 3 replies

Dear All, I'm using CCS 2.1. / C6415. I'm working on a video encoder. Most of my codes are written in C language. Some in...

Dear All, I'm using CCS 2.1. / C6415. I'm working on a video encoder. Most of my codes are written in C language. Some in Linear Assembly. Previously, my codes work well.. until recently when I add more codes to the program. When I compile, I get many linker


Position of __STACK_SIZE symbol

Started by jfbuggen in TMS320c6x18 years ago 3 replies

Hello, I'm writing a C6415 app with CCS2.1. I have some problems with the linker. The __STACK_SIZE symbol is defined by...

Hello, I'm writing a C6415 app with CCS2.1. I have some problems with the linker. The __STACK_SIZE symbol is defined by the linker and used to initialise the stack pointer. If I look in my .map file, I see that this symbol is placed at the same addres


Re: R: Re: Re: Programming TMS320C6713B

Started by "Proware (tin.it)" in TMS320c6x8 years ago

Hi Mike, I made the test. No warning while compiling, I just get an error while building because there is no "main" (unsresolved _main). I've...

Hi Mike, I made the test. No warning while compiling, I just get an error while building because there is no "main" (unsresolved _main). I've modified the linker options to set the Code entry point to "mystart" (-e option). A pair of warnings remain : -------------------------- LoadTest_PT.pjt - Debug -------------------------- Warning: The project has no cmd file while the Text Linker ...


-priority option in the linker file

Started by gagan singh in TMS320c6x15 years ago

Hi All, I would like to ask. Did you guys use "-Priority" option of the linker. I am not sure as many functions are common in...

Hi All, I would like to ask. Did you guys use "-Priority" option of the linker. I am not sure as many functions are common in the bios libs & rts.lib . How to go about to use only explicit particular function from the particular library only. Not much is given in documents as how to use this command.


program allocation problem - linker command file

Started by markan_b in TMS320c6x17 years ago 4 replies

Hi everyone, My cmd-file: ******************************************************************** /*C6xdsk.cmd Generic Linker...

Hi everyone, My cmd-file: ******************************************************************** /*C6xdsk.cmd Generic Linker command file*/ MEMORY { VECS: org = 0h, len = 0x220 /* 528 Byte */ IRAM: org = 0x00000220, len = 0x0000FDC0 /* 64k*/ SDRAM:


FastRTS library usage

Started by William C Bonner in TMS320c6x13 years ago 2 replies

I'm programming in C++ on a 6713 DSP. I've told the compiler to use the -pe switch for embedded C++. I'm linking in the fastmath67x.lib file...

I'm programming in C++ on a 6713 DSP. I've told the compiler to use the -pe switch for embedded C++. I'm linking in the fastmath67x.lib file into my project, and have listed that library in the linker order before any of the other files without linker order. Am I doing what I need to take advantage of the fastmath library for things like the cos() and sin() functions in my code, or am I...


DSP/BIOS with C++ linking problem.

Started by plughead777 in TMS320c6x14 years ago 1 reply

Hi, Ive just discovered that when I enable C++ (Treat C files as C++ Files (-fg)) copiler option to enable C++ code, the linker is unable to...

Hi, Ive just discovered that when I enable C++ (Treat C files as C++ Files (-fg)) copiler option to enable C++ code, the linker is unable to resolve symbols in main.c with their references in the DSP/BIOS *.cdb In other words when I enable -fg then the linker complains. Is anyone else combining C++ with DSP/BIOS? Many Thanks


Running test program on C6701

Started by muee...@yahoo.com in TMS320c6x8 years ago

Hi, We are trying to run a prog on a self-developed C6701 DSP card. The problem is that the code never enters main(). We are using memory MAP...

Hi, We are trying to run a prog on a self-developed C6701 DSP card. The problem is that the code never enters main(). We are using memory MAP 1. The linker command file and vectors_poll used is same as provided in Rulph Chassiang C6713 book. The linker command file is this : --------------------------------------------------------------------------- MEMORY { IVECS: org=0h, le...


Linker AutoInitialization Problem

Started by Yeo Han Kwang in TMS320c6x17 years ago 1 reply

Hi, me again. I'm developing using 6711DSK w/ CCS2.0 on WinNT. The CCS gives three options for linker auto initialization. ...

Hi, me again. I'm developing using 6711DSK w/ CCS2.0 on WinNT. The CCS gives three options for linker auto initialization. I've get problem when compiling with any of them. 1) Load time auto initialization An outer "for" loop in one of my procedur


CCS program level optimisation problems

Started by Lars Skade in TMS320c6x19 years ago 1 reply

Hi experts, Does anyone know why I get loads of errors linker errors like the following when applying program level...

Hi experts, Does anyone know why I get loads of errors linker errors like the following when applying program level optimisation (extern func/var refs) in CCS v1.20? TMS320C6x COFF Linker Version 4.00 Copyright (c) 1996-2000 Texas Instruments Incorporated &g