Sign in

username:

password:



Not a member?

Search c54x



Search tips

Subscribe to c54x



c54x by Keywords

5409 | 5416 | AD5 | ADC | BIOS | Boot | Booting | Bootloader | C540 | C5402 | C5409 | C5416 | CCS | Codec | DMA | Dmad | DSK | DSKPlus | Dsplib | EVM | FFT | FIR | Flash | GPIO | HPI | Initialization | Interrupt | JTAG | LOG_printf | MCBSP | RFFT | RTDX | Sampling | STLM | UART | VC540

Discussion Groups

Discussion Groups | TMS320C54x | How to use external ram with c5416

Technical discussions about the TI C54x DSPs (including the c5401, c5402, c5402a, c5404, c5407, c5409, c5409a, c5410, c5410a, c5416, c5420, c5421, c5441, c549, c5470 and c5471).

  

Post a new Thread

How to use external ram with c5416 - hemo...@gmail.com - Jul 3 7:33:31 2008



hi everyone.I am new to DSP,now I can load program into the internal daram of c5416.In my
C program ,I set PMST to be mp/mc#=0 ovly=1 drom=1.Then,how can I load my program into the
external ram, it is IS61LV25616AL from ISSI.My .cmd file is as below:

MEMORY                        
{
  PAGE 0 :
    PROG:       origin = 0x2400, length = 0x5b80   
    VECTORS:    origin = 0x0080, length = 0x80    

  PAGE 1 : 
    DARAM:      origin = 0x0100, length = 0x1f80   
    STACK:      origin = 0x2080, length = 0x400    
}

SECTIONS
{

    .SysPar     : load = DARAM    page 1 
    .text       : load = PROG     page 0 
    .cinit      : load = PROG     page 0 
    .switch     : load = PROG     page 0 
    .const      : load = DARAM    page 1  
    .bss        : load = DARAM    page 1 
    .stack      : load = STACK    page 1 
    .coeff      : load = DARAM    page 1 

How to change my settings to load program into external ram?

------------------------------------

OMAP35x EVM jump-starts low-power apps
------------------------------------
The modular and extensible OMAP35x Evaluation Module (EVM) enables developers to start building
applications based on the OMAP35x architecture:http://www.DSPRelated.com/omap35x



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

Re: How to use external ram with c5416 - Jeff Brower - Jul 3 14:24:34 2008

Hemocute-

> hi everyone.I am new to DSP,now I can load program into the internal
> daram of c5416.In my C program ,I set PMST to be mp/mc#=0 ovly=1
> drom=1.Then,how can I load my program into the external ram, it is
> IS61LV25616AL from ISSI.My .cmd file is as below:
> 
> MEMORY
> {
>   PAGE 0 :
>     PROG:       origin = 0x2400, length = 0x5b80
>     VECTORS:    origin = 0x0080, length = 0x80
> 
>   PAGE 1 :
>     DARAM:      origin = 0x0100, length = 0x1f80
>     STACK:      origin = 0x2080, length = 0x400
> }
> 
> SECTIONS
> {
> 
>     .SysPar     : load = DARAM    page 1
>     .text       : load = PROG     page 0
>     .cinit      : load = PROG     page 0
>     .switch     : load = PROG     page 0
>     .const      : load = DARAM    page 1
>     .bss        : load = DARAM    page 1
>     .stack      : load = STACK    page 1
>     .coeff      : load = DARAM    page 1
> 
> How to change my settings to load program into external ram?

With ovly = 1 and DROM = 1, then first 32k of onchip mem is prog/data, and second 32k
is data.  If you want to force your program into external memory located above 64k,
you can add some statements to your .cmd file similar to:

MEMORY {

  PAGE 0: EXT0 (RWX):   origin = 18000h length = 8000h  /* not used -- overlaps upper
32k data mem */
  PAGE 0: EXT1 (RWX):   origin = 28000h length = 8000h
}

SECTIONS {

  far_sect: > EXT1 PAGE 0 {
        
    file1.obj (.text)
    file2.obj (.text)
  }
}

-Jeff

------------------------------------

OMAP35x EVM jump-starts low-power apps
------------------------------------
The modular and extensible OMAP35x Evaluation Module (EVM) enables developers to start building
applications based on the OMAP35x architecture:http://www.DSPRelated.com/omap35x



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