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: Accessing Flash Memory on EB40A


On Mon, Jun 21, 2004 at 10:09:30AM -0700, Giri Raja wrote:
> Thanks Andrew. I did take a look at the code. So can I
> just use those APIs - flash_program and flash_erase in
> /packaes/io/flash/current/src/flash.c ?
> Should I also call the flash_init function?
> And finally regarding passing the addr parameter to
> the API, can I just pass the hex address? I'm also
> thinking of having redboot in the same flash.
>  
> Can someone please clarify on these.

I wrote some documentation about the flash API over the weekend. Do a
CVS up on at least packages/io/flash and doc/sgml. Then go into
doc/sgml and do 

make html. 

The new documentation will be in the table of contents. Hopefully it
answers all your questions.

        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]