This is the mail archive of the ecos-discuss@sourceware.org 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] |
I found the other behaviour in the atmel dataflash implementation (current CVS tree).
In packages/devs/flash/atmel/dataflash/current/src/devs_flash_atmel_dataflash_flash_dev_funs.c:
In function df_flash_program() cyg_dataflash_program_buf(&priv->dev, 1, page, true)
In packages/devs/flash/atmel/dataflash/current/src/devs_flash_atmel_dataflash.c:
int cyg_dataflash_program_buf(cyg_dataflash_device_t *dev, cyg_uint8 buf_num, cyg_uint32 page_num, cyg_bool erase)
Hence for atmel dataflash the "erase" is always true.
-- Kind regards, Tarmo Kuuse
-- 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] |