Forum Discussion
Altera_Forum
Honored Contributor
11 years agoBy a# define MACRO in altera_avalon_cfi_flash.h : #define ALTERA_AVALON_CFI_FLASH_INSTANCE(name, dev) ...
(fd -> length) takes information from the system.h <-- generated by BSP <-- generated with QSYS <-- flash information "embeddedsw.CMacro.SIZE" in "module_assignement" when editing the flash component in Qsys Editor. So, (fd -> length) does NOT take information from CFI flash. I put here because It may help someone else debugging.