Forum Discussion
Altera_Forum
Honored Contributor
12 years agoalt_flash_open_dev() returns 0
I've been using a CFI flash, S29GL.... I'm able to access its contents through Memory read utility in the IDE, and also write into it correctly through Flash Programmer utility.. But, alt_fla...
Altera_Forum
Honored Contributor
12 years agoDid you call alt_flash_open_dev with the exact device name provided by system.h?
Memory read works since all CFI flash start in read mode and all have the same sram-like interface. Instead, alt_flash_open_dev() accesses the cfi specific functions and assumes you are targeting the correct device.