Forum Discussion
Altera_Forum
Honored Contributor
21 years ago --- Quote Start --- originally posted by rugbybloke@Dec 8 2004, 05:10 AM kwokwong,
i'm afraid your diagnosis is incorrect,
the system.h snippet shows that you have a cfi flash in your system, not an epcs. that would require a snippet like
# define epcs_controller_name "/dev/epcs_controller"# define epcs_controller_type "altera_avalon_epcs_flash_controller"# define epcs_controller_base 0x02100000# define epcs_controller_irq 5# define epcs_controller_databits 8# define epcs_controller_targetclock 20# define epcs_controller_clockunits "mhz"
do you have one of these in your system? --- Quote End --- Thanks rugbybloke. I did confuse the external flash with the flash connected to the EPCS controller. I can now 'open' the /dev/epcs_controller device to read the flash! Regards, Kwok Wong