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  2015  2016  2017  2018  <20192020  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  <20192020 
<== Date ==> <== Thread ==>

Subject: Re: use CA Client in Xilinx MicroBlaze system
From: "Johnson, Andrew N. via Tech-talk" <tech-talk@aps.anl.gov>
To: 肖麟阁 <xiaolg@ihep.ac.cn>, "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Tue, 10 Sep 2019 14:58:34 +0000
Hi,

On 9/9/19 11:09 PM, 肖麟阁 wrote:
- To build EPICS base3.15 on a linux PC

- using cross compiler to build for a linux-microblaze system,and then i can get the libCa.a , libCom.a and cadef.h files from the "<EPICS base>/lib/<architecture>", then i can use these files to write a CA client ued for microblaze-based linux system.

is that right?

Pretty much. You don't actually need to extract the libraries and headers though since you can use the EPICS build system to cross-compile and link your application as well, then just copy the resulting program binary to your target system. You almost certainly want to set SHARED_LIBRARIES=NO in your CONFIG_SITE.Common.linux-microblaze file so you don't need to copy the libCa.so and libCom.so files to the target as well.

my problem are:

- the EPICS base used in other system is R3.14, if i build R3.15 and use some libs to write a CA client, i don't know if there are incompatibility problems on communicating(specially when using ca_get or ca_put) with R3.14.

You could build the linux-microblaze using a recent 3.14 rather than 3.15 if you prefer, there should be no difference in the result. However there are no incompatibilities between different versions of Base, 3.15 CA clients can talk to IOCs using versions of Base back to 3.12 (20 years ago) and vice versa.

- in the CONFIG.Common.linux-microblaze file, it tell me to clone the cross compiler from github to my PC, and then set the GNU_DIR to point to the un-tarred tool-chain;however, the website in this file is no longer existing, so i can't find a proper cross compiler. sorry it is not a EPICS problem, maybe i should find the lasted cross compiler on google. 

I expect the cross-compiler has been updated and moved, but I'm sure Xilinx must have a pointer to it somewhere. If you find it please let me know so I can update the comments in that file.

Good luck!

- Andrew

-- 
Complexity comes for free, Simplicity you have to work for.

Replies:
Re: Re: use CA Client in Xilinx MicroBlaze system 肖麟阁 via Tech-talk
Re: Re: use CA Client in Xilinx MicroBlaze system 肖麟阁 via Tech-talk
References:
use CA Client in Xilinx MicroBlaze system 肖麟阁 via Tech-talk
Re: use CA Client in Xilinx MicroBlaze system Johnson, Andrew N. via Tech-talk
Re: Re: use CA Client in Xilinx MicroBlaze system 肖麟阁 via Tech-talk

Navigate by Date:
Prev: RE: Driver for Smargon gniometer James.OHea--- via Tech-talk
Next: Re: Driver for Smargon gniometer Randall Cayford via Tech-talk
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  <20192020 
Navigate by Thread:
Prev: Re: Re: use CA Client in Xilinx MicroBlaze system 肖麟阁 via Tech-talk
Next: Re: Re: use CA Client in Xilinx MicroBlaze system 肖麟阁 via Tech-talk
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  <20192020 
ANJ, 11 Sep 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·