DSPRelated.com

How to create a linker file

Started by head...@yahoo.com in TMS320c6x19 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!!!


Does C6X linker command file accept words instead of actual addresses

Started by Venkat Rajagopalan in TMS320c6x17 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...


Visual Linker

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


Linker Fill

Started by Calvert, Paul in TMS320c6x24 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


RUN_ADRESS and other linker command

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


Re: doubts about linker

Started by Bhooshan Iyer in TMS320c6x21 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


Relocatable Exes (-ar linker swithc)

Started by Robert E. Payan in TMS320c6x21 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


DSP/BIOS II

Started by Thomas Schwere in TMS320c6x26 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


Linker AutoInitialization Problem

Started by Yeo Han Kwang in TMS320c6x24 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


symbol overloading in CCS 3.1?

Started by Clem Taylor in TMS320c6x21 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 (overflow)), 6711, CCS 3.1.0

Started by mikk...@suomi24.fi in TMS320c6x21 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_


about writing a linker command file

Started by safoora naderolasli in TMS320c6x21 years ago 1 reply

Hi every one, I want to write a program but I do not know if I myself should write the linker command file or not. I'm using the 6713 DSK...

Hi every one, I want to write a program but I do not know if I myself should write the linker command file or not. I'm using the 6713 DSK .& how I should know what is the size of my program so that I can use only the L2SRAM . thanks. safora


DSP/BIOS with C++ linking problem.

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


Re: Re: Using DSP Lib

Started by Richard Williams in TMS320c6x19 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...


How to allocate a buffer in SDRAM with compound linker command file or DSP/BIOS Configuration Tool

Started by fa_t...@yahoo.it in TMS320c6x19 years ago 1 reply

Hi to all. I am a student and I am trying to learn using DSP with th eDSKBoard 6713. I have a problem when I declare an array ( buffer1 ) in...

Hi to all. I am a student and I am trying to learn using DSP with th eDSKBoard 6713. I have a problem when I declare an array ( buffer1 ) in SDRAM, i.e. in the section ? .my_section ?. What I have done is: #pragma DATA_SECTION(buffer1,".my_section") Int16 buffer1[500000]; Using DSP/BIOS, it creates a linker command file by default ( prova_6cfg.cmd ). To add


'creating output section' linker error for template

Started by davida442005 in TMS320c6x18 years ago 2 replies

Hi I am trying to use a C++ template in our C6488 application code but get the following linker error: > > warning: creating output...

Hi I am trying to use a C++ template in our C6488 application code but get the following linker error: > > warning: creating output section .template without SECTIONS specification Please can someone tell me how to resolve this? BR David


Problems when define a heap and generate sysmem section

Started by xche...@signalogic.com in TMS320c6x17 years ago

Hi everyone, I am working on c64xx and using ccs 3.3. In the code, I need to use the malloc(), which means I need to define heap in memory. I...

Hi everyone, I am working on c64xx and using ccs 3.3. In the code, I need to use the malloc(), which means I need to define heap in memory. I tried to use the DSP/BIOS config or the linker options (Project-> Build Options-> Linker-> Basic-> Heap Size). The heap size is 0x10000. But when I check the .map file, I found, //.sysmem * 0 00011000 00000000 UNINITIALIZED My qu


Re: R: Re: Re: Programming TMS320C6713B

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


Running test program on C6701

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


FastRTS library usage

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