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: flash block device /dev/flash1 question


On Fri, 2003-05-09 at 15:26, HG wrote:
> Hi All
> 
> there is a configuration option for /dev/flash1 in the generic
> CYGPKG_IO_FLASH ,  but is there a test example available to use the api ?
> 

RedBoot.  Honestly, it's the most extensive use of the interfaces.

> 
>  How is the handle obtained prior to writing or reading ??? The file
> flashiodev.c  has a commented out flashiodev_lookup
> to get a handle ?

At this time, the more generic FLASH interface (aka flashiodev)
is not implemented.  If you want to access the flash, use the
direct routines, like flash_init(), flash_program_buf(), etc.

-- 
Gary D. Thomas <gary.thomas@mind.be>


-- 
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]