This is the mail archive of the ecos-discuss@sources.redhat.com 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]

Re: delete from fis directory


looks like you should change the amount of your flash wait states, or
wathchdog time out
----- Original Message ----- 
From: <fazio@planetek.it>
To: "david Lewin" <david.lewin@europe-technologies.com>;
<ecos-discuss@sources.redhat.com>
Sent: Thursday, July 29, 2004 12:34 PM
Subject: Re: [ECOS] delete from fis directory


>
> ------- Forwarded message follows -------
> From:           fazio@planetek.it
> To:             "David Lewin" <david.lewin@europe-technologies.com>,
>   ecos-discuss@sources.redhat.com
> Date sent:      Thu, 29 Jul 2004 12:02:55 +0200
> Priority:       normal
> Subject:        Re: [ECOS] delete from fis directory
>
> [ Double-click this line for list subscription options ]
>
> The problem is that the application is executed in RAM, but it seems that
an access
> on its reference in flash generates the error "Driver timed out waiting
for device".
> Thanks
>
> On 29 Jul 2004 at 11:59, David Lewin wrote:
>
> > Did I understood well :
> > - you need to update the new config by erasing the old.
> > - the old is in use
> >
> > A solution could be to load the application executed in flash in RAM,
just
> > during the update time.
> >
> > ----- Original Message ----- 
> > From: <fazio@planetek.it>
> > To: "David Lewin" <david.lewin@europe-technologies.com>;
> > <ecos-discuss@sources.redhat.com>
> > Sent: Thursday, July 29, 2004 11:39 AM
> > 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
> >
> >
> > -- 
> > 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
> ------- End of forwarded message -------
>
> -- 
> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]