Forum Discussion
Altera_Forum
Honored Contributor
21 years agoHello,
Now I got Nios II 1.0.1 from my distributor. I saw the additions for using a 16-bit flash in 8-bit mode in the source code of the CFI components but it didn’t worked too. After inserting a reset command before sending the query command (“altera_avalon_cfi_flash_table.c”, line 439) all is working fine. Here are my additions: /* * Check for 8/16 bit in byte wide mode */ // Reset the device IOWR_8DIRECT(flash->dev.base_addr, 0x00, 0xF0); alt_write_flash_command_16bit_device_8bit_mode(flash->dev.base_addr, 0x55, QUERY_MODE); Thanks for Nios II 1.0.1! Bye, niosIIuser