DSPRelated.com

Linker Command File: Section Attributes

Started by Yeo Han Kwang in TMS320c6x21 years ago

Hi (hope I don't have to answer myself this time), A simple question: How do I set the attributes of the memory areas in the...

Hi (hope I don't have to answer myself this time), A simple question: How do I set the attributes of the memory areas in the linker command file? i.e. I want the IPMEM (Internal Program Memory) to be Read & Execute only, etc. I tried: IPMEM : origin = 0x


CCS program level optimisation problems

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


'creating output section' linker error for template

Started by davida442005 in TMS320c6x16 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


program allocation problem - linker command file

Started by markan_b in TMS320c6x21 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:


Problems when define a heap and generate sysmem section

Started by xche...@signalogic.com in TMS320c6x15 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


$BRID section

Started by William Zimmerman in TMS320c6x21 years ago

Message I am using CCS v 2.21 with the visual linker, and have noticed that the linker generates a section called $BRID...

Message I am using CCS v 2.21 with the visual linker, and have noticed that the linker generates a section called $BRID that contains a bunch of routines from the rts library. The al


recompiling drv6x.lib

Started by Jesse Vizcaino in TMS320c6x19 years ago 1 reply

I'm using an EVM C6701 card. I have two sections of "fast" memory on the board 64K starting at 0x0 and 64K starting at 0x80000000. What I ...

I'm using an EVM C6701 card. I have two sections of "fast" memory on the board 64K starting at 0x0 and 64K starting at 0x80000000. What I would like to do is have the linker spread code over these two sections using the >> option in the linker command file. However, our code uses the drv6x.lib. When I try to link the code I get the followin


about writing a linker command file

Started by safoora naderolasli in TMS320c6x18 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


about strip symbolic information in c6x linker

Started by Tao Wang in TMS320c6x21 years ago 3 replies

Hi, all, When I use -s option(strip symbolic information) in the c6x linker under ccs2.0 I can not load the program into the...

Hi, all, When I use -s option(strip symbolic information) in the c6x linker under ccs2.0 I can not load the program into the C6203 DSP. But if I do not use -s option the program can be loaded into DSP smoothly. The error message is: "unexpected fatal error encountered whi


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

Started by fa_t...@yahoo.it in TMS320c6x17 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


intrinsic

Started by c64addict in TMS320c6x20 years ago 2 replies

hi, i tried to use this intrinsic: _dotprsu4 but the linker complained of undefined symbol? i tried to use other...

hi, i tried to use this intrinsic: _dotprsu4 but the linker complained of undefined symbol? i tried to use other intrinsics (e.g. _abs), and it pass. am i missing something?


MEM_alloc

Started by Alexandre Freire da Silva Osorio in TMS320c6x22 years ago 5 replies

Hi, My application allocates large buffers dinamycally so it should be placed in off-chip memory. In CCS help I read about...

Hi, My application allocates large buffers dinamycally so it should be placed in off-chip memory. In CCS help I read about MEM_alloc and MEM_free and I used it in my code, but the linker doesn't recognizes these functions. Please, what is the lib that I must link to my


symbols are defined multiple times??

Started by pavan kumar in TMS320c6x19 years ago 7 replies

Hi Bhooshan and all, I?m having a Vc++-project which contains several C files. My task is to convert these exisiting code to...

Hi Bhooshan and all, I?m having a Vc++-project which contains several C files. My task is to convert these exisiting code to run on a TI C62x. After having done the necessary modi-fications I have problems with the TI Code Composer v3 linker. When I compile the pr


Re: Fw: Re: C6727 bootloader help

Started by iddq...@gmail.com in TMS320c6x16 years ago

HI Chandrasekhar I do think SECTION_LOAD command can load the data/code from EEPROM. The good news is, you don't need to use it. All you need...

HI Chandrasekhar I do think SECTION_LOAD command can load the data/code from EEPROM. The good news is, you don't need to use it. All you need to do is link all the sections to the internal/external memory use the linker file (.CMD). The AIS tool will do the rest for you. Best regards Peter > ----- Forwarded Message ---- > From: Chsekhar Prattipati > To: i...@gmail.com > Sent: Friday, May


About Eliminate Unused Object

Started by Tonald DL in TMS320c6x17 years ago 6 replies

Hi, Does anyone knows how to set CCS compiler and linker's option so that it can eliminate unused objects? My current .out take...

Hi, Does anyone knows how to set CCS compiler and linker's option so that it can eliminate unused objects? My current .out take 1.4MB. But there is a lot of library and functions is not really called. Those occupied a lot of size. Thanks. -- Best Regards Tonald DL


C compiler works, C++ compiler doesn't with OSD example

Started by Salman Aslam in TMS320c6x17 years ago

Hi. I ran the on screen display example provided with the DM642 EVM board. It works fine using the C compiler, but when I use the C++...

Hi. I ran the on screen display example provided with the DM642 EVM board. It works fine using the C compiler, but when I use the C++ compiler, I get a linker error message that can't find _tskVideoLoopback. Any ideas please? Thanks.


Beginner Question: How to make a memory map ?

Started by ".dorian" in TMS320c6x16 years ago 3 replies

****************************************************************************** TMS320C6x COFF Linker PC v5.1.0 ...

****************************************************************************** TMS320C6x COFF Linker PC v5.1.0 ****************************************************************************** > > Linked Sun Oct 28 20:16:35 2007 OUTPUT FILE NAME: ENTRY POINT SYMBOL: "_c_int00" address: 00083120 SECTION ALLOCATION MAP output


Does anyone know how to set the CCS V2.0

Started by ehng3 in TMS320c6x20 years ago 1 reply

Hi, Good DAy Does anyone know.....how to set the option section in the CCS V2.0? example linker option...all the...

Hi, Good DAy Does anyone know.....how to set the option section in the CCS V2.0? example linker option...all the -g.....actually this make me confuse...they got too many assumption....does any one can give some explaination in this area? Thanks for all of yo


Re: R: Re: Re: Programming TMS320C6713B

Started by mikedunn in TMS320c6x12 years ago 2 replies

Paolo, On 10/29/2011 6:29 AM, Proware (tin.it) wrote: > Hi Mike, I made the test. > No warning while compiling, I just get an error while...

Paolo, On 10/29/2011 6:29 AM, Proware (tin.it) wrote: > 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 > --


linker errors using DSPLIB c67x

Started by "Simon E. Mushi" in TMS320c6x16 years ago 13 replies

Hi, I have a board based on C6713 and am using some matrix functions in DSPLIB. I get an error during the link...

Hi, I have a board based on C6713 and am using some matrix functions in DSPLIB. I get an error during the link process ************************************** [Linking...] "C:\Program Files\C6000 Code Generation Tools 6.0.15\bin\cl6x" -@"Debug.lkf" undefined first referenced symbol in file ---------