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: application update in fis


What I do is place the new application on a PC that has a TFTP server
running. The application then does a "GET" to retrieve the application in to
a RAM buffer. I then unlock the area of the FLASH where the application
resides, erase the area, write the new code, and the lock the are.
Lock/Unlock is not supported by all configurations so you may not need to do
the Lock/Unlock. After that is done, you could automatically reboot, or let
the user do it.

	Rick
 

-----Original Message-----
From: Gary Thomas [mailto:gary@mlbassoc.com] 
Sent: Monday, April 25, 2005 8:39 AM
To: Rini van Zetten
Cc: eCos Discussion
Subject: Re: [ECOS] application update in fis

On Mon, 2005-04-25 at 10:24 +0200, Rini van Zetten wrote:
> Hello list.
> 
> I have the following setup :
> 
>     - Redboot runs from an prom
>     - redboot script load application from fis and start it
> 
> 
> Now i want the application to write to fis to update to a newer 
> version. Is this possible ? or are ther other ways to do 'field' 
> updates

Currently the virtual vector interface (hal_if) only defines "get"
operations.  It should be possible to extend them to "put"
operations as well, but that would require some additions to both RedBoot
and the hdl_if code.

--
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------




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