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

R/W flash MEM M25P16, Need help.

Altera_Forum
Honored Contributor II
972 Views

I need to know how to read and write to a Flash device from my FPGA code. 

The ST Microelectronics M25P16-VMF6P can be used as non-volatile memory, which what I need to save user settings. 

 

Can you PLEASE help by send me VHDL code examples of how to R/W to that device? While it is working as boot device as well to the C II FPGA, how to read/write to its vacant area? 

 

Although I don't know much about Verliog, but I am open to sample code as well, I will learn Verilog for it. 

 

I appreciate your help and Guide. 

Thanks.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
230 Views

Please search for the ASMI megafunction usermanual in the altera.com website. 

 

It provides details on how to do what you want.
0 Kudos
Reply