ok,
thanks a lot for your suggestions and links;
I'm starting to study this solution;
Regards,
Gennaro
On Tue, 7 Apr 2015, Andrew Johnson wrote:
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
--
Gennaro Tortone
INFN Napoli
Italy
tel: +39 81 676169
"Computer Science is no more about computers
than astronomy is about telescopes."
- Edsger Dijkstra
- References:
- send a file to IOC [email protected]
- Re: send a file to IOC Andrew Johnson
- Navigate by Date:
- Prev:
Re: send a file to IOC Andrew Johnson
- Next:
RE: send a file to IOC austen.rose
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
<2015>
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: send a file to IOC Andrew Johnson
- Next:
RE: send a file to IOC austen.rose
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
<2015>
2016
2017
2018
2019
2020
2021
2022
2023
2024
|