EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: gtr1-2 for SIS3301 DMA error.
From: "Kiman Ha" <[email protected]>
To: <[email protected]>
Cc: <[email protected]>, "Marty Kraimer" <[email protected]>
Date: Mon, 8 Mar 2004 09:27:14 +0900
Andraw wrote:

>Oops, I didn't realize I was using that routine here - add this function
>somewhere, I have it in sysLib.c:

The compile and loding was success!
But the trigger from "FP gate enabled", DMA error messages occur.

file : drvSisfadc.c
function : readContiguous()
Error Message : Can't perform DMA: S_errno_EFAULT


STATIC void readContiguous(sisInfo *psisInfo,
    gtrchannel *phigh,gtrchannel *plow,uint32 *pmemory,
    int nmax,int *nskipHigh, int *nskipLow)
{

                    .............

                    if(epicsDmaFromVmeAndWait(psisInfo->dmaId,
                                   psisInfo->dmaBuffer,
                                   (unsigned long)(pmemory + ind),
                                   VME_AM_EXT_SUP_ASCENDING,
                                   nnow*sizeof(long),
                                   sizeof(long)) != 0) {
                        printf("Can't perform DMA: %s\n", strerror(errno));
                        psisInfo->dmaId = NULL;
                        psisInfo->dmaBuffer[dmaInd] = pmemory[ind];
                    }


}


Kiman Ha,
PLS Control and Electronics taskforce team



[email protected] wrote:

  I have BSP compile errors, when the added univDma.c.



c:\Tornado2.2\target\proj\Prj_sis3301\default\C:\Tornado2.2\target\config\mv
5100\univDma.c :240: undefined reference to `sysLocalToPciAdrs'

Oops, I didn't realize I was using that routine here - add this function
somewhere, I have it in sysLib.c:




Navigate by Date:
Prev: Re: SDDSepics compile problem with 3.14.5 Ernest L. Williams Jr.
Next: RE: SDDSepics compile problem with 3.14.5 Hammonds, John P.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: SDDSepics compile problem with 3.14.5 Hammonds, John P.
Next: EtherNet/IP for AB SLC5/05 PLC. Kiman Ha
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·