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  <20162017  2018  2019  2020  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020 
<== Date ==> <== Thread ==>

Subject: Re: mrfioc2 loading error at vxWorks 6.9
From: Andrew Johnson <anj@aps.anl.gov>
To: Michael Davidsaver <mdavidsaver@gmail.com>, 김지화(빔라인장치팀) <jihkim@postech.ac.kr>
Cc: EPICS tech-talk <tech-talk@aps.anl.gov>
Date: Fri, 8 Jan 2016 14:07:48 -0600
On 01/08/2016 12:18 PM, Michael Davidsaver wrote:
> I think the second runtime error indicates that your vxWorks BSP does
> not have a mapping setup for the VME CR/CSR address space.  As I've only
> used rtems and linux I can't help with resolving this.
> 
> @Andrew/Eric, This seems to be a common issue w/ vxWorks, is there some
> published instructions for adding a csr window?
> 
>> -> mrmEvgSetupVME("EVG1",2,0x180000,  3,0x26)
>> value = -1 = 0xffffffff
>> -> filename="../../../src/libCom/osi/devLibVME.c" line number=175
>> unable to map address VME CR/CSR bus address =0X100000
>>
>> Failed to map slot 2 to CR/CSR address 0x00100000
>> No EVG in slot 2

I incorporated Eric Bjorklund's changes that provide CR/CSR support to
the APS mv6100 BSP back in 2008, but we don't seem to have ever
published them on tech-talk before now. He gave a presentation about it
at the June 2006 EPICS Collaboration meeting though, which you can find
at the link below. I believe all the devlib and EPICS Base changes were
applied soon after, so it should only be necessary to make the changes
described to the BSP.

http://www.aps.anl.gov/epics/meetings/2006-06/RecDevDrv_Support/Support_for_CR-CSR_Addressing.pdf

- Andrew

-- 
There are only two hard problems in distributed systems:
  2. Exactly-once delivery
  1. Guaranteed order of messages
  2. Exactly-once delivery
 -- Mathias Verraes

References:
Fwd: Re: mrfioc2 loading error at vxWorks 6.9 Michael Davidsaver

Navigate by Date:
Prev: Re: Can I override record definition twice in an IOC Andrew Johnson
Next: terminal server/serial server/console management switch recommendations? Maren Purves
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020 
Navigate by Thread:
Prev: Fwd: Re: mrfioc2 loading error at vxWorks 6.9 Michael Davidsaver
Next: Re: mrfioc2 loading error at vxWorks 6.9 Bjorklund, Eric A
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020 
ANJ, 15 Jul 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·