An issue has been identified with the 11.1sp2 Nios® II Flash device drivers which is observed when connecting to a Numonyx™ M29EW family device. There is an incorrect definition of the READ_ARRAY_MODE constant for the flash driver, which for AMD™-compatible devices could cause the driver to not exit correctly from reading the CFI table.
To resolve this issue for use with AMD-compatible flash devices, modify the BSP driver file "drivers\src\altera_avalon_cfi_clash_table.c", and define the value of READ_ARRAY_MODE to 0xF0, replacing the existing definition of 0xFF:
#define READ_ARRAY_MODE (alt_u8)0xF0
This issue shall be resolved in a future version of the Nios II peripheral drivers.