- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm using a 2S60 DSP development kit board and I would like to know how I can read from the SDRAM. Since the SDRAM is organized as 4M x 64, I would think that the SDRAM controller can be told that any subsequent reads can be specified to use the full 64-bit data path. If this is not the case, and some other data width needs to be used (e.g. 16 or 32-bits), how are those specified? Also, I'm not sure how I would perform these reads from within a Linux application. I have successfully read the button PIO lines by making the following declarations: int *buttonAddr = (int *)0x82120860; // MSb is set to bypass the cache int buttonData = *buttonAddr; The button PIO address (0x82120860) was obtained from SOPC builder and "system.h" files. I used the "buttonData" to verify that one of the buttons has been pressed. Can I use the same addressing technique to read data from the SDRAM? If so, would I have to make two successive 32-bit reads using the 'long' data type to make a single 64-bit read? What other techniques are available to read data from specific locations within the SDRAM? Any help would be appreaciated. Thanks, Brad.Link Copied
0 Replies

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page