[ECOS] flash block device /dev/flash1 question

Gary D. Thomas gary.thomas@mind.be
Fri May 9 21:35:00 GMT 2003


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



More information about the Ecos-discuss mailing list