Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

R/W flash MEM M25P16, Need help.

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.

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

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

    It provides details on how to do what you want.