Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12437 Discussions

max10 on chip flash reference design

Altera_Forum
Honored Contributor II
1,418 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
250 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
Altera_Forum
Honored Contributor II
250 Views
Altera_Forum
Honored Contributor II
250 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.

Altera_Forum
Honored Contributor II
250 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-use... 

--- 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!
Altera_Forum
Honored Contributor II
250 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-devi... 

 

 

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

 

Kind regards, 

tjd
Altera_Forum
Honored Contributor II
250 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-devi... 

 

 

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.
Reply