Forums Search for: Linker
DSP56F827: Placing sw in pFlash1 and pFlash2
Hello, My sw has overflowed pFlash1 memeory, and I want to put sw in pFlash2. Currently, I have already placed some constant...
Hello, My sw has overflowed pFlash1 memeory, and I want to put sw in pFlash2. Currently, I have already placed some constant strings in pFlash2, using the linker, and the AT command for Ext_Ram_Mirror. How will I add sw to pFlash2, and how should I handle the const data
Program Ram
inHello I need more than the 4K of X.RAM of my DSP56F807, I'd like to use P.RAM in the program memory. - What is the used of...
Hello I need more than the 4K of X.RAM of my DSP56F807, I'd like to use P.RAM in the program memory. - What is the used of this RAM? Can I use a part of it to store some variables of my application? How can I specify the linker to locate my variables in this RAM.
Copy const data from pFlash to Ext RAM
Hello all, I need your help, since I am unfamiliar with the linker, nor could I understand its behaviour from the SDK. I...
Hello all, I need your help, since I am unfamiliar with the linker, nor could I understand its behaviour from the SDK. I am using internal RAM for data variables. I want to use external RAM (32K) for large data arrays, of two types: 1. One variable (r/w) da
large buffer
inHi all. I need to place a large buffer in external RAM, let's say: int buffer[40000]; I declare it this way and it perfectly...
Hi all. I need to place a large buffer in external RAM, let's say: int buffer[40000]; I declare it this way and it perfectly fits in memory. But when I want to make a reference to any element of this array above 32767th, for example: buffer[32768] = 0, the linker states an erro
Quadtimer and TOD combined usage giving linker error.
inHi, I am using codewarrior for firmware development of 56F827. I want to use Quad timers and TOD so for that I have modifed...
Hi, I am using codewarrior for firmware development of 56F827. I want to use Quad timers and TOD so for that I have modifed appconfig.h file. #define INCLUDE_QUAD_TIMER /* Quadrature timer support */ #define INCLUDE_TIME_OF_DAY After including both I am gett
RE: Re: CodeWarrior linker does not check memory li mits
Hi all, indeed, Peter described what happens and he's right - the CW *doesn't* check if your data exceed the size of pFlash. The...
Hi all, indeed, Peter described what happens and he's right - the CW *doesn't* check if your data exceed the size of pFlash. The thing it actually does is that it checks whether your data fit into particular MEMORY segment. However, this doesn't prevent your data from exceeding the s
Unknown linker errors
I am running the following code in two different projects, both load the same libraries. UWord32 temp; Frac32 temp_32; ...
I am running the following code in two different projects, both load the same libraries. UWord32 temp; Frac32 temp_32; temp = 123000; temp_32 = FRAC32(temp/200000.0); It compiles fine in project A, but in project B I get the following
Rif: Re: Rif: Re: Rif: Bootloading through CAN bus
Don't afraid. linker.cmd is simple. If you compare my file ahd original file you can see that I have done little changes. ...
Don't afraid. linker.cmd is simple. If you compare my file ahd original file you can see that I have done little changes. The line: .bflash_ext (RX) : ORIGIN = 0x7000, LENGTH = 0x0DFF # boot flash memory extension is to define the new segment in norm
Linker error on CW for 56800
inI use CodeWarrior IDE 4.1 (buil 0622) for Motorola 56800 on Windows 95. I have also upgraded with patch 4.0.2 came with SDK 2.4...
I use CodeWarrior IDE 4.1 (buil 0622) for Motorola 56800 on Windows 95. I have also upgraded with patch 4.0.2 came with SDK 2.4 CDROM. When I link the simple code of main.c this error occur: " Link Error : Symbol Feanpos_table is too far away for a R_56800_WORD
Ex-Bit =1 in linker.cmd
Hello, I'm trying to build a stand-alone application that processes a lot of data that has to be stored in external data memory. I...
Hello, I'm trying to build a stand-alone application that processes a lot of data that has to be stored in external data memory. I plan on using about 4MB of external data memory by expanding the 16bit address space with 5 GPIOs. My problem is that I do not understand how to setup th
Using Sections in Code Warrior for DSP56807
inI want to link in an interrupt vector table (written in C). I assume I need to create a special section - starting at 0x4 or what...
I want to link in an interrupt vector table (written in C). I assume I need to create a special section - starting at 0x4 or what ever, and then link the table at this location. Specifically, how does one do this? I know how to create sections in the linker command file, and I
strings in p-ROM for 56F8300/E
inHello again The previously posted advice works fine for non-string data, and by defining a separate linker section one can...
Hello again The previously posted advice works fine for non-string data, and by defining a separate linker section one can place constants in P-ROM: in the C source file, define the section and open it: > #pragma define_section mysection ".mysection.text&
GNU Binutils port for DSP56800
Hi, I've just finished implementation of binutils (which includes assembler, linker, objdump, ar etc.) port for dsp56800. It...
Hi, I've just finished implementation of binutils (which includes assembler, linker, objdump, ar etc.) port for dsp56800. It is still not available from official binutils CVS, but you can get it from: https://so
RE: Re: RE: Help!About location of global variable using CodeWarrior[motoroladsp5
Here's how we do that sort of thing here (an example from one of our products, in the "linker.cmd" file): In the "MEMORY"...
Here's how we do that sort of thing here (an example from one of our products, in the "linker.cmd" file): In the "MEMORY" section: .xExtUartA (RW) : ORIGIN = 0x4000, LENGTH = 0x0008 .xExtReservedA (RW) : ORIGIN = 0x4008, LENGTH = 0x0FF8 .xExtUa
Problems with linker.cmd
inI have a nasty problem where when I emulate everything works great but when I run out of flash it blows up. I've narrowed the problem...
I have a nasty problem where when I emulate everything works great but when I run out of flash it blows up. I've narrowed the problem down to some .asm files I have included in the project from the MSL. I need to do some right shifting and I included the .asm files from C:\Program Files\Metrowerks\CodeWarrior5.1\M56800 Support\msl\MSL_C\DS
RE: Writing to external Program memory
Hi Roger, Here's how we do that sort of thing here (an example from one of our products, in the "linker.cmd" file). This...
Hi Roger, Here's how we do that sort of thing here (an example from one of our products, in the "linker.cmd" file). This example is for an '807 chip and external Data (X) memory, but the same thing will work for external P memory on the '803 and '805 chips. You do ha
LINKER: Placing a specific global variable in a SECTION
Hi, A "c" file has several global variables. I want to alloate/place only one variable (an array) in SECTION_A, and all...
Hi, A "c" file has several global variables. I want to alloate/place only one variable (an array) in SECTION_A, and all the other variables from that file are allocated/placed in SECTION_B. I understand that I should first allocate the specific va
RE: DSP56F827: Flash to RAM copy - Compiler Overf low w/o Error?
inI think that this version of the Metrowerks linker does not properly flag a warning that the program area has been...
I think that this version of the Metrowerks linker does not properly flag a warning that the program area has been overflowed. The only way to determine is to look at
56F8323 command line tools/examples
I'm about to start development on a new product using the 56F8323, and I would prefer not to work within the CodeWarrior and Processor...
I'm about to start development on a new product using the 56F8323, and I would prefer not to work within the CodeWarrior and Processor Expert environment. Are there any example projects using a basic make file to build with commmand line tools? I'm also after a register header file, linker file etc. Is anyone else working with the command line tools?
New Versions of CodeWarrior Tools for DSP56800 and DSP56800E
Metrowerks Releases New Versions of CodeWarrior(tm) Development Tools for DSP56800 and DSP56800E Low-cost IDE with Editor,...
Metrowerks Releases New Versions of CodeWarrior(tm) Development Tools for DSP56800 and DSP56800E Low-cost IDE with Editor, Compiler, Assembler, Linker, and Instruction Set Simulator Provide Optimized Code Generation, Fast Time-To-Market AUSTIN, Texas - April 2, 20