Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21592 Discussions

How to transfer data from pc to sdram?

Altera_Forum
Honored Contributor II
1,347 Views

Hi, 

 

What program can I use to transfer data from my PC to the SDRAM or FLASH memory on the board? I am using DE0.  

 

For example I want to transfer the bit stream encoding an image file onto the SDRAM for later processing. 

 

Please let me know if the question is unclear.
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
627 Views

So, someone told me I can use control panel but I would like to know how to do it without the magic control panel.

0 Kudos
Altera_Forum
Honored Contributor II
627 Views

So, using the de0 control panel, I am trying to write some values (0 in 0, 1 in 1, 2 in 2) into the flash memory and then dump the contents to a hex file. But having some trouble, doesn't seem to be working.

0 Kudos
Altera_Forum
Honored Contributor II
627 Views

When I open hex file in notepad I get:  

 

000001000200 

 

Any idea how to understand this? 

 

I am reading a source saying "Every line in a hex file always starts from colon". Hex code for ASCII colon is 3A. So... what gives? 

 

Would have been satisfied to see 000000010002 in hex file but alas no.
0 Kudos
Altera_Forum
Honored Contributor II
627 Views

Ok I think I figured out this part, seems to be in little endian.

0 Kudos
Reply