Forum Discussion
Altera_Forum
Honored Contributor
21 years agoCFI Flash Reset Command
I'm using the NIOS HAL CFI routines to access (read/write) an AMD FLASH. Looking at the waveforms, the HAL routines send the QUERY MODE command to the FLASH (write 0x98 to address 0x55) the...
Altera_Forum
Honored Contributor
21 years agoActually the Spec http://www.amd.com/us-en/assets/content_ty...ets/cfi_r20.pdf (http://www.amd.com/us-en/assets/content_type/downloadableassets/cfi_r20.pdf) is ambiguous, version 2.0 of the CFI specification states that the command to return to read array mode can be 0xFF or 0XF0. A quick fix for you is to change the value of the# define READ_ARRAY_MODE in the file altera_avalon_flash_table.c