This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Re: Re: Redboot


> > How is the flash  attached to
> > the data bus?
> attached to processor through chip select cs0.
> > Is it a 16 bit device or a 32 bit device?
> 16 bit 
> > How is the
> > flash driver configured?
> #define CYGNUM_FLASH_INTERLEAVE (1)
> #define CYGNUM_FLASH_SERIES     (1)
> #define CYGNUM_FLASH_WIDTH      (16)
>  CYGHWR_DEVS_FLASH_MXC_NOR,CYGHWR_DEVS_FLASH_MXC_NAND and CYGHWR_DEVS_FLASH_MXC_MULTI are enabled
 
Does the CPU know you have a 16 bit device connected to its 32 bit
data bus? Maybe you need to set the MMU up to allow this?

Also, have you tried Gary's suggestion. Force all reads to go through
the flash API, not direct from memory with a memcpy?

    Andrew
 

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]