AnsweredAssumed Answered

Trying to access the SDRAM on the 21469 EZ-Board without success

Question asked by csc on Dec 28, 2009
Latest reply on Apr 15, 2010 by jeyanthi.jegadeesan

Hello,
I'm trying to access the SDRAM on the 21469 EZ-Board without success. Here's what I do:

 

  • Create new C-project
  • Create LDF
  • Put USE_SDRAM in Project Options/Link/LDF Preprocessing/Preprocessor macro definitions
  • Add file init_PLL_DDR2.c from example SPDIF to Analog TalkThru with SRC (C)
  • Code:

 

#pragma section("seg_ext_data")
short test[16];

 

void initPLL_DDR2(void);

 

int main() {

 

    initPLL_DDR2();
    test[0] = 1234;
    return(0);
}

 

  • Build and run.

 

If I open up Expressions and look at "test", the first entry is not 1234..

 

(I've also attached the project to this post.)

 

EDIT: I'm using VisualDSP++ 5.0 Update 7.

 

Thanks in advance!

 

Christian

Attachments

Outcomes