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 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)?