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

Reading data from Flash

Altera_Forum
Honored Contributor II
1,451 Views

Hi, 

 

I use an Altera DE2-115 board. 

 

I have written some data into my flash memory in the board using the control panel tool. 

 

Now, I intend to read the data and process it by a logic to be implemented in QuartusII. 

 

Suggest ways to read the data from the flash into the QuartusII project.  

 

Thanks 

Nadeem
0 Kudos
8 Replies
Altera_Forum
Honored Contributor II
459 Views

 

--- Quote Start ---  

Use a Flash interface IP core: 

http://www.altera.com/products/ip/memory/external-memory/flash/ipm-index.jsp (http://www.altera.com/products/ip/memory/external-memory/flash/ipm-index.jsp

--- Quote End ---  

 

 

I have a 'CycloneIV E' device, Please give the path where i can access the IP core in QuartusII. 

Thank you.
0 Kudos
Altera_Forum
Honored Contributor II
459 Views

You can use a NIOS processor to read data from this memory and make it available for any other module inside your project.

0 Kudos
Altera_Forum
Honored Contributor II
459 Views

 

--- Quote Start ---  

You can use a NIOS processor to read data from this memory and make it available for any other module inside your project. 

--- Quote End ---  

 

 

Thank you. 

 

I have a very basic question, pardon me for asking it. 

 

How do i connect the array in memory and the one i name in the program,does Nios automatically assign the variable name to that particular array that is being read?
0 Kudos
Altera_Forum
Honored Contributor II
459 Views

I'm not sure if you can do this in the BSP Editor, but you can try. 

 

You can check if it shows in the Linker tab the Flash Memory, if it's there you can have access to this part of the memory creating a variable/vector in this section (using .xxxx). It will probably work this way, but it'll be slow. 

 

I think the best way if you're going to use a NIOS processor is to transfer data from the FLASH memory to the SDRAM or Onchip Memory.
0 Kudos
Altera_Forum
Honored Contributor II
459 Views

 

--- Quote Start ---  

I'm not sure if you can do this in the BSP Editor, but you can try. 

 

You can check if it shows in the Linker tab the Flash Memory, if it's there you can have access to this part of the memory creating a variable/vector in this section (using .xxxx). It will probably work this way, but it'll be slow. 

 

I think the best way if you're going to use a NIOS processor is to transfer data from the FLASH memory to the SDRAM or Onchip Memory. 

--- Quote End ---  

 

 

Would be glad if you can send me a NIOS project example as i haven't worked with NIOS before. Thank you
0 Kudos
Altera_Forum
Honored Contributor II
459 Views

If you have never worked with NIOS before I suggest you follow some tutorials, and use the Application Examples in NIOS2 EDS like the Hello World Example. 

 

Here are some links to altera courses on NIOS2 processor: 

http://www.altera.com/devices/processor/training/emb-training.html
0 Kudos
Altera_Forum
Honored Contributor II
459 Views

 

--- Quote Start ---  

If you have never worked with NIOS before I suggest you follow some tutorials, and use the Application Examples in NIOS2 EDS like the Hello World Example. 

 

Here are some links to altera courses on NIOS2 processor: 

http://www.altera.com/devices/processor/training/emb-training.html 

--- Quote End ---  

 

 

Thankyou. i'll try them n see how it goes through.
0 Kudos
Reply