Martin, thank you.
According to the user manual which you send to me and the J1 jumper of
hardware, the base address of Avme9670 should be set to 0xFC00. So it's ok
now for using ipacAddAvme96XX("0xFC00,5 A=2,0x800000") .
LIU Ping
----------------------------------------------------------------------------
-----------
: Martin L. Smith [mailto:[email protected]]
: 2014-4-29 18:14
: LiuP; [email protected]
: Re: Acromag avme9670
Hi LIU Ping,
Looks like the line:
ipacAddAvme96XX("0x2000,5 A=2,800000")
I think that you just need to change the second parameter to a 4 since the
carrier only has 4 slots.
should be:
ipacAddAvme96XX("0x2000,4 A=2,0x800000")
This means that your carrier A16 base address is 0x2000, you have 4 IP
slots, slot A is configured for 2 MB of memory space, and that your soft
glue address is 0x800000. Then you should see something like this from
ipacReport:
C0 S1 : 0xb3/0x2a
ID = 0xd2006180, I/O = 0xd2006100
Also I think you should move your ipacReport line to after where you load
soft glue since this actually loads the code into the FPGA on the IP module.
this way ipacReport is more useful.
I have attached the Acromag carrier user manual for yous well. It looks like
your address jumpers are correct.
See if that helps,
Marty
On 04/28/2014 08:55 PM, LiuP wrote:
> Hi,
>
> With the carrier board AVME9670 and one IP card IP-EP201, I try to run
> the application of softGlue.
>
> The software version:
>
> EPICS_BASE=/BLC/epics/base3.14.12
>
> SOFTGLUE=$(SUPPORT)/softGlue-2-3
>
> ASYN=$(SUPPORT)/asyn-4-21
>
> IPAC=$(SUPPORT)/ipac-2-11
>
> BUSY=$(SUPPORT)/busy-1-4
>
> The output of st.cmd, the error is remarked in red:
>
> Executing startup script
/home/blctrl/Acromag_EP201/iocBoot/iocEP201/st.cmd ...
>
> ## Example vxWorks startup file
>
> ## The following is needed if your board support package doesn't at
> boot time
>
> ## automatically cd to the directory containing its startup script
>
> cd "/home/blctrl/Acromag_EP201/iocBoot/iocEP201"
>
> value = 0 = 0x0
>
> < cdCommands
>
> startup = "/home/blctrl/Acromag_EP201/iocBoot/iocEP201"
>
> new symbol "startup" added to symbol table.
>
> startup = 0x1ef26cd0: value = 519204080 = 0x1ef26cf0 = startup + 0x20
>
> putenv("ARCH=vxWorks-ppc604_long")
>
> value = 0 = 0x0
>
> putenv("IOC=iocEP201")
>
> value = 0 = 0x0
>
> top = "/home/blctrl/Acromag_EP201"
>
> new symbol "top" added to symbol table.
>
> top = 0x1ef26990: value = 519203792 = 0x1ef26bd0 = top + 0x240
>
> putenv("TOP=/home/blctrl/Acromag_EP201")
>
> value = 0 = 0x0
>
> topbin = "/home/blctrl/Acromag_EP201/bin/vxWorks-ppc604_long"
>
> new symbol "topbin" added to symbol table.
>
> topbin = 0x1ef268c0: value = 519203040 = 0x1ef268e0 = topbin + 0x20
>
> support = "/BLC/epics/support"
>
> new symbol "support" added to symbol table.
>
> support = 0x1ef26840: value = 519202912 = 0x1ef26860 = support + 0x20
>
> putenv("SUPPORT=/BLC/epics/support")
>
> value = 0 = 0x0
>
> softglue = "/BLC/epics/support/softGlue-2-3"
>
> new symbol "softglue" added to symbol table.
>
> softglue = 0x1ef26760: value = 519202688 = 0x1ef26780 = softglue +
> 0x20
>
> putenv("SOFTGLUE=/BLC/epics/support/softGlue-2-3")
>
> value = 0 = 0x0
>
> asyn = "/BLC/epics/support/asyn-4-21"
>
> new symbol "asyn" added to symbol table.
>
> asyn = 0x1ef26660: value = 519202432 = 0x1ef26680 = asyn + 0x20
>
> putenv("ASYN=/BLC/epics/support/asyn-4-21")
>
> value = 0 = 0x0
>
> asynbin = "/BLC/epics/support/asyn-4-21/bin/vxWorks-ppc604_long"
>
> new symbol "asynbin" added to symbol table.
>
> asynbin = 0x1ef26540: value = 519202144 = 0x1ef26560 = asynbin + 0x20
>
> ipac = "/BLC/epics/support/ipac-2-11"
>
> new symbol "ipac" added to symbol table.
>
> ipac = 0x1ef264c0: value = 519202016 = 0x1ef264e0 = ipac + 0x20
>
> putenv("IPAC=/BLC/epics/support/ipac-2-11")
>
> value = 0 = 0x0
>
> busy = "/BLC/epics/support/busy-1-4"
>
> new symbol "busy" added to symbol table.
>
> busy = 0x1ef263c0: value = 519201760 = 0x1ef263e0 = busy + 0x20
>
> putenv("BUSY=/BLC/epics/support/busy-1-4")
>
> value = 0 = 0x0
>
> epics_base = "/BLC/epics/base"
>
> new symbol "epics_base" added to symbol table.
>
> epics_base = 0x1ef262d0: value = 519201520 = 0x1ef262f0 = epics_base +
> 0x20
>
> putenv("EPICS_BASE=/BLC/epics/base")
>
> value = 0 = 0x0
>
> epics_basebin = "/BLC/epics/base/bin/vxWorks-ppc604_long"
>
> new symbol "epics_basebin" added to symbol table.
>
> epics_basebin = 0x1ef261e0: value = 519201280 = 0x1ef26200 =
> epics_basebin + 0x20
>
> #< ../nfsCommands
>
> cd topbin
>
> value = 0 = 0x0
>
> ## You may have to change EP201 to something else
>
> ## everywhere it appears in this file
>
> ld 0,0, "EP201.munch"
>
> BSP routine sysAtReboot() not found, epicsExit() will not be
>
> called by reboot. For reduced functionality, call
>
> rebootHookAdd(epicsExitCallAtExits)
>
> value = 519203312 = 0x1ef269f0 = top + 0x60
>
> ## Register all support components
>
> cd top
>
> value = 0 = 0x0
>
> dbLoadDatabase "dbd/EP201.dbd"
>
> value = 0 = 0x0
>
> EP201_registerRecordDeviceDriver pdbbase
>
> value = 0 = 0x0
>
> ## Load record instances
>
> #dbLoadTemplate "db/user.substitutions"
>
> #dbLoadRecords "db/dbSubExample.db", "user=blctrl"
>
> ## Set this to see messages from mySub
>
> #mySubDebug = 1
>
> ## Run this to trace the stages of iocInit
>
> #traceIocInit
>
> ipacAddAvme96XX("0x2000,5 A=2,800000")
>
> value = 0 = 0x0
>
> ipacReport(2)
>
> IP Carrier 0: Acromag AVME-96xx, 4 slots
>
> C0 S0 : No Module
>
> ID = 0xf0f02080, I/O = 0xf0f02000, Mem = 0xf0700000
>
> C0 S1 : No Module
>
> ID = 0xf0f02180, I/O = 0xf0f02100
>
> C0 S2 : No Module
>
> ID = 0xf0f02280, I/O = 0xf0f02200
>
> C0 S3 : No Module
>
> ID = 0xf0f02380, I/O = 0xf0f02300
>
> value = 0 = 0x0
>
> drvIP_EP201Debug=1
>
> drvIP_EP201Debug = 0x1ebfe7e4: value = 1 = 0x1
>
> initIP_EP200_FPGA(0, 0, "$(SOFTGLUE)/softGlueApp/Db/SoftGlue_2_2.hex")
>
> initIP_EP200_FPGA: bad carrier or slot
>
> value = -1 = 0xffffffff
>
> cd startup
>
> value = 0 = 0x0
>
> # < softGlue.cmd
>
> iocInit
>
> Starting iocInit
>
> ######################################################################
> ######
>
> ## EPICS R3.14.12.2 $Date: Mon 2011-12-12 14:09:32 -0600$
>
> ## EPICS Base built Apr 9 2012
>
> ######################################################################
> ######
>
> WARNING: OS Clock time was read before being set.
>
> Using 1990-01-02 00:00:00.000000 UTC
>
> iocRun: All initialization complete
>
> value = 0 = 0x0
>
> ## Start any sequence programs
>
> #seq &sncExample, "user=blctrl"
>
> Done executing startup script
> /home/blctrl/Acromag_EP201/iocBoot/iocEP201/st.cmd
>
> ->
>
> Why no module is been found?
>
> No user manual in the package of acromag hardware, and also fail to
> download the manual.
>
> Without documents, how can I make sure the carrier board has configured
successful?
>
> The parameters of ipacAddAvme96XX("0x2000,5 A=2,800000") is imitated
> according to the drvXy9660.c
>
> Any suggest to me is welcome!
>
> LIU Ping
>
> Beamline Contrl Group, SSRF
>
> No. 239 Zhangheng Road, Pudong, Shanghai
>
- Navigate by Date:
- Prev:
Re: asyn vxi11 problem Eric Norum
- Next:
cannot run medm rightly on ubuntu 13.04 ahwwq
- 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: Acromag avme9670 Martin L. Smith
- Next:
cannot run medm rightly on ubuntu 13.04 ahwwq
- 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
|