Re: [ECOS] devfs cyg_io_flash

2006-07-26 Thread Moussa Ba
I realized after sending the email, however, I should be able to do an open("/dev/flash1",O_WRONLY); and use the standard file io operation on the flash? I am referring to Chapter 29 of the ecos ref manual Moussa Chapter 29. FLASH I/O devices *Table of Contents* Overview and CDL Configurati

Re: [ECOS] devfs cyg_io_flash

2006-07-26 Thread Nick Garnett
"Moussa A. Ba" <[EMAIL PROTECTED]> writes: > I am able to successfully read and write from y ATMEL dataflash using > cyg_io_read cyg_io_program I am attempting to use the devfs from > CYGPKG_IO_FILEIO but I am encountering some difficulty. I have > selected the option to provide a block devic

[ECOS] devfs cyg_io_flash

2006-07-25 Thread Moussa A. Ba
I am able to successfully read and write from y ATMEL dataflash using cyg_io_read cyg_io_program I am attempting to use the devfs from CYGPKG_IO_FILEIO but I am encountering some difficulty. I have selected the option to provide a block device from the flash driver such that my device is h