EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: send a file to IOC
From: Andrew Johnson <[email protected]>
To: "[email protected]" <[email protected]>, <[email protected]>
Date: Tue, 7 Apr 2015 13:38:15 -0500
On 04/07/2015 12:22 PM, [email protected] wrote:
> I'm developing a run control / slow control system with EPICS
> and a feature of this system is FPGA reprogramming by XSVF file;
> 
> is it possible to define a PV (or something else) in order to
> receive a binary file sent by remote (e.g. by CSS) ?

Eric Norum developed something like that for programming flash memory
chips through CA when he was working here at the APS. The IOC it ran on
didn't have a lot of RAM, so it comes with a CA client program that
writes the data file (in this case it expects S-record format) to a
waveform record on the IOC one flash page at a time. On the IOC side the
code is an Asyn Octet driver.

You can find the code for it in the mcf5282 module here:
  http://www.aps.anl.gov/epics/modules/instrument/mcf5282/index.html
Note that there is other stuff in this module which will not be relevant
to you, but studying the files in mcf5282Sup/src with flash in their
name might give you a good starting point. Send questions here.

- Andrew

-- 
Light thinks it travels faster than anything but it is wrong.
No matter how fast light travels, it finds the darkness has
always got there first, and is waiting for it.
    -- Terry Pratchett, Reaper Man

Replies:
Re: send a file to IOC [email protected]
RE: send a file to IOC austen.rose
References:
send a file to IOC [email protected]

Navigate by Date:
Prev: Re: send a file to IOC Mark Rivers
Next: Re: send a file to IOC [email protected]
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: send a file to IOC Mark Rivers
Next: Re: send a file to IOC [email protected]
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·