Forum Discussion
Altera_Forum
Honored Contributor
18 years agoAbout "alt_flash_open_dev" and CFI table
hi, when i use function "alt_flash_open_dev" to open a CFI, i can't get the correct base address which i set in SOPC. and i'm sure i have already include the relative head files.I don't know why.And ...
Altera_Forum
Honored Contributor
18 years agohi,oucchina.i include following head files in my program. what's yours?
# include "system.h"# include "sys/altera_avalon_pio_regs.h"# include "alt_types.h"# include "sys/alt_flash.h"# include "sys/alt_flash_dev.h"# include "stdio.h"# include "string.h"# include "altera_avalon_cfi_flash.h"