Forum Discussion
Altera_Forum
Honored Contributor
11 years agomax10 on chip flash read/write in nios
hi everone, for two weeks i stuck in the max10 on chip flash read/write in nios. in my project, it has a nios system and the clk frequency is 100mHz. i want to use the internal configuration mod...
Altera_Forum
Honored Contributor
11 years ago --- Quote Start --- Hi, Have you try to erase before write? Typical CPLD and flash require erase operation before write. Thus you need to disable write protect and erase first before write to UFM1. Try setting CSR to 0x001fffff or 0xff1fffff to disable write protect and erase for UFM1. --- Quote End --- thank you very much! i stuck in this problem for 2 weeks! i erase the UFM1, then the wrie success. then i repower the board, and write to the UFM1 without erase, and it success too. so it seems like the UFM only should be eased at the first time,. thanks!