Forum Discussion
Altera_Forum
Honored Contributor
15 years agoURGENT: Flash memory
Hello. I am doing a project regarding DMA. However I need to use flash memory on the DE2 Board. I have done the instantiation for the flash but I cannot use because it always return zero for the func...
Altera_Forum
Honored Contributor
15 years agoThanks for the reply.
This is part of the code from system.h --- Quote Start --- /* * ext_flash configuration * */ # define EXT_FLASH_NAME "/dev/ext_flash"# define EXT_FLASH_TYPE "altera_avalon_cfi_flash"# define EXT_FLASH_BASE 0x01100000# define EXT_FLASH_SPAN 1048576# define EXT_FLASH_SETUP_VALUE 45# define EXT_FLASH_WAIT_VALUE 160# define EXT_FLASH_HOLD_VALUE 35# define EXT_FLASH_TIMING_UNITS "ns"# define EXT_FLASH_UNIT_MULTIPLIER 1# define EXT_FLASH_SIZE 1048576# define ALT_MODULE_CLASS_ext_flash altera_avalon_cfi_flash --- Quote End --- 1. Yes, I tried before using the Control Panel from the CD. 2. How to manually test the flash? Sorry cause I am starting from zero, so I am very new in this. 3. I tried that before but I dont know how to place breakpoint then step into it, so I dont have any luck in this. Please assist. Thanks.