Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

Size of EPCS memory?

i think it is 2Mbyte

but in system.h it is

# define EPCS_CONTROLLER_NAME "/dev/epcs_controller"# define EPCS_CONTROLLER_TYPE "altera_avalon_epcs_flash_controller"# define EPCS_CONTROLLER_BASE 0x0d003800

#define epcs_controller_span 2048 <<--- 2Kbyte????:confused:# define EPCS_CONTROLLER_IRQ 15# define EPCS_CONTROLLER_DATABITS 8

this makes my hardware+program code to be exceed the memory limit /???

how to solve this pls...

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    The EPCS is a serial (SPI) flash. As such, it cannot be treated like standard memory. The "span" you're seeing is for the epcs _controller_, not the EPCS _device_ :-)

    Cheers,

    - slacker