2009-06-25 01:55:56     SDRAM initialization in application code

Document created by Aaronwu Employee on Aug 15, 2013
Version 1Show Document
  • View in full screen mode

2009-06-25 01:55:56     SDRAM initialization in application code

archana s (INDIA)

Message: 76291   

 

hi ,

 

I am trying to port an simple image applicaton code from vdsp to uclinux kernel.I use sdram for storing the image.

 

How do i use the sdram to store my data? is there any specific command as in vdsp?

 

the data section of my code is as follows:

 

#include<math.h>

#include<stdio.h>

 

 

section("sdram0")

float fr[32][32];

float fi[32][32];

float g[32][32];

  float h[32][32];

float hr[32][32];

float hi[32][32];

int g1[32][32];

int f1[32][32];

float gr[32][32];

float gi[32][32];

float f2[32][32];

float f[32][32];

char fin[32][32];

float f[32][32]={

    #include "IMAGE.dat"

    };

 

 

int main()

 

 

 

Thanks in advance..

QuoteReplyEditDelete

 

 

2009-06-25 09:40:31     Re: SDRAM initialization in application code

Mike Frysinger (UNITED STATES)

Message: 76326   

 

everything is in external memory.  you do not need to screw with sections.

QuoteReplyEditDelete

Attachments

    Outcomes