Forum Discussion
Altera_Forum
Honored Contributor
10 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!