- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
The memcpy can been used to transfer the data in flash to sdram? I know that the function can transfer the data in flash to sram. Thank youLink Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, memcpy can copy data from flash to sdram but not the other way round.
But perhaps this wasn't what you meant to ask, if so then please rephrase your question.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you!
Why the memcpy functin can been used to transfer data through synchronize or asynchronism memory. The synchronize memory can make the nios reacgh better performance?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
To wombat:
What do you mean by saying "memcpy can copy data from flash to SDRAM but not the other way round. "- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As you know, flash chips need special programming sequences to change the value of data within them.
memcpy doesn't use these sequences so it can't alter the value of data in flash. If you want to alter the value of data in flash then you should use the functions in altera_avalon_cfi_flash.h to do it.
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