This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: delete from fis directory
- From: fazio at planetek dot it
- To: "David Lewin" <david dot lewin at europe-technologies dot com>, ecos-discuss at sources dot redhat dot com
- Date: Thu, 29 Jul 2004 11:39:29 +0200
- Subject: Re: [ECOS] delete from fis directory
Thanks for your reply,
My platform is a nec v850.
I wrote a server application able to listen for a connection from a client that can send
a file to upload on the board. After receiving the file and copying it in flash and
changing the fconfig, it reboots the platform executing the new application that must
delete the old.
It can delete the flash, but when it has to delete the image from fis directory, the
flash_program gives an error ("Driver timed out waiting for device").
My problem is: I would to delete the piece of fis directory containing the old apllication
info (flash_base, lenght, checksum,...) but I'm executing another application in the
flash.
I cannot erase the fis dir block because I'm executing another application, so how can
I delete only a piece of the fis dir?
Thanks
On 29 Jul 2004 at 11:24, David Lewin wrote:
> >From my point of view , an Atmel-like flash I mean,
> you can't as the minimum is a sector (or a block for some others)
>
> What is your device ?
> Why doing so ? even if you could, I'm not sure that you'll gain some time or
> lifecycle
>
>
> ----- Original Message -----
> From: <fazio@planetek.it>
> To: <ecos-discuss@sources.redhat.com>
> Sent: Thursday, July 29, 2004 10:58 AM
> Subject: [ECOS] delete from fis directory
>
>
> > Hi,
> > it is possible to delete an image from fis directory using only
> > flash_program to set the image to 0xff without erasing the entire
> > block with flash_erase?
> > Thanks
> >
> > --
> > Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> > and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
>
>
> --
> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss