- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello!
i know the address of memory and i want to read the data. for example: i know the address of SDRAM is 0x01000000, what should i do to read the data from the SDRAM. thanks in advance.Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Do you use a SDRAM controller?
Do you want to access it from a CPU or from custom hardware?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yes i have a sdram controller;
i want to read the data from the address through the application. thank you very much.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can use C pointers for that.
Do you also use the sdram to store the software itself? In that case you'll have to use a memory allocation function, such as malloc(), to allocate a memory area. If not, you can just get the address and size of your memory area from system.h.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thank you for your suggestion,i need more consideration.

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