Forum Discussion
6 Replies
- Altera_Forum
Honored Contributor
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
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/ - Altera_Forum
Honored Contributor
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
--- 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! - Altera_Forum
Honored Contributor
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 - Altera_Forum
Honored Contributor
--- 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.