From 2cbe305866dbda09fc0e9fcdcda66576336d009a Mon Sep 17 00:00:00 2001 From: timmmooney <mooney@aps.anl.gov> Date: Fri, 7 May 2010 19:43:29 +0000 Subject: [PATCH] Load FPGA content, loaded msi'd database, instead of using dbLoadTemplate. --- iocBoot/iocvxWorks/softGlue.cmd | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/iocBoot/iocvxWorks/softGlue.cmd b/iocBoot/iocvxWorks/softGlue.cmd index 12d0f08..9e3233b 100644 --- a/iocBoot/iocvxWorks/softGlue.cmd +++ b/iocBoot/iocvxWorks/softGlue.cmd @@ -1,6 +1,10 @@ # BEGIN softGlue.cmd ---------------------------------------------------------- # This must run after industryPack.cmd # +# Write content to the FPGA +# initIP_EP200_FPGA(ushort_t carrier, ushort_t slot, char *filename) +initIP_EP200_FPGA(0, 2, "$(SOFTGLUE)/db/EP200_FPGA.hex") + # Each instance of a fieldIO_registerSet component is initialized as follows: # #int initIp1k125(const char *portName, ushort_t carrier, ushort_t slot, @@ -24,12 +28,13 @@ initIp1k125("sg_out1",0,2,0,0x101, 0x10 ,0x81,0,0) initIp1k125SingleRegisterPort("SOFTGLUE", 0, 2) + # Load a single database that all database fragments supporting single-register # components can use to show which signals are connected together. This # database is not needed for the functioning of the components, it's purely # for the user interface. -dbLoadRecords("$(SOFTGLUE)/softGlueApp/Db/softGlue_SignalShow.db","P=xxx:,H=softGlue:") +dbLoadRecords("$(SOFTGLUE)/db/softGlue_SignalShow.db","P=xxx:,H=softGlue:") # Load a set of database fragments for each single-register component. -dbLoadTemplate("softGlue.substitutions") +dbLoadRecords("$(SOFTGLUE)/db/softGlue_FPGAContent.db", "P=xxx:,H=softGlue:,PORT=SOFTGLUE") # END softGlue.cmd ------------------------------------------------------------ -- GitLab