Forum Discussion
Altera_Forum
Honored Contributor
13 years agoReading data from Flash
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 Nadeem8 Replies
- Altera_Forum
Honored Contributor
- Altera_Forum
Honored Contributor
--- 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. - Altera_Forum
Honored Contributor
You can use a NIOS processor to read data from this memory and make it available for any other module inside your project.
- Altera_Forum
Honored Contributor
--- 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? - Altera_Forum
Honored Contributor
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. - Altera_Forum
Honored Contributor
--- 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 - Altera_Forum
Honored Contributor
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 - Altera_Forum
Honored Contributor
--- 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.