DSPRelated.com

How to create a linker file

Started by head...@yahoo.com in TMS320c6x17 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 TMS320c6x22 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 TMS320c6x20 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


Visual Linker

Started by Doreen Yeo Lee Guek in TMS320c6x24 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


RUN_ADRESS and other linker command

Started by bdnremi in TMS320c6x20 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


Does C6X linker command file accept words instead of actual addresses

Started by Venkat Rajagopalan in TMS320c6x16 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 TMS320c6x24 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 TMS320c6x19 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


-priority option in the linker file

Started by gagan singh in TMS320c6x20 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.


Position of __STACK_SIZE symbol

Started by jfbuggen in TMS320c6x23 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


Linker error : relocation value truncated

Started by behcsiang in TMS320c6x22 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


Re: R: Re: Re: Programming TMS320C6713B

Started by "Proware (tin.it)" in TMS320c6x13 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 ...


about CCS 2.1 visual linker problem

Started by daniel lusef in TMS320c6x20 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


FastRTS library usage

Started by William C Bonner in TMS320c6x18 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...


symbol overloading in CCS 3.1?

Started by Clem Taylor in TMS320c6x19 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


Running test program on C6701

Started by muee...@yahoo.com in TMS320c6x13 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 TMS320c6x22 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


Re: Re: Using DSP Lib

Started by Richard Williams in TMS320c6x18 years ago

CW, When you call some function in a library (this does not have any effect on compilation) you must have: -- the appropriate header file...

CW, When you call some function in a library (this does not have any effect on compilation) you must have: -- the appropriate header file visible to the linker (part of the linker build options) -- the library header file #include'd in any source file that calls any function in that header file. R. Williams ---------- Original Message ----------- From: c...@yahoo.com.cn To: c...@yahoogr...


Linker error (relocation (overflow)), 6711, CCS 3.1.0

Started by mikk...@suomi24.fi in TMS320c6x19 years ago 2 replies

Hi, I have a linker problem. I tried to find a sollution here, but I didn't find the right one. So the problem is that, I got the error...

Hi, I have a linker problem. I tried to find a sollution here, but I didn't find the right one. So the problem is that, I got the error message "error: relocation value truncated at 0x24 in section .bios". I am using --mem_model = far and RTS call = far, but it is not helping in this situation. Should this be handled somehow with -r argument? [audio_dspcfg_


DSP/BIOS with C++ linking problem.

Started by plughead777 in TMS320c6x19 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