Altera_Forum
Honored Contributor
17 years agoNo support for CFI algorithm 1793 on 16 bit flash
hi,
When i program the sst39vf160 nor flash in NiosIDE , a problem happend:No CFI Table found at address .... i search the help doc and serch internet ,i find that the override file is needed,so i use nios2-flashprogrammer --debug --base=0 and the consol prints the flash 's CFI table ,and reprogram flash by the arg( override file), and it told me that "CFI erase region definitions don't match device size" below is my override file: [FLASH-00BF-235B] CFI[0x10] = 0x0051 CFI[0x11] = 0x0052 CFI[0x12] = 0x0059 CFI[0x13] = 0x0001 CFI[0x14] = 0x0007 CFI[0x15] = 0x0000 CFI[0x16] = 0x0000 CFI[0x17] = 0x0000 CFI[0x18] = 0x0000 CFI[0x19] = 0x0000 CFI[0x1a] = 0x0000 CFI[0x1b] = 0x0027 CFI[0x1c] = 0x0036 CFI[0x1d] = 0x0000 CFI[0x1e] = 0x0000 CFI[0x1f] = 0x0003 CFI[0x20] = 0x0000 CFI[0x21] = 0x0004 CFI[0x22] = 0x0005 CFI[0x23] = 0x0001 CFI[0x24] = 0x0000 CFI[0x25] = 0x0001 CFI[0x26] = 0x0001 CFI[0x27] = 0x0016 CFI[0x28] = 0x0001 CFI[0x29] = 0x0000 CFI[0x2a] = 0x0000 CFI[0x2b] = 0x0000 CFI[0x2c] = 0x0002# CFI[0x2c] = 0x0001 CFI[0x2d] = 0x00ff CFI[0x2e] = 0x0003 CFI[0x2f] = 0x0010 CFI[0x30] = 0x0000 CFI[0x31] = 0x003f CFI[0x32] = 0x0000 CFI[0x33] = 0x0000 CFI[0x34] = 0x0001# CFI[0x35] = 0x00ff CFI[0x36] = 0x00ff CFI[0x37] = 0x00ff CFI[0x38] = 0x00ff CFI[0x39] = 0x00ff CFI[0x3a] = 0x00ff CFI[0x3b] = 0x0007 CFI[0x3c] = 0x0002 CFI[0x3d] = 0x0011 CFI[0x3e] = 0x00ff CFI[0x3f] = 0x00ff CFI[0x40] = 0x00ff CFI[0x41] = 0x00ff CFI[0x42] = 0x00ff CFI[0x43] = 0x00ff