Forum Discussion
Altera_Forum
Honored Contributor
19 years agoLoading data into memory
I'd like to load the SDRAM on my board (a DE2 board) with a specific file on my PC. As far as I can see there's no tool supplied that can accomplish this simply (I could probably mess around...
Altera_Forum
Honored Contributor
19 years ago --- Quote Start --- originally posted by gregac@Feb 6 2007, 12:15 PM i'd like to load the sdram on my board (a de2 board) with a specific file on my pc. as far as i can see there's no tool supplied that can accomplish this simply (i could probably mess around with linker scripts or some such thing but i'd prefer a simpler method). i tried using the jtag uart however it's rather slow i wrote a small c program to run on the nios ii that just reads characters from it and then on my pc piped a file into the niosii-terminal program which works but it'll take several minutes to upload 1mb and i'd prefer something faster if possible.
so my question is, given a file on my pc can i add this into the build somehow so it gets loaded into sdram (or indeed another memory area) or perform such a task after the build? if not how i can i write to the jtag uart faster (i get the feeling the niosii-terminal program is responsible for the slow transmission)?
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=21289)
--- quote end ---
--- Quote End --- Dear GregAC, I am very new to niosII & DE2... I really need ur project which downloads file from PC to SDRAM. Can you please send it to me [email protected] Thanks in advance regards, Aditya