Altera_Forum
Honored Contributor
21 years agomemcpy ( )
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 youHello
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 youYes, 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.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?To wombat:
What do you mean by saying "memcpy can copy data from flash to SDRAM but not the other way round. "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.