Forums Search for: Linker
FastRTS library usage
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...
Running test program on C6701
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...
Re: R: Re: Re: Programming TMS320C6713B
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 ...
Problems when define a heap and generate sysmem section
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
'creating output section' linker error for template
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
How to allocate a buffer in SDRAM with compound linker command file or DSP/BIOS Configuration Tool
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
Re: Re: Using DSP Lib
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...
DSP/BIOS with C++ linking problem.
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
about writing a linker command file
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
Linker error (relocation (overflow)), 6711, CCS 3.1.0
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_
dsp67x library problem
dear all, I am using CCS v2.I am calculating FFT of an input sequence usign dsp Library. The library i use is dsp67x.lib.the function i use is...
dear all, I am using CCS v2.I am calculating FFT of an input sequence usign dsp Library. The library i use is dsp67x.lib.the function i use is 'DSPF_sp_cfftr2_dit'. My program has a linker error saying " error : illegal relocation type 050002 found in section .debug info , file C:\CCstudio\c6700\lib\dsp67x.lib." My CCS installation directory is C:\ti\.... Please tell me how to remove ...
C compiler works, C++ compiler doesn't with OSD example
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.
loader error
Hi all, I am currently working with C6416 for "BPSK transmitter and receiver with PLL" under section 10.11.4 in Rulph Chassaing's book. But...
Hi all, I am currently working with C6416 for "BPSK transmitter and receiver with PLL" under section 10.11.4 in Rulph Chassaing's book. But I face an error while loading transmitter program, which sound as "loader : One or more sections of your program falls into memory region that is not writable. These regions will not actually be written to the target. Check your linker configurati...
huge code size !!
Hello I am using the DSK6713 for Speech recognition application which performs Cepstrum feature Extraction and Hidden Markow Model for...
Hello I am using the DSK6713 for Speech recognition application which performs Cepstrum feature Extraction and Hidden Markow Model for recognition. The feature extraction worked well, but after adding additional files to the project my code size is getting huge. After all I got error message from the linker. It tells me that some of the code is stored to non writable memory space. Her...
Documents for linker command file
Hi all, Could someone please tell me what is a good document to read if I want to learn how to set up my Linke command file and also I want a...
Hi all, Could someone please tell me what is a good document to read if I want to learn how to set up my Linke command file and also I want a good document about DSP/BIOS since the CCS tutorial doesn't say much. Thanks ____________________________________________________________________________________ We won't tell. Get more on shows you hate to love (and love to hate): Yahoo! TV's G...
symbol refrencing error in configuring McBSP as UART
hai friends, i was trying to check program in spra633b(TMS320c600 McBSp: UART) i could compile the program but i could not link it , it...
hai friends, i was trying to check program in spra633b(TMS320c600 McBSp: UART) i could compile the program but i could not link it , it produced refrencing error , how can i solve this, i am pasting the error message -------------------------- mcbspserial.pjt - Debug -------------------------- Warning: The project has no cmd file while the Text Linker is selected [Linking...] "C:\CCStu...
Problem with DMA
I am working on custom 64x davanci borad and i am using CCS 3.3. In my code, i am calling DMAN3 and ACPY3 functions to do the DMA . My DMA...
I am working on custom 64x davanci borad and i am using CCS 3.3. In my code, i am calling DMAN3 and ACPY3 functions to do the DMA . My DMA works fine, if i use the following cmd file. Note: I am not using DSP/BIOS linker command file(DMA works fine): MEMORY { CACHE_L1P : origin = 0x11e08000, len = 0x8000 CACHE_L1D : origin = 0x11f10000, len = 0x8000 EXTME...
Pointer vs Array, or char * vs char[]
I ran into a strange thing when compiling code for my DSP recently. I would like to know what is going on, if this is something I don't...
I ran into a strange thing when compiling code for my DSP recently. I would like to know what is going on, if this is something I don't understand in a difference of C vs C++, or something really strange in the Code Composer Studio Compiler / Linker. My understanding was that a a char array was simply dealt with as a pointer to the chunk of memory that was declared. The following
Pointer vs Array, or char * vs char[]
I ran into a strange thing when compiling code for my DSP recently. I would like to know what is going on, if this is something I don't...
I ran into a strange thing when compiling code for my DSP recently. I would like to know what is going on, if this is something I don't understand in a difference of C vs C++, or something really strange in the Code Composer Studio Compiler / Linker. My understanding was that a a char array was simply dealt with as a pointer to the chunk of memory that was declared. The following code...
RE: float powf wrong result
Hi Mike Dunn, thank you very much that you concerned about my problems!!!! Here are the test-version from my programm: COMPILER COMMANDS: -g...
Hi Mike Dunn, thank you very much that you concerned about my problems!!!! Here are the test-version from my programm: COMPILER COMMANDS: -g -k -q -al -o2 -fr"C:\ti\myprojects\komperzeug\Debug" -i"C:\ti\c6000\cgtools\include" -d"_DEBUG" -ml3 -mv6700 LINKER COMMANDS: -g -k -q -al -o2 -fr"C:\ti\myprojects\komperzeug\Debug" -i"C:\ti\c6000\cgtools\include" -d"_DEBUG" -ml3 -mv6700 ______...






