public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] delete from fis directory
@ 2004-07-29  9:39 fazio
  2004-07-29  9:54 ` David Lewin
  0 siblings, 1 reply; 7+ messages in thread
From: fazio @ 2004-07-29  9:39 UTC (permalink / raw)
  To: ecos-discuss

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ECOS] delete from fis directory
  2004-07-29  9:39 [ECOS] delete from fis directory fazio
@ 2004-07-29  9:54 ` David Lewin
  2004-07-29 10:02   ` fazio
  0 siblings, 1 reply; 7+ messages in thread
From: David Lewin @ 2004-07-29  9:54 UTC (permalink / raw)
  To: fazio, ecos-discuss

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ECOS] delete from fis directory
  2004-07-29  9:54 ` David Lewin
@ 2004-07-29 10:02   ` fazio
  2004-07-29 10:03     ` David Lewin
  0 siblings, 1 reply; 7+ messages in thread
From: fazio @ 2004-07-29 10:02 UTC (permalink / raw)
  To: David Lewin, ecos-discuss

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ECOS] delete from fis directory
  2004-07-29 10:02   ` fazio
@ 2004-07-29 10:03     ` David Lewin
  2004-07-29 10:34       ` fazio
  0 siblings, 1 reply; 7+ messages in thread
From: David Lewin @ 2004-07-29 10:03 UTC (permalink / raw)
  To: fazio, ecos-discuss

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ECOS] delete from fis directory
  2004-07-29 10:03     ` David Lewin
@ 2004-07-29 10:34       ` fazio
  0 siblings, 0 replies; 7+ messages in thread
From: fazio @ 2004-07-29 10:34 UTC (permalink / raw)
  To: David Lewin, ecos-discuss

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ECOS] delete from fis directory
  2004-07-29 12:25 fazio
@ 2004-07-29 15:11 ` David Lewin
  0 siblings, 0 replies; 7+ messages in thread
From: David Lewin @ 2004-07-29 15:11 UTC (permalink / raw)
  To: fazio, ecos-discuss

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ECOS] delete from fis directory
@ 2004-07-29 12:25 fazio
  2004-07-29 15:11 ` David Lewin
  0 siblings, 1 reply; 7+ messages in thread
From: fazio @ 2004-07-29 12:25 UTC (permalink / raw)
  To: david Lewin, ecos-discuss


------- 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-07-29 12:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-29  9:39 [ECOS] delete from fis directory fazio
2004-07-29  9:54 ` David Lewin
2004-07-29 10:02   ` fazio
2004-07-29 10:03     ` David Lewin
2004-07-29 10:34       ` fazio
2004-07-29 12:25 fazio
2004-07-29 15:11 ` David Lewin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).