Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12599 Discussions

max10 on chip flash reference design

Altera_Forum
Honored Contributor II
2,087 Views

hi, i am new to altera and nios 

is there a reference design of how to use max10 on chip flash(UFM)? 

i have checked the design store. 

thanks!
0 Kudos
6 Replies
Altera_Forum
Honored Contributor II
919 Views

I'm not aware of a reference design. However, you'll need to use the 'Altera On-Chip Flash' IP. This is comprehensively discussed in the max 10 ufm implementation guides (https://www.altera.com/content/dam/altera-www/global/en_us/pdfs/literature/hb/max-10/ug_m10_ufm.pdf). Chapter 4 talks you through it along with creating a test bench for simulation. 

 

Cheers, 

Alex
0 Kudos
Altera_Forum
Honored Contributor II
919 Views
0 Kudos
Altera_Forum
Honored Contributor II
919 Views

i have read the max 10 user flash memory user guide.pdf, it does not tell me how to use the ufm in nios.

0 Kudos
Altera_Forum
Honored Contributor II
919 Views

 

--- Quote Start ---  

Hi, 

 

there is a reference design for UFM for MAX10  

https://cloud.altera.com/devstore/platform/14.0.2/putting-altera-max-series-in-hibernation-using-user-flash-memory-an547/ 

--- Quote End ---  

 

 

i open the reference design in quartus 15.0, but i find it does not contain nios. 

i need a reference design which use nios to read and write the onchip flash, and use interal configration. 

can someone give me some help? 

i stuck in this problem for two weeks... 

 

thanks!
0 Kudos
Altera_Forum
Honored Contributor II
919 Views

Hi, I was searching UFM related information and I found and answer to the above question here: 

 

Utilizing the User Flash Memory (UFM) on Max 10 Devices with a Nios II Processor  

This design example shows the user how to read, write, and erase portions of the internal flash memory. A sample program is included that shows how to perform those three operations as well as provide a simple user interface for modifying the flash memory 

 

https://cloud.altera.com/devstore/platform/16.0.0/utilizing-the-user-flash-memory-ufm-on-max-10-devices-with-a-nios-ii-processor/ 

 

 

This isn't a timely answer but I wanted to post if for closure. 

 

Kind regards, 

tjd
0 Kudos
Altera_Forum
Honored Contributor II
919 Views

 

--- Quote Start ---  

Hi, I was searching UFM related information and I found and answer to the above question here: 

 

Utilizing the User Flash Memory (UFM) on Max 10 Devices with a Nios II Processor  

This design example shows the user how to read, write, and erase portions of the internal flash memory. A sample program is included that shows how to perform those three operations as well as provide a simple user interface for modifying the flash memory 

 

https://cloud.altera.com/devstore/platform/16.0.0/utilizing-the-user-flash-memory-ufm-on-max-10-devices-with-a-nios-ii-processor/ 

 

 

This isn't a timely answer but I wanted to post if for closure. 

 

Kind regards, 

tjd 

--- Quote End ---  

 

 

While the example synthesizes and flashes, compiling the firmware results in a warning: 

 

makefile:544: Warning: SOPC File ../../system.sopcinfo could not be found. 

 

The system.sopcinfo file is where it should be, two directories above the directory containing the Makefile. 

 

Because the system.sopcinfo file isn't found, run operations fail with an error: No Nios II target connection paths were located.
0 Kudos
Reply