Forum Discussion
Altera_Forum
Honored Contributor
16 years ago@ sanmao
i don't think that is the problem. he wrote --- Quote Start --- Verify failed at offset 60000 Verify failed at offset 80000 Verify failed at offset C0000 --- Quote End --- and there is no verify failed at A0000 for me it looks at the first sight as if the external write protect is not set as some flash blocks are written, but some flash blocks can't be written to. with cfi flash it is possible to lock individual flash blocks (regions) against overwriting and if the user want's to modify them, he needs to unlock these flash blocks. as fas as i know the nios 2 flash programmer does not check for locked flash blocks or even unlock them. i had one cfi flash that had locked blocks but the application never had the knowledge to lock them (reason was emc disturbance) did you try to erase the complete flash ?nios2-flash-programmer --erase-all .... and check if the failed locations still hold the previous content.