Altera_Forum
Honored Contributor
17 years agohow to write a override file?
hi,
when i use nios2-flash-programmer --base=0 --debug ,i get the CFI Table,and i copy the table to a overrride.txt file.when programmed ,it gives a report erase region don't match the device. and i revised the override.txt with [FLASH-00BF-2781]# Keyword FLASH, followed by the Mfgr ID and Device ID# These ID values can be found in three ways:# - by consulting the flash memory device's data sheet.# - by using the "autoselect" command# - by running nios2-flash-programmer --debug CFI[0x13] = 0x02# The primary command set, found at CFI table - CFI[0x14] = 0x00# addresses 0x13 and 0x14 are overridden to 0x02, 0x00. CFI[0x2C] = 0x01# The number of CFI Erase block regions, found at # CFI table –address 0x2C is overridden to 0x1. and it works when erase,but cannot programme the flash what is A override file format? is there any referrence?