This is the mail archive of the ecos-discuss@sources.redhat.com 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: intel J flash problem


Ka Chun, Cheng wrote:
> hello,
>   I'm not too sure about the CYGNUM_FLASH_BASE_MASK parameter in strata
> flash support package.
> what value should it be, if my flash is 16M in size, and starting at 0x1000
> 0000? what's the defination of this mask...

If you look in, say,
devs/flash/intel/28fxxx/current/include/flash_28fxxx_parts.inl you'll see
that the base_mask there is very consistently defined.

The definition would be: the mask you need to AND with an address to get
the device base.

Jifl
-- 
eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[  can rejoice because thorns have roses." -Lincoln   ]-- Opinions==mine


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


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