Forum Discussion
Altera_Forum
Honored Contributor
11 years agoIt took me several weeks when I finally got to the solution of this. You should follow the instructions to use an override file in the nios2-flash-programmer documentation. Create a text file that has the following text:
[FLASH-89-7E] # Keyword FLASH, followed my mfg ID and device ID # This value was found by doing nios2-flash-programmer --debug CFI[0x23] = 0x03# Allow timeout of 8 times for writes CFI[0x24] = 0x05# Allow timeout of 32 times for buffered writes CFI[0x25] = 0x03# Allow timeout of 8 for block erase CFI[0x2A] = 0x06# Set flash to have only 6 bytes in multi-byte writ Then, give it a file name and you need to add the following switch when you use the nios2-flash-programmer command: --override=[filename.txt] I authored this override file and I got past my Numonyx flashing issue on at least 2 different circuit boards. There must be an issue with the way Numonyx vs Altera interprets the information in the CFI table of the FLASH as far as how to program the FLASH. But when I modified these 4 parameters, the flash programmer worked. Hope it works for you!. --- Quote Start --- Hello, Actually we have never been able to solve the issue :( Altera promised to us they would have a new version of the flash programmer that would allow accessing our flash (which was quoted as officially supported in the CFI flash interface user's guide), but we have never been able to access it ! If you find a solution we would be very interested. Regards, Pascal. --- Quote End ---