This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
flash erase and bootblocks
- From: Will Wagner <will_wagner at carallon dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Mon, 09 May 2005 10:41:17 +0100
- Subject: [ECOS] flash erase and bootblocks
Hi All,
I have a question about support for smaller bootblock sectors when
erasing/programming flash.
I have a driver for AMD AM29DL323D flash chips all working nicely. These
chips have 8 smaller sectors at the beginning of flash.
The erase and program routines in flash_am29xxxx.inl have support for
the smaller bootblocks. However the flash_erase function in flash.c
doesn't support the bootblocks so if I try to erase just one of the
smaller sectors it erases all of them at once.
Anyone got any suggestions on how to get round this? Otherwise I guess
I'll have to alter flash_erase to suit my needs.
Mnay thanks,
Will Wagner
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss