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  <20182019  2020  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  <20182019  2020 
<== Date ==> <== Thread ==>

Subject: VME configuration : MVME6100 can not map slot x to CR/CSR
From: 유진성 <jsyu@dawonsys.com>
To: <tech-talk@aps.anl.gov>
Date: Sat, 26 May 2018 00:00:34 +0900 (KST)

Hello


This question is about configuration of VME-EVG-230 or not.


Before I use mrfioc2 and devLib2, I didn't change configuration of any pins(GAP*, GA*) on VME-EVG-230.

I'm not sure that I have to change pins(GAP* and GA*) to load VME-EVG-230 on MVME6100(CPU) or not.


anyways, I made software environment successfully. there were no error during compiling.

but, I run EPICS IOC. And then I got problem.


figure 1. trouble

""



At that time, mrmEvgSetupVME() can't find EVG on my VME Crate.

I typed the collect CS/CSR starting Address that is based on MVME6100 reference manual.


figure 2. CR/CSR slave address for MVME6100



I can't find what is problem(software configuration or hardware setting).


I'm newbie for VME platform. please, check my log and answer me.


I'll wait for your reply


best regards,




P.S


Software environment, Hardware environment and log are below:


======software======

- linux : 2.6.20

- BSP : zImage.initrd.6100.2620.rm01 for MVME6100 from EMERSON

- devLib2 : 2.9

- epics : 3.14.12-rc1

- mfrioc2 : 2.2.0


=====Hardware=====

- VME crate : VME 64x

- CPU : MVME6100

- EVR : VME-EVR-230

- EVG : VME-EVG-230


=====log=======

-bash-3.2# ../../bin/linux-ppc74xx/mrf st.cmd

#!../../bin/linux-x86/nsls2evgMrm

< envPaths

epicsEnvSet("ARCH","linux-ppc74xx")

epicsEnvSet("IOC","iocevgmrm")

epicsEnvSet("TOP","/usr/local/epics/base/modules/instrument/mrfioc2-2.2.0/")

epicsEnvSet("EPICS_BASE","/usr/local/epics/base")

cd /usr/local/epics/base/modules/instrument/mrfioc2-2.2.0

## Register all support components

#dbLoadDatabase("/usr/local/epics/base/modules/instrument/mrfioc2-2.2.0/dbd/mrf.dbd")

dbLoadDatabase("dbd/mrf.dbd")

mrf_registerRecordDeviceDriver(pdbbase)

Warning: IOC is booting with TOP = "/usr/local/epics/base/modules/instrument/mrfioc2-2.2.0/"

          but was built with TOP = "/usr/local/epics/R3.14.12-rc1/modules/instrument/mrfioc2-2.2.0"

epicsEnvSet("ENGINEER","Jayesh Shah")

epicsEnvSet("LOCATION","Blg 902 Rm 28")

bspExtVerbosity=0

st.cmd -- Line 14 -- Command bspExtVerbosity=0 not found.

#mrmEvgSetupVME (

#    const char*   id,                // EVG card ID

#    epicsInt32    slot,              // VME slot

#    epicsUInt32   vmeAddress,        // Desired VME address in A24 space

#    epicsInt32    irqLevel           // IRQ Level

#    epicsInt32    irqVector,         // Desired interrupt vector number

#)

mrmEvgSetupVME(EVG1, 4, 0x200000, 4, 0xC0)

pdevLibVME is NULL

Failed to map slot 4 to CR/CSR address 0x00200000

No EVG in slot 4

## Load record instances

dbLoadRecords("db/vme-evg230.db", "SYS=TST, D=evg:1, EVG=EVG1")

# BNL specific timing sequence constructor

#dbLoadRecords("db/nsls2-inj-seqs.db","LN=LN-TS, BR=BR-TS, INJ=TST, EVG=evg:1, SEQ=SoftSeq:0")

dbLoadRecords("db/iocAdminRTEMS.db", "IOC=mrftest")

filename="../dbLexRoutines.c" line number=243

No such file or directory dbRead opening file db/iocAdminRTEMS.db

# Auto save/restore

# save_restoreDebug(2)

# dbLoadRecords("db/save_restoreStatus.db", "P=mrftest:")

# save_restoreSet_status_prefix("mrftest:")

# set_savefile_path("{mnt}/as","/save")

# set_requestfile_path("{mnt}/as","/req")

# set_pass0_restoreFile("mrf_settings.sav")

# set_pass0_restoreFile("mrf_values.sav")

# set_pass1_restoreFile("mrf_values.sav")

# set_pass1_restoreFile("mrf_waveforms.sav")

iocInit()

Starting iocInit

############################################################################

## EPICS R3.14.12-rc1 $Date: Mon 2010-11-15 13:59:06 -0600$

## EPICS Base built May 15 2018

############################################################################


==END==




Replies:
Re: VME configuration : MVME6100 can not map slot x to CR/CSR Michael Davidsaver

Navigate by Date:
Prev: Re: benchtop testbeds for EPICS development and testing? Jiro Fujita
Next: Re: CSS BOY or Display Builder ready-to-run binary? J. Lewis Muir
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  <20182019  2020 
Navigate by Thread:
Prev: RE: Re: Installation of RTEMS and EPICS on MVME6100 유진성
Next: Re: VME configuration : MVME6100 can not map slot x to CR/CSR Michael Davidsaver
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  <20182019  2020 
ANJ, 28 May 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·