Forum Discussion
Altera_Forum
Honored Contributor
13 years agoyes, you can use your flash memory, i did it.
you must use 3 "components": Flash_generic_tristate_controller ^ | | tristate_conduit_pin_sharer ^ | | tristate conduit bridge It has been explained in an Altera PDF : look around Qsys and tristated component, be carfull of versions, make sure that you read for versions > 10.0 www.altera.com/literature/hb/qts/qsys_interconnect.pdf Unfortunately, you have to edit you custom Flash component http://www.altera.com/literature/ug/ug_embedded_ip.pdf 4. Common Flash Interface Controller Core When you edit your flash component, you must add by hand the lines in {I don't remember} Is memory device=1 Parameter=embeddedsw.configuration.hwClassnameDriverSupportList,embeddedsw.CMacro.SUPPORTS_FLASH_FILE_SYSTEM Value=altera_avalon_lan91c111:altera_avalon_cfi_flash,1 and in a place just below Parameter=embeddedsw.configuration.isMemoryDevice,embeddedsw.configuration.isPrintableDevice,embeddedsw.configuration.isNonVolatileStorage Value=1,0,1 Please have a look with legacy CFI Flash component already present. I spent 2 weeks to partially understand that and finally get my board work by "just working, don't touch ;-)" (no good work, no warranty) I post here MY file with absolutely NO WARRANTY EDIT : Make sure that your Qsys system is in your directory project (no subdirectory) : I posted on an ohter post for that inconvenient. Don't use space or "__" (double underscore) in your name, all lowercase (to avoid probable case sensitivity) EDIT 2 : For software (exactly BSP Board Support Package) That is not all :-P:-P:-P In Qsys-edit, you must tell that your component is a Flash by opting for the "good driver" in a drop down list. EDIT 3 : We like difficulties :p hope it can help you and if you succeed, make us aware.