Forums

Accessing SDRAM of DSK6711

Started by jayadevan June 7, 2006
hi 
I am doing a project in which i am supposed to process 30,000 datas which
is present in the SDRAM of DSK6711.the datas are stored starting from
memory location 0x80100001.

As I am instructed to implement the code using DSP/BIOS by my professor ,I
have searched for a DSP/BIOS API function for accessing the contents of the
SDRAM.but in vain.

plz provide me a code segment for doing this task or instuct me what to
do.

"jayadevan" <jaggunitj@yahoo.co.uk> writes:

> hi > I am doing a project in which i am supposed to process 30,000 datas which > is present in the SDRAM of DSK6711.the datas are stored starting from > memory location 0x80100001. >
One way (Not tested, or optimal, just typed off the top of my head, but it should give you the idea): int *sdram = 0x8010001; int readval; for (i=0;i<30000;i++) { readval = sdram[i]; process(readval); } Does that help? Cheers, Martin -- martin.j.thompson@trw.com TRW Conekt - Consultancy in Engineering, Knowledge and Technology http://www.trw.com/conekt