--- Quote Start ---
originally posted by smcnutt@May 3 2006, 02:01 AM
hi mfm,
> > please post your flash configuration (and part numbers) and i'll see if there's one
> > i can recommend.
> my flash is an amd am29lv065d-120r 8 mb x 8 bits
you should be able to use the existing flash driver in board/altera/common/amdlv065d.c.
if you started with the ep1c20 configuration -- it would already be built for you. otherwise,
you need to include the driver in your build -- copy the file into your board directory and
add it to your makefile. then set the flash configuration macros in your configuration
header file. here are the settings from other boards that use 065d:
# define CFG_FLASH_BASE 0xWHATEVER /* FLASH base addr */# define CFG_FLASH_SIZE 0x00800000 /* 8 MByte */# define CFG_MAX_FLASH_SECT 128 /* Max# sects per bank */# define CFG_MAX_FLASH_BANKS 1 /* Max# of flash banks */# define CFG_FLASH_ERASE_TOUT 8000 /* Erase timeout (msec) */# define CFG_FLASH_WRITE_TOUT 100 /* Write timeout (msec) */# define CFG_FLASH_WORD_SIZE unsigned char /* flash word size */[/b]
Did I tell you (in some other thread) to stub-out flash_init? For some reason I thought you
were using an Altera stratix 2 development board -- which uses the LV128.
Regards,
--Scott
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=14968)
--- Quote End ---
[/b]
--- Quote End ---
Hi Scott,
you are right, I've been using a Stratix II board, but all I'm asking now for is for a Stratix Pro Edition 1s40