Sign in

username:

password:



Not a member?

Search motoroladsp



Search tips

Subscribe to motoroladsp



motoroladsp by Keywords

56303 | 563xx | 5680 | 56805 | 5680x | 56F80 | 56F800DEMO | 56F805 | 56f807 | 56F830 | ADC | Bootloader | Codec | CodeWarrior | CW5 | CW6 | Debugger | DSP56303 | DSP56303EVM | DSP563xx | DSP5680 | DSP56800 | DSP56807 | DSP56858 | DSP56858EVM | DSP56F803 | DSP56F805 | DSP56F807 | DSP56F80x | DSP56F826 | DSP56F827 | DSP56F8xx | EVM | FFT | Flash_over_jtag | GPIO | Interrupt | Interrupts | JTAG | LCD | Linker | MCF5307 | Metrowerks | Modulus | MSCAN | PCMaster | PWM | Quad | Rif | RTOS | SDK | SPI

Discussion Groups

Discussion Groups | Freescale DSPs | Copy const data from pFlash to Ext RAM

Technical discussions about Freescale (Motorola) DSPs (including the DSP56000, DSP56300, DSP56600, 56800 DSPs).

  

Post a new Thread

Copy const data from pFlash to Ext RAM - bmbmz123 - Oct 29 16:48:00 2003



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) data array, and
2. Several const data arrays , that are needed to be copied from
program Flash, at init (because total size > data flash size).

I want to use the internal data RAM for all other data variable, as
access is faster.

I am thinking that maybe all the data copied from ROM to RAM can be
placed in the higher flash area, as all my sw fits in the lower
section - the 827 has two program-flash areas.

So far I used the SDK stationary for all the linker operations.

So my questions are:

1. How do I modify the linker.cmd file to place large variable data
array in the external data ram space.

2. How do I modify the linker.cmd file to place large constant data
arrays (copied from program Flash,) in the external data ram space.

3. Is the copying done automatically by the SDK (as is done when I
use only internal RAM), or do I need to write a routine to do it?

Thank you

boaz




(You need to be a member of motoroladsp -- send a blank email to motoroladsp-subscribe@yahoogroups.com )